-
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.
Bump k3s to v1.24.8, gateway use traefik by default (#100)
simplify the makefile target
- Loading branch information
Showing
11 changed files
with
224 additions
and
55 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 |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
echo ::set-output name=ARCH::${TARGETS#*/} | ||
- name: Build | ||
run: | | ||
OS=${{ steps.get_matrix.outputs.OS }} ARCH=${{ steps.get_matrix.outputs.ARCH }} make ${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }} | ||
make ${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }} | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -45,26 +45,50 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
needs: [ build-artifact ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.19 | ||
- name: Install ginkgo | ||
run: go install github.com/onsi/ginkgo/[email protected] | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: velad-linux-amd64 | ||
- run: chmod u+x velad-linux-amd64 && mv velad-linux-amd64 velad | ||
- run: sudo ./velad install | ||
- run: sudo vela def list | ||
- run: sudo vela addon enable /root/.vela/addons/velaux | ||
- run: | | ||
chmod u+x velad-linux-amd64 && mv velad-linux-amd64 velad | ||
sudo ./velad install | ||
sudo chmod a+r $(./velad kubeconfig --host) | ||
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=vela-core --timeout=180s -n vela-system --kubeconfig=$(./velad kubeconfig --host) | ||
sudo vela addon enable /root/.vela/addons/velaux | ||
- name: Run e2e test | ||
run: ginkgo -v ./test/e2e-test | ||
test-darwin: | ||
runs-on: macos-12 | ||
needs: [ build-artifact ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.19 | ||
- name: Install ginkgo | ||
run: go install github.com/onsi/ginkgo/[email protected] | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: velad-darwin-amd64 | ||
- name: Setup Docker | ||
uses: docker-practice/[email protected] | ||
- run: chmod u+x velad-darwin-amd64 && mv velad-darwin-amd64 velad | ||
- run: ./velad install | ||
- run: vela def list | ||
- run: vela addon enable ~/.vela/addons/velaux | ||
- run: | | ||
chmod u+x velad-darwin-amd64 && mv velad-darwin-amd64 velad | ||
./velad install | ||
export KUBECONFIG=$(./velad kubeconfig --host) | ||
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=vela-core --timeout=180s -n vela-system | ||
vela addon enable ~/.vela/addons/velaux | ||
# TODO(qiaozp): fix the issue of e2e test on darwin | ||
# - name: Run e2e test | ||
# run: ginkgo -v ./test/e2e-test | ||
|
||
# test-linux-arm64: | ||
# runs-on: ubuntu-20.04 | ||
# needs: [ build-artifact ] | ||
|
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
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.