From 4ced6a780fba383a163e210b88154efd9c8dad6a Mon Sep 17 00:00:00 2001 From: yHSJ Date: Sun, 8 Dec 2024 10:04:50 -0500 Subject: [PATCH] chore: bump images --- .github/workflows/deploy.yml | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6a4d857..e2b476b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -178,10 +178,8 @@ jobs: TF_VAR_blockfrost_key: ${{ secrets.DEV_BLOCKFROST_KEY }} TF_VAR_dmtr_api_key: ${{ secrets.DEV_DMTR_API_KEY }} TF_VAR_admin_key: ${{ secrets.DEV_HYDRA_ADMIN_KEY }} - TF_VAR_snapshot_aws_access_key_id: - ${{ secrets.SNAPSHOT_AWS_ACCESS_KEY_ID }} - TF_VAR_snapshot_aws_secret_access_key: - ${{ secrets.SNAPSHOT_AWS_SECRET_ACCESS_KEY }} + TF_VAR_snapshot_aws_access_key_id: ${{ secrets.SNAPSHOT_AWS_ACCESS_KEY_ID }} + TF_VAR_snapshot_aws_secret_access_key: ${{ secrets.SNAPSHOT_AWS_SECRET_ACCESS_KEY }} # Vars TF_VAR_network_id: 1 @@ -189,14 +187,13 @@ jobs: TF_VAR_dmtr_project_id: b55545f5-31e7-4e6b-81d6-22f4e6b5a144 TF_VAR_external_domain: ${{ matrix.region }}.hydra-doom.sundae.fi TF_VAR_hydra_node_image: ghcr.io/cardano-scaling/hydra-node:0.19.0 - TF_VAR_eks_cluster_arn: - arn:aws:eks:${{ matrix.region + TF_VAR_eks_cluster_arn: arn:aws:eks:${{ matrix.region }}:509399595051:cluster/hydra-doom-dev-cluster TF_VAR_hydra_scripts_tx_id: ab1d9f8cca896bca06b70df74860deecf20774e03d8562aecaed37525f6ebead # TODO: Mainnet transaction id TF_VAR_admin_addr: addr1v9gcjapuwl7gfnzhzg6svtj0ph3gxu8kyuadudmf0kzsksqcpg5xa - TF_VAR_frontend_image: ghcr.io/cardano-scaling/hydra-doom-frontend:sha-664ed46 - TF_VAR_referee_image: ghcr.io/cardano-scaling/hydra-doom-referee:sha-664ed46 # latest? - TF_VAR_ai_image: ghcr.io/cardano-scaling/hydra-doom-ai:sha-664ed46 # latest? + TF_VAR_frontend_image: ghcr.io/cardano-scaling/hydra-doom-frontend:sha-d615653 + TF_VAR_referee_image: ghcr.io/cardano-scaling/hydra-doom-referee:sha-d615653 # latest? + TF_VAR_ai_image: ghcr.io/cardano-scaling/hydra-doom-ai:sha-d615653 # latest? TF_VAR_autoscaler_high_watermark: ${{ matrix.autoscaler_high_watermark }} TF_VAR_autoscaler_low_watermark: ${{ matrix.autoscaler_low_watermark }} TF_VAR_autoscaler_region_prefix: ${{ matrix.region_prefix }} @@ -254,8 +251,7 @@ jobs: working-directory: playbook/doom-dev run: terraform init -backend-config=backend.${{ matrix.region }}.conf env: - TF_VAR_image: - ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ + TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ steps.image_tag.outputs.sha_short }} - name: validate terraform @@ -263,28 +259,23 @@ jobs: working-directory: playbook/doom-dev run: terraform validate env: - TF_VAR_image: - ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ + TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ steps.image_tag.outputs.sha_short }} - name: plan terraform working-directory: playbook/doom-dev - if: - inputs.dry-run == 'true' && steps.filter.outputs.should_skip == + if: inputs.dry-run == 'true' && steps.filter.outputs.should_skip == 'false' run: terraform plan -input=false env: - TF_VAR_image: - ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ + TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ steps.image_tag.outputs.sha_short }} - name: apply terraform working-directory: playbook/doom-dev - if: - inputs.dry-run == 'false' && steps.filter.outputs.should_skip == + if: inputs.dry-run == 'false' && steps.filter.outputs.should_skip == 'false' run: terraform apply -auto-approve -input=false env: - TF_VAR_image: - ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ + TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ steps.image_tag.outputs.sha_short }}