From 59da83174b3661fb1196d985b7c6793b30455bca Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Sun, 14 Jan 2024 16:04:29 -0500 Subject: [PATCH] removed act runner --- act-runner/config.yaml | 8 ----- act-runner/deployment.yaml | 30 ------------------- act-runner/pvc.yaml | 12 -------- .../kustomization-act-runner.yaml | 18 ----------- .../namespaces/namespace-act-runner.yaml | 4 --- 5 files changed, 72 deletions(-) delete mode 100644 act-runner/config.yaml delete mode 100644 act-runner/deployment.yaml delete mode 100644 act-runner/pvc.yaml delete mode 100644 bootstrap/kustomizations/kustomization-act-runner.yaml delete mode 100644 bootstrap/namespaces/namespace-act-runner.yaml diff --git a/act-runner/config.yaml b/act-runner/config.yaml deleted file mode 100644 index bf97e4e..0000000 --- a/act-runner/config.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: act-runner-config - namespace: act-runner -data: - GITEA_INSTANCE_URL: "http://gitea-http.gitea.svc.cluster.local:3000" - GITEA_RUNNER_REGISTRATION_TOKEN: "PWwo9fPd5jFTdGi9LrUuWHFCXQi4xPosuQUpmQjX" diff --git a/act-runner/deployment.yaml b/act-runner/deployment.yaml deleted file mode 100644 index 992ffc6..0000000 --- a/act-runner/deployment.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: act-runner - namespace: act-runner -spec: - selector: - matchLabels: - app: act-runner - template: - metadata: - labels: - app: act-runner - spec: - containers: - - name: act-runner - image: gitea/act_runner:nightly - envFrom: - - configMapRef: - name: act-runner-config - volumeMounts: - - name: data - mountPath: /data - securityContext: - runAsUser: 0 - privileged: true - volumes: - - name: data - persistentVolumeClaim: - claimName: data diff --git a/act-runner/pvc.yaml b/act-runner/pvc.yaml deleted file mode 100644 index 4690347..0000000 --- a/act-runner/pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: data - namespace: act-runner -spec: - accessModes: - - ReadWriteOnce - storageClassName: longhorn - resources: - requests: - storage: 2Gi diff --git a/bootstrap/kustomizations/kustomization-act-runner.yaml b/bootstrap/kustomizations/kustomization-act-runner.yaml deleted file mode 100644 index 7a2ff4c..0000000 --- a/bootstrap/kustomizations/kustomization-act-runner.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: act-runner - namespace: flux-system -spec: - interval: 15m - path: ./act-runner - prune: true # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: act-runner - namespace: act-runner diff --git a/bootstrap/namespaces/namespace-act-runner.yaml b/bootstrap/namespaces/namespace-act-runner.yaml deleted file mode 100644 index 4ee2223..0000000 --- a/bootstrap/namespaces/namespace-act-runner.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: act-runner