Skip to content

Commit

Permalink
Merge pull request #141 from rancher/full-update
Browse files Browse the repository at this point in the history
(feat) Bump dependencies to k8s 1.32.X
  • Loading branch information
alexandreLamarre authored Feb 26, 2025
2 parents 5ffb997 + 4894f1d commit 568fd7d
Show file tree
Hide file tree
Showing 148 changed files with 5,199 additions and 4,476 deletions.
File renamed without changes.
41 changes: 0 additions & 41 deletions .github/workflows/hl-ci.yaml

This file was deleted.

70 changes: 0 additions & 70 deletions .github/workflows/hl-e2e.yaml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/hpo-ci.yaml

This file was deleted.

98 changes: 0 additions & 98 deletions .github/workflows/hpo-e2e-ci.yaml

This file was deleted.

76 changes: 76 additions & 0 deletions .github/workflows/integration.yaml
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
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: v1.56
version: v1.62
Loading

0 comments on commit 568fd7d

Please sign in to comment.