Add Drone CI

This commit is contained in:
Khue Doan 2021-06-27 02:28:36 +07:00
parent 7d380f2ed4
commit 51ae701dd8
No known key found for this signature in database
GPG Key ID: 4C1A90A461B3C27B
3 changed files with 45 additions and 0 deletions

View File

@ -10,7 +10,10 @@ resources:
- resources/nginx.yaml
- resources/node-problem-detector.yaml
- resources/prometheus.yaml
# Operation
- resources/vault.yaml
- resources/drone.yaml
- resources/drone-kube-runner.yaml
# Applications
- resources/gitea.yaml
- resources/wireguard.yaml

View File

@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: drone-kube-runner
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
name: in-cluster
namespace: drone
source:
repoURL: https://charts.drone.io
chart: drone-kube-runner
targetRevision: 0.1.5
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

21
apps/resources/drone.yaml Normal file
View File

@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: drone
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
name: in-cluster
namespace: drone
source:
repoURL: https://charts.drone.io
chart: drone
targetRevision: 0.1.7
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true