Skip to content

Commit 1d81ad8

Browse files
authored
Merge pull request #122 from twuni/ci/setup-basic-ci
ci: setup GitHub Actions CI
2 parents 524a0a9 + ced33bf commit 1d81ad8

File tree

2 files changed

+41
-15
lines changed

2 files changed

+41
-15
lines changed

.circleci/config.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
# GitHub Actions Workflows Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
3+
name: CI
4+
"on":
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- "**"
11+
workflow_dispatch:
12+
concurrency:
13+
group: ${{ github.event_name }}-${{ github.ref }}-${{ github.workflow }}
14+
cancel-in-progress: true
15+
permissions: read-all
16+
jobs:
17+
helm-lint:
18+
name: Helm Lint
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 10
21+
steps:
22+
- uses: actions/[email protected]
23+
- run: |
24+
helm lint --strict
25+
integration-stest:
26+
name: Integration Test
27+
runs-on: ubuntu-latest
28+
timeout-minutes: 10
29+
steps:
30+
- uses: actions/[email protected]
31+
- uses: AbsaOSS/[email protected]
32+
name: Create K3D Cluster with Container Registry
33+
with:
34+
cluster-name: local-ci-k3d-cluster
35+
args: >-
36+
--agents 1
37+
--registry-create local-ci-k3d-registry
38+
- name: Test
39+
run: |
40+
helm install docker-registry . --wait --wait-for-jobs
41+
kubectl get all,pvc

0 commit comments

Comments
 (0)