From 07f6ba57017c9a5634f0f368738198aefeaaa751 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 1 Nov 2025 08:06:56 -0400 Subject: [PATCH] chore(k8s): remove legacy Civo deployment logic - Remove entire deploy job from GitHub Actions workflow - Remove Civo CLI installation and configuration steps - Remove CIVO_TOKEN secret reference - Add editor's note to hello-again-k8s blog post indicating historical context - Clean slate for implementing new deployment strategy in future PR Resolves: XE-5 --- .github/workflows/earthly.yml | 41 +------------------------- lume/src/blog/2024/hello-again-k8s.mdx | 9 ++++++ 2 files changed, 10 insertions(+), 40 deletions(-) diff --git a/.github/workflows/earthly.yml b/.github/workflows/earthly.yml index 06cac0240..f40b28314 100644 --- a/.github/workflows/earthly.yml +++ b/.github/workflows/earthly.yml @@ -50,43 +50,4 @@ jobs: patreon-saasproxy.tags=ghcr.io/xe/site/patreon-saasproxy:latest xesite.tags=ghcr.io/xe/site/bin:latest - deploy: - name: "Deploy xesite" - needs: build - runs-on: alrest-xe-site - if: github.ref == 'refs/heads/main' - permissions: - contents: read - - steps: - - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v3 - id: changes - with: - filters: | - src: - - 'cmd/**/*.go' - - 'internal/**/*.go' - - 'pb/*' - - 'pb/**/*' - - 'go.mod' - - 'go.sum' - - 'docker/*' - - "docker-bake.hcl" - - 'manifest/**/*.yaml' - - uses: azure/setup-kubectl@v4 - if: steps.changes.outputs.src == 'true' - - name: Save Civo kubeconfig - if: steps.changes.outputs.src == 'true' - run: | - curl -sL https://civo.com/get | sudo sh - civo apikey add default $CIVO_TOKEN - civo apikey current default - civo kubernetes config --region phx1 aeacus --save --switch - env: - CIVO_TOKEN: ${{ secrets.CIVO_TOKEN }} - - name: "Deploy" - if: steps.changes.outputs.src == 'true' - run: | - kubectl apply -k manifest - kubectl rollout restart -n default deploy/xesite + \ No newline at end of file diff --git a/lume/src/blog/2024/hello-again-k8s.mdx b/lume/src/blog/2024/hello-again-k8s.mdx index 73fcd669c..ea6274c6e 100644 --- a/lume/src/blog/2024/hello-again-k8s.mdx +++ b/lume/src/blog/2024/hello-again-k8s.mdx @@ -15,6 +15,15 @@ tags: - civo --- +import Admonition from "../../_components/Admonition.jsx"; + + + This blog post describes the initial migration of my website to Civo Kubernetes. + Since this was written, the site has been migrated from Civo to Vultr Kubernetes Engine. + The deployment details and provider-specific information in this post are historical + and no longer reflect the current setup. + + [Previously on Xesite](/blog/k8s-pondering-2020-12-31/): > I think I made a mistake when I decided to put my cards into Kubernetes for my personal setup. It made sense at the time (I was trying to learn Kubernetes and I am cursed into learning by doing), however I don't think it is really the best choice available for my needs.