From b246d1ba3a899af5e7566944a9d79be62827cdd5 Mon Sep 17 00:00:00 2001 From: spypsy Date: Fri, 1 Dec 2023 16:47:13 +0000 Subject: [PATCH] fix(ci): define REPOSITORY in deploy_l1_contracts (#3514) --- iac/mainnet-fork/terraform/main.tf | 2 +- l1-contracts/scripts/ci_deploy_contracts.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/iac/mainnet-fork/terraform/main.tf b/iac/mainnet-fork/terraform/main.tf index 45303dbad59..08198ba5e0b 100644 --- a/iac/mainnet-fork/terraform/main.tf +++ b/iac/mainnet-fork/terraform/main.tf @@ -117,7 +117,7 @@ resource "aws_ecs_task_definition" "aztec_mainnet_fork" { [ { "name": "${var.DEPLOY_TAG}-mainnet-fork", - "image": "${var.DOCKERHUB_ACCOUNT}/aztec-mainnet-fork:${var.DEPLOY_TAG}", + "image": "${var.DOCKERHUB_ACCOUNT}/mainnet-fork:${var.DEPLOY_TAG}", "essential": true, "environment": [ { diff --git a/l1-contracts/scripts/ci_deploy_contracts.sh b/l1-contracts/scripts/ci_deploy_contracts.sh index cd1989fe800..0589f43d666 100755 --- a/l1-contracts/scripts/ci_deploy_contracts.sh +++ b/l1-contracts/scripts/ci_deploy_contracts.sh @@ -4,6 +4,8 @@ FORCE_DEPLOY=${2:-"false"} export ETHEREUM_HOST=$DEPLOY_TAG-mainnet-fork.aztec.network:8545/$FORK_API_KEY +REPOSITORY="l1-contracts" + CONTENT_HASH=$(calculate_content_hash $REPOSITORY) # If we have previously successful commit, we can early out if nothing relevant has changed since.