Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
smoke test
Browse files Browse the repository at this point in the history
Signed-off-by: Dustin Decker <[email protected]>
  • Loading branch information
dustin-decker committed Mar 5, 2020
1 parent 54bbbcd commit 4527109
Showing 1 changed file with 30 additions and 20 deletions.
50 changes: 30 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,36 @@ jobs:
- name: Benchmark
run: GO111MODULE=on CGO_ENABLED=0 go test -benchmem -run=^$ github.com/cruise-automation/k-rail/server -bench .

# lint:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# go-version: [1.13.x]

# steps:

# - name: Set up Go ${{ matrix.go-version }}
# uses: actions/setup-go@v1
# with:
# go-version: ${{ matrix.go-version }}

# - name: Check out code into the Go module directory
# uses: actions/checkout@v1

# - name: Lint
# uses: matoous/[email protected]
# # with:
# # config: .golangci.yml
smoke:
strategy:
matrix:
go-version: [1.13.x]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Run chart-testing (lint)
id: lint
uses: helm/[email protected]
with:
command: lint

- name: Create kind cluster
uses: helm/[email protected]
with:
install_local_path_provisioner: true
# Only build a kind cluster if there are chart changes to test.
if: steps.lint.outputs.changed == 'true'

- name: Run chart-testing (install)
uses: helm/[email protected]
with:
command: install

- name: Wait for k-rail to come up
run: |
kubectl wait --for=condition=available --timeout=1800s deployment/k-rail -n k-rail
build:
strategy:
Expand Down

0 comments on commit 4527109

Please sign in to comment.