Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: AWS deploy_service regex + faucet dockerfile #3699

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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