Skip to content

Commit

Permalink
chore: bump images
Browse files Browse the repository at this point in the history
  • Loading branch information
yHSJ committed Dec 8, 2024
1 parent 36befce commit 4ced6a7
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,25 +178,22 @@ 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
TF_VAR_dmtr_port_name: mainnet-mqgv9w
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 }}
Expand Down Expand Up @@ -254,37 +251,31 @@ 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
if: steps.filter.outputs.should_skip == 'false'
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 }}

0 comments on commit 4ced6a7

Please sign in to comment.