-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from twuni/ci/setup-basic-ci
ci: setup GitHub Actions CI
- Loading branch information
Showing
2 changed files
with
41 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
# 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 |