Skip to content

Commit

Permalink
fix: AWS deploy_service regex + faucet dockerfile (#3699)
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy committed Dec 14, 2023
1 parent 48b7474 commit 260c7c3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build-system/scripts/deploy_service
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -eu

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

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

echo "Services to redeploy:"
echo "$SERVICES"
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/aztec-faucet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project-prod
WORKDIR /usr/src/yarn-project/aztec-faucet
ENTRYPOINT ["yarn", "start"]
ENTRYPOINT ["node", "--no-warnings", "/usr/src/yarn-project/aztec-faucet/dest/bin/index.js"]
EXPOSE 8080
2 changes: 1 addition & 1 deletion yarn-project/aztec-faucet/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ resource "aws_service_discovery_service" "aztec-faucet" {

# Define task definition and service.
resource "aws_ecs_task_definition" "aztec-faucet" {
family = "${var.DEPLOY_TAG}-faucet"
family = "${var.DEPLOY_TAG}-aztec-faucet"
requires_compatibilities = ["FARGATE"]
network_mode = "awsvpc"
cpu = "2048"
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/noir-protocol-circuits/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
proofs/
Prover.toml
Verifier.toml
src/target
src/target
src/crs

0 comments on commit 260c7c3

Please sign in to comment.