Skip to content

Commit 260c7c3

Browse files
authored
fix: AWS deploy_service regex + faucet dockerfile (AztecProtocol#3699)
1 parent 48b7474 commit 260c7c3

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

build-system/scripts/deploy_service

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ set -eu
44

55
# Redeploy services with the latest image that match $DEPLOY_TAG followed by $SERVICE_NAME.
66
SERVICE_NAME=$1
7-
PATTERN="$DEPLOY_TAG.*$SERVICE_NAME.*"
7+
PATTERN="${DEPLOY_TAG}.*${SERVICE_NAME}[^\"]*"
88

99
# Fetch list of services
10-
SERVICES=$(aws ecs list-services --region $ECR_DEPLOY_REGION --cluster setup | grep -Eo "arn:aws:ecs:[^:]+:[^:]+:service/[^/]+/$PATTERN" || true)
10+
SERVICES=$(aws ecs list-services --region $ECR_DEPLOY_REGION --cluster setup | grep -Eo "arn:aws:ecs:[^:]+:[^:]+:service/[^/]+/${PATTERN}" || true)
1111

1212
echo "Services to redeploy:"
1313
echo "$SERVICES"

yarn-project/aztec-faucet/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project-prod
22
WORKDIR /usr/src/yarn-project/aztec-faucet
3-
ENTRYPOINT ["yarn", "start"]
3+
ENTRYPOINT ["node", "--no-warnings", "/usr/src/yarn-project/aztec-faucet/dest/bin/index.js"]
44
EXPOSE 8080

yarn-project/aztec-faucet/terraform/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ resource "aws_service_discovery_service" "aztec-faucet" {
7676

7777
# Define task definition and service.
7878
resource "aws_ecs_task_definition" "aztec-faucet" {
79-
family = "${var.DEPLOY_TAG}-faucet"
79+
family = "${var.DEPLOY_TAG}-aztec-faucet"
8080
requires_compatibilities = ["FARGATE"]
8181
network_mode = "awsvpc"
8282
cpu = "2048"
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
proofs/
22
Prover.toml
33
Verifier.toml
4-
src/target
4+
src/target
5+
src/crs

0 commit comments

Comments
 (0)