diff --git a/services/Gitea-Legacy/_namespace-gitea.yaml b/services/Gitea-Legacy/_namespace-gitea.yaml deleted file mode 100644 index 832a81f..0000000 --- a/services/Gitea-Legacy/_namespace-gitea.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: gitea-legacy diff --git a/services/Gitea-Legacy/configmap-runner-config.yaml b/services/Gitea-Legacy/configmap-runner-config.yaml deleted file mode 100644 index 33684ca..0000000 --- a/services/Gitea-Legacy/configmap-runner-config.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: runner-config - namespace: gitea-legacy -data: - dind-config.yml: | - runner: - capacity: 2 - labels: [dind:docker://node:21-bullseye] - container: - options: "--add-host=docker:host-gateway -v /certs:/certs -v /scratch:/scratch -v /output:/output" - valid_volumes: - - /certs - - /scratch - - /output - dind-rootless-config.yml: | - runner: - capacity: 2 - labels: [dind-rootless:docker://node:21-bullseye] - container: - options: "-v /certs:/certs -v /scratch:/scratch -v /output:/output" - valid_volumes: - - /certs - - /scratch - - /output diff --git a/services/Gitea-Legacy/deployment-act-runner-dind-rootless.yaml b/services/Gitea-Legacy/deployment-act-runner-dind-rootless.yaml deleted file mode 100644 index 719e278..0000000 --- a/services/Gitea-Legacy/deployment-act-runner-dind-rootless.yaml +++ /dev/null @@ -1,76 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app: act-runner-dind-rootless - name: act-runner-dind-rootless - namespace: gitea-legacy -spec: - replicas: 1 - selector: - matchLabels: - app: act-runner-dind-rootless - strategy: - type: Recreate - template: - metadata: - creationTimestamp: null - labels: - app: act-runner-dind-rootless - spec: - hostname: act-runner-dind-rootless - restartPolicy: Always - volumes: - - name: runner-config - configMap: - name: runner-config - items: - - key: dind-rootless-config.yml - path: dind-rootless-config.yml - - name: docker-certs - emptyDir: {} - - name: runner-data - persistentVolumeClaim: - claimName: act-runner-dind-rootless - - name: flexvolsmb-runner-output - persistentVolumeClaim: - claimName: flexvolsmb-runner-output - - name: flexvolsmb-runner-scratch - persistentVolumeClaim: - claimName: flexvolsmb-runner-scratch - securityContext: - fsGroup: 1000 - containers: - - name: runner - image: gitea/act_runner:nightly-dind-rootless - imagePullPolicy: Always - env: - - name: CONFIG_FILE - value: /opt/act/config.yml - - name: DOCKER_HOST - value: tcp://localhost:2376 - - name: DOCKER_CERT_PATH - value: /certs/client - - name: DOCKER_TLS_VERIFY - value: "1" - - name: GITEA_INSTANCE_URL - value: http://gitea.gitea.svc.cluster.local:3000 - - name: GITEA_RUNNER_LABELS - value: dind-rootless:docker://node:21-bullseye - - name: GITEA_RUNNER_REGISTRATION_TOKEN - valueFrom: - secretKeyRef: - name: runner-secret - key: token - securityContext: - privileged: true - volumeMounts: - - name: runner-data - mountPath: /data - - name: runner-config - mountPath: /opt/act/config.yml - subPath: dind-rootless-config.yml - - name: flexvolsmb-runner-output - mountPath: /output - - name: flexvolsmb-runner-scratch - mountPath: /scratch diff --git a/services/Gitea-Legacy/deployment-act-runner-dind.yaml b/services/Gitea-Legacy/deployment-act-runner-dind.yaml deleted file mode 100644 index 1575113..0000000 --- a/services/Gitea-Legacy/deployment-act-runner-dind.yaml +++ /dev/null @@ -1,90 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app: act-runner-dind - name: act-runner-dind - namespace: gitea-legacy -spec: - replicas: 1 - selector: - matchLabels: - app: act-runner-dind - strategy: - type: Recreate - template: - metadata: - creationTimestamp: null - labels: - app: act-runner-dind - spec: - hostname: act-runner-dind - restartPolicy: Always - volumes: - - name: runner-config - configMap: - name: runner-config - items: - - key: dind-config.yml - path: dind-config.yml - - name: docker-certs - emptyDir: {} - - name: runner-data - persistentVolumeClaim: - claimName: act-runner-dind - - name: flexvolsmb-runner-output - persistentVolumeClaim: - claimName: flexvolsmb-runner-output - - name: flexvolsmb-runner-scratch - persistentVolumeClaim: - claimName: flexvolsmb-runner-scratch - containers: - - name: runner - image: gitea/act_runner:nightly - command: ["sh", "-c", "while ! nc -z localhost 2376