File tree Expand file tree Collapse file tree 4 files changed +15
-55
lines changed
Expand file tree Collapse file tree 4 files changed +15
-55
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,11 @@ jobs:
2020 with :
2121 fetch-depth : 0
2222
23- - name : Set up Go
24- uses : actions/setup-go@v4
25- with :
26- go-version-file : " go.mod"
27- cache : true
23+ - uses : jetify-com/devbox-install-action@a03caf5813591bc882139eba6ae947930a83a427 # tag=v0.11.0
2824
2925 - name : Run tests
3026 run : |
31- make test
27+ devbox run -- make test
3228
3329
3430 release :
4137 with :
4238 fetch-depth : 0
4339
40+ - uses : jetify-com/devbox-install-action@a03caf5813591bc882139eba6ae947930a83a427 # tag=v0.11.0
41+
4442 - name : Set up QEMU
4543 uses : docker/setup-qemu-action@v3
4644
5149 username : ${{ github.actor }}
5250 password : ${{ secrets.GITHUB_TOKEN }}
5351
54- - name : Set up Go
55- uses : actions/setup-go@v4
56- with :
57- go-version-file : " go.mod"
58- cache : true
59-
6052 # To be compatible with ENVs in 'make build'. Used in '.goreleaser.yaml'
6153 - name : Get SHA that triggered release
6254 run : |
@@ -75,15 +67,13 @@ jobs:
7567 - name : Build release manifests
7668 run : |
7769 rm -rf config/release
78- make manifest-build
70+ devbox run -- make manifest-build
7971
8072 - name : Make release
81- uses : goreleaser/goreleaser-action@v5
82- with :
83- version : v1.17.2
84- args : release
8573 env :
8674 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
75+ run :
76+ goreleaser release
8777
8878 - name : Container metadata
8979 id : meta
Original file line number Diff line number Diff line change 1414 with :
1515 fetch-depth : 0
1616
17- - name : Set up Helm
18- uses : azure/setup-helm@v3
19- with :
20- version : v3.11.2
21-
22- - name : Set up python
23- uses : actions/setup-python@v4
24- with :
25- python-version : 3.9
17+ - uses : jetify-com/devbox-install-action@a03caf5813591bc882139eba6ae947930a83a427 # tag=v0.11.0
2618
2719 - name : Setup Chart Linting
2820 id : lint
6355 if : steps.list-changed.outputs.changed == 'true'
6456
6557 # Check CRD update
66-
67- - name : Set up Go
68- uses : actions/setup-go@v4
69- with :
70- go-version-file : " go.mod"
71- cache : true
72-
7358 # Build release manifests and test against chart versions
7459 - name : Check CRD status
7560 run : |
7661 rm -rf config/release
77- make manifest-build
62+ devbox run -- make manifest-build
7863 diff -q config/release/crds.yaml charts/bifrost-gateway-controller/crds/crds.yaml
Original file line number Diff line number Diff line change @@ -12,37 +12,22 @@ jobs:
1212 with :
1313 fetch-depth : 0
1414
15- - name : Set up Go
16- uses : actions/setup-go@v4
17- with :
18- go-version-file : " go.mod"
19- cache : true
20-
21- - name : Install KIND
22- uses : helm/kind-action@v1.8.0
23- with :
24- install_only : true
25-
26- - name : Install GoReleaser
27- uses : goreleaser/goreleaser-action@v5
28- with :
29- version : latest
30- install-only : true
15+ - uses : jetify-com/devbox-install-action@a03caf5813591bc882139eba6ae947930a83a427 # tag=v0.11.0
3116
3217 - name : Build controller and container
3318 run : |
34- make build docker-build
19+ devbox run -- make build docker-build
3520
3621 - name : Setup E2E KIND cluster
3722 run : |
38- make setup-e2e-test-cluster wait-ready-external-dns-test
23+ devbox run -- make setup-e2e-test-cluster wait-ready-external-dns-test
3924
4025 - name : Deploy controller to cluster
4126 run : |
42- make install cluster-load-controller-image deploy
27+ devbox run -- make install cluster-load-controller-image deploy
4328 # Wait for controller to be ready - this allows for short and concise test timeouts
4429 until kubectl -n bifrost-gateway-controller-system wait pods -lcontrol-plane=controller-manager --for condition=Ready --timeout=120s ; do echo "."; sleep 1; done
4530
4631 - name : Run E2E test suite
4732 run : |
48- make e2e-test
33+ devbox run -- make e2e-test
Original file line number Diff line number Diff line change 2323 - name : Verify release manifests without changes
2424 run : |
2525 rm -rf config/release
26- make manifest-build
26+ devbox run -- make manifest-build
2727 git status --porcelain
2828 if [[ -z `git status --porcelain` ]]; then echo "No repo changes"; else echo "Repo have unexpected changes"; exit 1; fi
2929
You can’t perform that action at this time.
0 commit comments