Skip to content

Commit

Permalink
update libraries & dependencies to k8s 1.32
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lamarre <[email protected]>

add updated helm-locker

Signed-off-by: Alexandre Lamarre <[email protected]>

add updated helm-project-operator

Signed-off-by: Alexandre Lamarre <[email protected]>

Add node identification to internal package

Signed-off-by: Alexandre Lamarre <[email protected]>

Add internal helmcommon package to manage crds

Signed-off-by: Alexandre Lamarre <[email protected]>

update helm-locker to use shared crds abstraction

Signed-off-by: Alexandre Lamarre <[email protected]>

update helm-project-operator to use shared crds abstraction

Signed-off-by: Alexandre Lamarre <[email protected]>

update older sub-packages

Signed-off-by: Alexandre Lamarre <[email protected]>

update main functions

slightly rework crd management

Signed-off-by: Alexandre Lamarre <[email protected]>

update go generate targets

Signed-off-by: Alexandre Lamarre <[email protected]>

update to go 1.23

run go mod tidy

Signed-off-by: Alexandre Lamarre <[email protected]>

update golangci-lint

Signed-off-by: Alexandre Lamarre <[email protected]>

remove internal go sub modules

Signed-off-by: Alexandre Lamarre <[email protected]>

update controller & crd generation

Signed-off-by: Alexandre Lamarre <[email protected]>

Run go generate

Signed-off-by: Alexandre Lamarre <[email protected]>

update helm-project-operator with new generated code

Signed-off-by: Alexandre Lamarre <[email protected]>

fix crd generation path

Signed-off-by: Alexandre Lamarre <[email protected]>

tweak test labels

Signed-off-by: Alexandre Lamarre <[email protected]>

run go generate

Signed-off-by: Alexandre Lamarre <[email protected]>

update images to go 1.23

Signed-off-by: Alexandre Lamarre <[email protected]>

simplify dev scripts

Signed-off-by: Alexandre Lamarre <[email protected]>

remove dapper from Makefile

Signed-off-by: Alexandre Lamarre <[email protected]>

[WIP] simplify CI

Signed-off-by: Alexandre Lamarre <[email protected]>

vendor chart data in public package

Signed-off-by: Alexandre Lamarre <[email protected]>

update integration workflow again

Signed-off-by: Alexandre Lamarre <[email protected]>

use upstream helm during image builds

Signed-off-by: Alexandre Lamarre <[email protected]>

[WIP] importing images for integration CI

Signed-off-by: Alexandre Lamarre <[email protected]>

fix integration testing

Signed-off-by: Alexandre Lamarre <[email protected]>

[temp] disable validate-ci

Signed-off-by: Alexandre Lamarre <[email protected]>

lint fixes

Signed-off-by: Alexandre Lamarre <[email protected]>

Add back deprecated flag logic

Signed-off-by: Alexandre Lamarre <[email protected]>

remove unecessary CI stuff

Signed-off-by: Alexandre Lamarre <[email protected]>

update helm-project-operator build-chart destination

Signed-off-by: Alexandre Lamarre <[email protected]>

make crd management consistent with existing flags and add tests

Signed-off-by: Alexandre Lamarre <[email protected]>

update unit test command to exclude integration tests

Signed-off-by: Alexandre Lamarre <[email protected]>

Add helm-project-operator chart to examples dir

Signed-off-by: Alexandre Lamarre <[email protected]>

update path for HPO chart in integration tests

Signed-off-by: Alexandre Lamarre <[email protected]>

revert public pkg/chart package

Signed-off-by: Alexandre Lamarre <[email protected]>

vendor correct helm-controller dependencies

Signed-off-by: Alexandre Lamarre <[email protected]>

update wrangler/go toolchain

Signed-off-by: Alexandre Lamarre <[email protected]>

remove helm-locker e2e CI

Signed-off-by: Alexandre Lamarre <[email protected]>

bump rancher/klipper-helm to v0.9.4-build20250113

Signed-off-by: Alexandre Lamarre <[email protected]>

add KUBECONFIG to version script

Signed-off-by: Alexandre Lamarre <[email protected]>

add back embedded controller name logic

Signed-off-by: Alexandre Lamarre <[email protected]>
  • Loading branch information
alexandreLamarre committed Feb 3, 2025
1 parent 57444ba commit 42c87d9
Show file tree
Hide file tree
Showing 182 changed files with 5,587 additions and 4,830 deletions.
File renamed without changes.
41 changes: 0 additions & 41 deletions .github/workflows/hl-ci.yaml

This file was deleted.

63 changes: 0 additions & 63 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.

97 changes: 0 additions & 97 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.28.9-k3s1
- v1.31.4-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 42c87d9

Please sign in to comment.