From 5f4d9b498ef2768d1af42e59f061f94c46f66b6d Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Mon, 12 Jan 2026 00:46:16 -0300 Subject: [PATCH] chore: remove ci-demo workload --- .../ci-demo/image-automation.yaml | 26 ---------------- .../applications/ci-demo/kustomization.yaml | 17 ---------- .../applications/kustomization.yaml | 2 -- knowledge/catalog/atlas.yaml | 13 -------- services/ci-demo/deployment.yaml | 31 ------------------- services/ci-demo/image.yaml | 24 -------------- services/ci-demo/kustomization.yaml | 11 ------- services/ci-demo/namespace.yaml | 6 ---- services/ci-demo/service.yaml | 14 --------- 9 files changed, 144 deletions(-) delete mode 100644 clusters/atlas/flux-system/applications/ci-demo/image-automation.yaml delete mode 100644 clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml delete mode 100644 services/ci-demo/deployment.yaml delete mode 100644 services/ci-demo/image.yaml delete mode 100644 services/ci-demo/kustomization.yaml delete mode 100644 services/ci-demo/namespace.yaml delete mode 100644 services/ci-demo/service.yaml diff --git a/clusters/atlas/flux-system/applications/ci-demo/image-automation.yaml b/clusters/atlas/flux-system/applications/ci-demo/image-automation.yaml deleted file mode 100644 index dd3e85e..0000000 --- a/clusters/atlas/flux-system/applications/ci-demo/image-automation.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# clusters/atlas/flux-system/applications/ci-demo/image-automation.yaml -apiVersion: image.toolkit.fluxcd.io/v1 -kind: ImageUpdateAutomation -metadata: - name: ci-demo - namespace: flux-system -spec: - interval: 1m0s - sourceRef: - kind: GitRepository - name: flux-system - namespace: flux-system - git: - checkout: - ref: - branch: feature/ci-gitops - commit: - author: - email: ops@bstein.dev - name: flux-bot - messageTemplate: "chore(ci-demo): apply image updates" - push: - branch: feature/ci-gitops - update: - strategy: Setters - path: services/ci-demo diff --git a/clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml b/clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml deleted file mode 100644 index 09f598d..0000000 --- a/clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: ci-demo - namespace: flux-system -spec: - interval: 10m - path: ./services/ci-demo - prune: true - sourceRef: - kind: GitRepository - name: flux-system - namespace: flux-system - dependsOn: - - name: core - wait: false diff --git a/clusters/atlas/flux-system/applications/kustomization.yaml b/clusters/atlas/flux-system/applications/kustomization.yaml index 4c9fb58..5876064 100644 --- a/clusters/atlas/flux-system/applications/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/kustomization.yaml @@ -22,8 +22,6 @@ resources: - oauth2-proxy/kustomization.yaml - mailu/kustomization.yaml - jenkins/kustomization.yaml - - ci-demo/kustomization.yaml - - ci-demo/image-automation.yaml - ai-llm/kustomization.yaml - nextcloud/kustomization.yaml - nextcloud-mail-sync/kustomization.yaml diff --git a/knowledge/catalog/atlas.yaml b/knowledge/catalog/atlas.yaml index 06e2469..d628b7b 100644 --- a/knowledge/catalog/atlas.yaml +++ b/knowledge/catalog/atlas.yaml @@ -7,9 +7,6 @@ sources: - name: bstein-dev-home path: services/bstein-dev-home targetNamespace: bstein-dev-home -- name: ci-demo - path: services/ci-demo - targetNamespace: null - name: communication path: services/comms targetNamespace: comms @@ -134,16 +131,6 @@ workloads: node-role.kubernetes.io/worker: 'true' images: - python:3.11-slim -- kind: Deployment - namespace: ci-demo - name: ci-demo - labels: - app.kubernetes.io/name: ci-demo - serviceAccountName: null - nodeSelector: - hardware: rpi4 - images: - - registry.bstein.dev/infra/ci-demo:v0.0.0-3 - kind: Deployment namespace: comms name: atlasbot diff --git a/services/ci-demo/deployment.yaml b/services/ci-demo/deployment.yaml deleted file mode 100644 index df882f5..0000000 --- a/services/ci-demo/deployment.yaml +++ /dev/null @@ -1,31 +0,0 @@ -# services/ci-demo/deployment.yaml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: ci-demo - namespace: ci-demo -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: ci-demo - template: - metadata: - labels: - app.kubernetes.io/name: ci-demo - spec: - nodeSelector: - hardware: rpi4 - containers: - - name: ci-demo - image: registry.bstein.dev/infra/ci-demo:latest - ports: - - name: http - containerPort: 8080 - readinessProbe: - httpGet: - path: / - port: http - initialDelaySeconds: 2 - periodSeconds: 5 - diff --git a/services/ci-demo/image.yaml b/services/ci-demo/image.yaml deleted file mode 100644 index 333fa0a..0000000 --- a/services/ci-demo/image.yaml +++ /dev/null @@ -1,24 +0,0 @@ -# services/ci-demo/image.yaml -apiVersion: image.toolkit.fluxcd.io/v1 -kind: ImageRepository -metadata: - name: ci-demo - namespace: flux-system -spec: - image: registry.bstein.dev/infra/ci-demo - interval: 1m0s ---- -apiVersion: image.toolkit.fluxcd.io/v1 -kind: ImagePolicy -metadata: - name: ci-demo - namespace: flux-system -spec: - imageRepositoryRef: - name: ci-demo - filterTags: - pattern: '^v(?P0\.0\.0-\d+)$' - extract: '$version' - policy: - semver: - range: ">=0.0.0-0" diff --git a/services/ci-demo/kustomization.yaml b/services/ci-demo/kustomization.yaml deleted file mode 100644 index 3d68ef1..0000000 --- a/services/ci-demo/kustomization.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# services/ci-demo/kustomization.yaml -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - namespace.yaml - - image.yaml - - deployment.yaml - - service.yaml -images: - - name: registry.bstein.dev/infra/ci-demo - newTag: v0.0.0-3 # {"$imagepolicy": "flux-system:ci-demo"} diff --git a/services/ci-demo/namespace.yaml b/services/ci-demo/namespace.yaml deleted file mode 100644 index e661fc1..0000000 --- a/services/ci-demo/namespace.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# services/ci-demo/namespace.yaml -apiVersion: v1 -kind: Namespace -metadata: - name: ci-demo - diff --git a/services/ci-demo/service.yaml b/services/ci-demo/service.yaml deleted file mode 100644 index c094387..0000000 --- a/services/ci-demo/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# services/ci-demo/service.yaml -apiVersion: v1 -kind: Service -metadata: - name: ci-demo - namespace: ci-demo -spec: - selector: - app.kubernetes.io/name: ci-demo - ports: - - name: http - port: 80 - targetPort: http -