This repository has been archived by the owner on Jan 12, 2023. It is now read-only.
generated from cruise-automation/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dustin Decker <[email protected]>
- Loading branch information
1 parent
54bbbcd
commit 4527109
Showing
1 changed file
with
30 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|