-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from rancher/full-update
(feat) Bump dependencies to k8s 1.32.X
- Loading branch information
Showing
148 changed files
with
5,199 additions
and
4,476 deletions.
There are no files selected for viewing
File renamed without changes.
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 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,76 @@ | ||
name : Integration test | ||
|
||
permissions: | ||
contents : read | ||
|
||
on: | ||
workflow_call: | ||
push: | ||
branches: | ||
- main | ||
- release/v[0-9]+.(0|x) | ||
- release/v[0-9]+.[0-9]+.[0-9]+ | ||
paths-ignore: | ||
- 'docs/**' | ||
- '*.md' | ||
- '.gitignore' | ||
- 'CODEOWNERS' | ||
- 'LICENSE' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- '*.md' | ||
- '.gitignore' | ||
- 'CODEOWNERS' | ||
- 'LICENSE' | ||
|
||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
arch: | ||
- x64 | ||
- arm64 | ||
K3S_VERSION : | ||
- v1.30.9-k3s1 | ||
- v1.32.1-k3s1 | ||
name : integration-test | ||
runs-on : runs-on,image=ubuntu22-full-${{ matrix.arch }},runner=4cpu-linux-${{ matrix.arch }},run-id=${{ github.run_id }} | ||
steps: | ||
- name : Checkout repository | ||
uses : actions/checkout@v4 | ||
- name: Install go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.23 | ||
- name : Install helm | ||
uses: azure/setup-helm@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name : Install k3d | ||
run : ./.github/workflows/e2e/scripts/install-k3d.sh | ||
- name : Setup test environment | ||
run : | | ||
CLUSTER_NAME=test-cluster K3S_VERSION=${{ matrix.K3S_VERSION }} ./.github/workflows/e2e/scripts/setup-cluster.sh | ||
k3d kubeconfig get test-cluster > kubeconfig.yaml | ||
- name : Debug kubeconfig | ||
run : cat kubeconfig.yaml | ||
- name : Build helm-project-operator | ||
run : BUILD_TARGET=helm-project-operator ./scripts/build | ||
- name : Validate build | ||
run : ./scripts/validate-ci | ||
- name : Package helm-project-operator | ||
run : | | ||
BUILD_TARGET=helm-project-operator ./scripts/package | ||
BUILD_TARGET=helm-project-operator source ./scripts/version | ||
k3d image import -c test-cluster $IMAGE | ||
- name : Debug k3d images | ||
run : docker exec k3d-test-cluster-server-0 crictl images | ||
- name : Run e2e tests | ||
run : | | ||
KUBECONFIG=$KUBECONFIG ./scripts/integration | ||
env: | ||
KUBECONFIG: ${{ github.workspace }}/kubeconfig.yaml |
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.