apps(woodpecker): Add woodpecker CI
parent
0357575cf9
commit
3fab6153f9
@ -0,0 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
metadata:
|
||||
name: woodpecker
|
||||
resources:
|
||||
- app/namespace.yaml
|
||||
- app/release.yaml
|
||||
- app/route.yaml
|
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: woodpecker
|
||||
labels:
|
||||
name: woodpecker
|
@ -0,0 +1,30 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: woodpecker
|
||||
namespace: woodpecker
|
||||
spec:
|
||||
releaseName: woodpecker
|
||||
chart:
|
||||
spec:
|
||||
chart: woodpecker
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: woodpeckerci
|
||||
namespace: repos
|
||||
interval: 60m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
values:
|
||||
volume:
|
||||
storageClassName: ebs-ssd
|
||||
resources:
|
||||
requests:
|
||||
memory: 256Mi
|
||||
limits:
|
||||
memory: 512Mi
|
||||
agent:
|
||||
env:
|
||||
WOODPECKER_BACKEND_K8S_STORAGE-CLASS: "ebs-ssd"
|
||||
|
@ -0,0 +1,17 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: woodpecker-route
|
||||
namespace: woodpecker
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`ci.cluster.trivernis.dev`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: strict-security-headers
|
||||
namespace: default
|
||||
services:
|
||||
- name: woodpecker
|
||||
port: http
|
@ -0,0 +1,8 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: woodpeckerci
|
||||
namespace: repos
|
||||
spec:
|
||||
interval: 60m
|
||||
url: https://woodpecker-ci.org/
|
Loading…
Reference in New Issue