From 479d38eb02b365d461fefbb6ef71fb29f2f98ec5 Mon Sep 17 00:00:00 2001 From: Lucas Koontz Date: Sat, 3 Oct 2026 22:17:31 -0700 Subject: [PATCH] chore(ci): delete the workflows that build and deploy the blog Delete the only two workflows in this repository. dev-build-deploy-on-main.yaml ran on every push to main. It built the blog image and helm-installed every chart under deployment/ into the dev namespace. prod-build-deploy-on-release.yaml ran on a published release or a manual dispatch, and did the same into the prod namespace. Both workflows ran on the mdb-dev and mdb-prod self-hosted runners. GitHub recommends GitHub-hosted runners for public repositories, but moving these jobs there would keep deploying a blog that no public URL reaches. mindsdb.com/blog now redirects to https://mindshub.ai/blog, a site this repository does not build. The last deploys ran on 2025-06-04 (dev) and 2025-02-13 (prod). With no workflow on main, a push to main or a manual dispatch starts no job. The charts under deployment/ and the Dockerfile stay. Their READMEs describe a manual helm install, which this change leaves as it is. Part of Lucas Koontz's ticket "Take the public repos off the credentialed runner group and require devops to release a privileged run". Refs: ENG-2000 --- .../workflows/dev-build-deploy-on-main.yaml | 51 ------------------ .../prod-build-deploy-on-release.yaml | 52 ------------------- 2 files changed, 103 deletions(-) delete mode 100644 .github/workflows/dev-build-deploy-on-main.yaml delete mode 100644 .github/workflows/prod-build-deploy-on-release.yaml diff --git a/.github/workflows/dev-build-deploy-on-main.yaml b/.github/workflows/dev-build-deploy-on-main.yaml deleted file mode 100644 index b0c0d9c6d..000000000 --- a/.github/workflows/dev-build-deploy-on-main.yaml +++ /dev/null @@ -1,51 +0,0 @@ -name: Dev - Build and Deploy on main - -on: - push: - branches: - - main - -defaults: - run: - shell: bash - - -jobs: - build: - runs-on: mdb-dev - env: - AWS_REGION: us-east-1 - steps: - - name: Checkout tag - uses: actions/checkout@v4 - - name: Pull MindsDB Github Actions - uses: actions/checkout@v4 - with: - repository: mindsdb/github-actions - path: github-actions - - uses: ./github-actions/setup-env - - uses: ./github-actions/build-push-ecr - with: - module-name: ${{ env.CI_REPOSITORY_SLUG }} - build-for-environment: development - - deploy: - runs-on: mdb-dev - needs: build - environment: - name: dev - url: https://hashnode.dev.mindsdb.com/blog - steps: - - uses: actions/checkout@v4 - - name: Pull MindsDB Github Actions - uses: actions/checkout@v4 - with: - repository: mindsdb/github-actions - path: github-actions - - uses: ./github-actions/setup-env - - uses: DevOps-Nirvana/aws-helm-multi-deploy-nodocker@v2 - with: - environment-slug: dev - k8s-namespace: dev - image-tag: development-${{ env.SLUG }} - timeout: 600s diff --git a/.github/workflows/prod-build-deploy-on-release.yaml b/.github/workflows/prod-build-deploy-on-release.yaml deleted file mode 100644 index 247177152..000000000 --- a/.github/workflows/prod-build-deploy-on-release.yaml +++ /dev/null @@ -1,52 +0,0 @@ -name: Prod - Build and Deploy on release - -on: - release: - types: [published] - workflow_dispatch: - -defaults: - run: - shell: bash - - -jobs: - build: - runs-on: mdb-dev - env: - AWS_REGION: us-east-1 - steps: - - name: Checkout tag - uses: actions/checkout@v4 - - name: Pull MindsDB Github Actions - uses: actions/checkout@v4 - with: - repository: mindsdb/github-actions - path: github-actions - - uses: ./github-actions/setup-env - - uses: ./github-actions/build-push-ecr - with: - module-name: ${{ env.CI_REPOSITORY_SLUG }} - build-for-environment: production - image-ref: ${{ env.CI_REF_SLUG }} - - deploy-prod: - runs-on: mdb-prod - needs: [build] - environment: - name: prod - url: https://mindsdb.com/blog - steps: - - uses: actions/checkout@v4 - - name: Pull MindsDB Github Actions - uses: actions/checkout@v4 - with: - repository: mindsdb/github-actions - path: github-actions - - uses: ./github-actions/setup-env - - uses: DevOps-Nirvana/aws-helm-multi-deploy-nodocker@v2 - with: - environment-slug: prod - k8s-namespace: prod - image-tag: production-${{ env.CI_REF_SLUG }} - timeout: 600s