Skip to content

Commit

Permalink
chore: destroy kubernetes cluster (#3191)
Browse files Browse the repository at this point in the history
Motivation
----------
I ran `tofu destroy` and destroyed the project on Hetzner.

This PR will delete the respective terraform state and disable the
Github workflow trying to deploy on push to `master`.

How to test
-----------
1. Merge this PR
2. Github status checks should be green
  • Loading branch information
roschaefer authored Nov 25, 2024
1 parent 79a05ce commit bf77cc2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 74 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/docker-e2e-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,29 +97,3 @@ jobs:
with:
name: dreammall-e2e-test-report-pr-${{ steps.pr-number.outputs.pr }}
path: /home/runner/work/dreammall.earth/dreammall.earth/tests/cypress/reports/dreammall-e2e_html_report

deploy-to-kubernetes:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs: build-and-push-images
steps:
- uses: mdgreenwald/mozilla-sops-action@d9714e521cbaecdae64a89d2fdd576dd2aa97056 # v1.6.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
- run: |
mkdir -p ~/.config/sops/age
echo $SOPS_KEY | base64 --decode > ~/.config/sops/age/keys.txt
env:
SOPS_KEY: ${{ secrets.SOPS_KEY }}
- run: |
mkdir -p ~/.kube
sops decrypt ./infrastructure/helmfile/secrets/kubeconfig > ~/.kube/config
- run: echo "IMAGE_TAG=sha-$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV
- uses: helmfile/helmfile-action@d816691da49c62e2f689bcab06114ce6918a15a3 #v2.0.0
with:
helmfile-args: apply --environment master
helmfile-workdirectory: ./infrastructure/helmfile
helm-plugins: >
https://github.com/databus23/helm-diff,
https://github.com/jkroepke/helm-secrets

This file was deleted.

2 changes: 1 addition & 1 deletion infrastructure/kube-dreammall/terraform.tfstate

Large diffs are not rendered by default.

0 comments on commit bf77cc2

Please sign in to comment.