-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): use mise to manage tools dependencies (#17)
* feat(ci): use mise to manage tools dependencies * chore: add link to mise in output when failing to find it --------- Co-authored-by: Jintao Zhang <[email protected]> Co-authored-by: Jakub Warczarek <[email protected]>
- Loading branch information
1 parent
0efa16e
commit 5e5c6f6
Showing
21 changed files
with
100 additions
and
4,798 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 |
---|---|---|
|
@@ -32,6 +32,10 @@ jobs: | |
with: | ||
go-version-file: go.mod | ||
|
||
- uses: jdx/mise-action@v2 | ||
with: | ||
install: false | ||
|
||
- name: run lint | ||
env: | ||
# Our .golangci.yaml has fix: true, but we don't want that in CI therefore the below override. | ||
|
@@ -51,6 +55,10 @@ jobs: | |
with: | ||
go-version-file: go.mod | ||
|
||
- uses: jdx/mise-action@v2 | ||
with: | ||
install: false | ||
|
||
- name: Verify manifests consistency | ||
run: make verify.manifests | ||
|
||
|
@@ -77,6 +85,10 @@ jobs: | |
- name: Create k8s KinD Cluster | ||
uses: helm/[email protected] | ||
|
||
- uses: jdx/mise-action@v2 | ||
with: | ||
install: false | ||
|
||
- name: Verify installing CRDs via kustomize works | ||
run: make install | ||
|
||
|
@@ -117,6 +129,10 @@ jobs: | |
with: | ||
go-version-file: go.mod | ||
|
||
- uses: jdx/mise-action@v2 | ||
with: | ||
install: false | ||
|
||
- name: run unit tests | ||
run: make test.unit | ||
env: | ||
|
@@ -189,6 +205,10 @@ jobs: | |
with: | ||
go-version-file: go.mod | ||
|
||
- uses: jdx/mise-action@v2 | ||
with: | ||
install: false | ||
|
||
- name: run integration tests | ||
run: make test.integration | ||
env: | ||
|
@@ -238,6 +258,10 @@ jobs: | |
with: | ||
go-version-file: go.mod | ||
|
||
- uses: jdx/mise-action@v2 | ||
with: | ||
install: false | ||
|
||
- name: run integration tests | ||
run: make test.integration_bluegreen | ||
env: | ||
|
@@ -285,6 +309,10 @@ jobs: | |
with: | ||
go-version-file: go.mod | ||
|
||
- uses: jdx/mise-action@v2 | ||
with: | ||
install: false | ||
|
||
- name: run integration tests | ||
run: make test.integration_provision_dataplane_fail | ||
env: | ||
|
@@ -331,6 +359,10 @@ jobs: | |
TAG: e2e-${{ github.sha }} | ||
run: make docker.build | ||
|
||
- uses: jdx/mise-action@v2 | ||
with: | ||
install: false | ||
|
||
- name: run e2e tests | ||
run: make test.e2e | ||
env: | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[env] | ||
|
||
MISE_DATA_DIR='bin/' |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
code-generator: "0.29.1" | ||
controller-tools: "0.14.0" | ||
kustomize: "5.3.0" | ||
golangci-lint: "1.56.1" | ||
skaffold: "2.3.1" | ||
dlv: "1.22.0" | ||
operator-sdk: "1.23.0" | ||
yq: "4.34.1" | ||
gotestsum: "1.11.0" | ||
crd-ref-docs: "0.0.11" |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.