Skip to content

Cleanup kustomize and add release namespace to helm #53

Cleanup kustomize and add release namespace to helm

Cleanup kustomize and add release namespace to helm #53

Workflow file for this run

name: golangci-lint
on:
pull_request:
paths:
- '**.go'
permissions:
contents: read
checks: write
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
args: --timeout=5m --verbose
test-helm:
name: Test Helm Chart
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: debianmaster/actions-k3s@master
id: k3s
with:
version: 'v1.21.2-k3s1'
- name: Build docker images
run: IMG=operator:99.99.99 make docker-build
- name: Generate yaml files
run: |
make helm path=release version=99.99.99
- run: |
k3s ctr images import
kubectl get nodes
cd release
helm template my-test --namespace test . > test.yaml
kubectl wait --namespace test --for=create deployment my-test-shopware-operator --timeout=120s