This repository was archived by the owner on Jan 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +30
-20
lines changed Expand file tree Collapse file tree 1 file changed +30
-20
lines changed Original file line number Diff line number Diff line change @@ -41,26 +41,36 @@ jobs:
4141 - name : Benchmark
4242 run : GO111MODULE=on CGO_ENABLED=0 go test -benchmem -run=^$ github.com/cruise-automation/k-rail/server -bench .
4343
44- # lint:
45- # runs-on: ubuntu-latest
46- # strategy:
47- # matrix:
48- # go-version: [1.13.x]
49-
50- # steps:
51-
52- # - name: Set up Go ${{ matrix.go-version }}
53- # uses: actions/setup-go@v1
54- # with:
55- # go-version: ${{ matrix.go-version }}
56-
57- # - name: Check out code into the Go module directory
58- # uses: actions/checkout@v1
59-
60- # - name: Lint
61- # uses: matoous/golangci-lint-action@v1.1.0
62- # # with:
63- # # config: .golangci.yml
44+ smoke :
45+ strategy :
46+ matrix :
47+ go-version : [1.13.x]
48+ runs-on : ubuntu-latest
49+
50+ steps :
51+ - uses : actions/checkout@master
52+
53+ - name : Run chart-testing (lint)
54+ id : lint
55+ uses : helm/chart-testing-action@v1.0.0-alpha.3
56+ with :
57+ command : lint
58+
59+ - name : Create kind cluster
60+ uses : helm/kind-action@v1.0.0-alpha.3
61+ with :
62+ install_local_path_provisioner : true
63+ # Only build a kind cluster if there are chart changes to test.
64+ if : steps.lint.outputs.changed == 'true'
65+
66+ - name : Run chart-testing (install)
67+ uses : helm/chart-testing-action@v1.0.0-alpha.3
68+ with :
69+ command : install
70+
71+ - name : Wait for k-rail to come up
72+ run : |
73+ kubectl wait --for=condition=available --timeout=1800s deployment/k-rail -n k-rail
6474
6575 build :
6676 strategy :
You can’t perform that action at this time.
0 commit comments