Skip to content

Commit 54ddabe

Browse files
committed
Stop deployment on legacy infra
The legacy infrastructure is now deprecated and will be decommissioned shortly.
1 parent 7aaa01c commit 54ddabe

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -356,47 +356,3 @@ jobs:
356356
prerelease: true
357357
title: Unstable Development Builds
358358
files: package/*
359-
360-
deploy-testing:
361-
runs-on: ubuntu-22.04
362-
needs:
363-
- docker-mithril
364-
env:
365-
# Contains a JSON-formatted service account key
366-
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
367-
# Contains a RSA private key
368-
GCLOUD_PRIVATE_KEY: ${{ secrets.GCLOUD_PRIVATE_KEY }}
369-
GENESIS_SECRET_KEY: ${{ secrets.TEST_ONLY_GENESIS_SECRET_KEY }}
370-
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
371-
372-
defaults:
373-
run:
374-
working-directory: mithril-infra-legacy
375-
376-
steps:
377-
- name: Checkout sources
378-
uses: actions/checkout@v3
379-
380-
- name: Get short SHA
381-
id: slug
382-
run: echo "sha8=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_OUTPUT
383-
384-
- name: Setup Terraform
385-
uses: hashicorp/setup-terraform@v2
386-
with:
387-
terraform_wrapper: false
388-
389-
- name: Init Terraform
390-
run: terraform init
391-
392-
- name: Check Terraform
393-
run: terraform fmt -check
394-
395-
- name: Terraform Plan
396-
run: |
397-
terraform plan -var "image_id=${{ env.BRANCH_NAME }}-${{ steps.slug.outputs.sha8 }}" -var 'private_key=${{ env.GCLOUD_PRIVATE_KEY }}' -var 'google_application_credentials_json=${{ env.GOOGLE_CREDENTIALS }}' -var 'genesis_secret_key=${{ env.GENESIS_SECRET_KEY }}'
398-
399-
- name: Terraform Apply
400-
if: github.ref == 'refs/heads/main'
401-
run: |
402-
terraform apply -auto-approve -var "image_id=${{ env.BRANCH_NAME }}-${{ steps.slug.outputs.sha8 }}" -var 'private_key=${{ env.GCLOUD_PRIVATE_KEY }}' -var 'google_application_credentials_json=${{ env.GOOGLE_CREDENTIALS }}' -var 'genesis_secret_key=${{ env.GENESIS_SECRET_KEY }}'

0 commit comments

Comments
 (0)