forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use sha for sandbox image (flyteorg#266)
* Always use sha for sandbox image Signed-off-by: Yuvraj <[email protected]> * Upgrade go 1.17 Signed-off-by: Yuvraj <[email protected]>
- Loading branch information
1 parent
8c6868d
commit 426841b
Showing
20 changed files
with
427 additions
and
195 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 |
---|---|---|
|
@@ -6,8 +6,8 @@ on: | |
- master | ||
|
||
jobs: | ||
build: | ||
name: Run tests and lint | ||
dry-run-goreleaser: | ||
name: Dry Run Goreleaser | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -22,23 +22,55 @@ jobs: | |
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' | ||
go-version: '1.17' | ||
- name: Run GoReleaser dry run | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
version: latest | ||
args: --snapshot --skip-publish --rm-dist | ||
|
||
unit-test: | ||
name: Run unit test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: "2" | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
- name: Unit Tests | ||
env: | ||
GO111MODULE: "on" | ||
CI_ENV: "true" | ||
GITHUB_TOKEN: ${{ secrets.FLYTE_BOT_PAT }} | ||
run: make install && make test_unit_without_flag | ||
- name: Push CodeCov | ||
uses: codecov/[email protected] | ||
with: | ||
file: coverage.txt | ||
flags: unittests | ||
fail_ci_if_error: true | ||
|
||
|
||
lint: | ||
name: Run Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: "2" | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
- name: Lint | ||
env: | ||
GO111MODULE: "on" | ||
|
@@ -50,6 +82,6 @@ jobs: | |
- uses: actions/checkout@v1 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' | ||
go-version: '1.17' | ||
- name: Go generate and diff | ||
run: DELTA_CHECK=true make generate |
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
flytectl/cmd/config/subcommand/sandbox/config_flags_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.