Skip to content

feat(drift-detection): add periodic drift detection to all controller… #259

feat(drift-detection): add periodic drift detection to all controller…

feat(drift-detection): add periodic drift detection to all controller… #259

Workflow file for this run

name: Test Chart
on:
push:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'charts/**'
- 'Makefile'
pull_request:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'charts/**'
- 'Makefile'
jobs:
test-e2e:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v5
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install the latest version of kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-$(go env GOARCH)
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
- name: Verify kind installation
run: kind version
- name: Create kind cluster
run: kind create cluster
- name: Prepare axonops-operator
run: |
go mod tidy
make docker-build IMG=axonops-operator:test
kind load docker-image axonops-operator:test
- name: Install Helm
run: make install-helm
- name: Lint Helm Chart
run: |
helm lint ./charts/axonops-operator
- name: Install cert-manager via Helm (wait for readiness)
run: |
helm upgrade --install cert-manager oci://quay.io/jetstack/charts/cert-manager \
--namespace cert-manager \
--create-namespace \
--set crds.enabled=true \
--wait \
--timeout 300s
- name: Deploy manager via Helm
run: |
make helm-deploy IMG=axonops-operator:test
- name: Check Helm release status
run: |
make helm-status