Merge pull request #124 from baznikin/main #50
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
--- | |
# GitHub Actions Workflows Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | |
name: CI | |
"on": | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "**" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.event_name }}-${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
helm-lint: | |
name: Helm Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/[email protected] | |
- run: | | |
helm lint --strict | |
integration-stest: | |
name: Integration Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/[email protected] | |
- uses: AbsaOSS/[email protected] | |
name: Create K3D Cluster with Container Registry | |
with: | |
cluster-name: local-ci-k3d-cluster | |
args: >- | |
--agents 1 | |
--registry-create local-ci-k3d-registry | |
- name: Test | |
run: | | |
helm install docker-registry . --wait --wait-for-jobs | |
kubectl get all,pvc |