Skip to content

Commit

Permalink
Different approach
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWindle committed Sep 13, 2023
1 parent b64769d commit 72cbb64
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 20 deletions.
45 changes: 28 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,17 @@ jobs:
name: "Build and test"
command: force_deploy_build aztec-sandbox false

aztec-sandbox-arm64:
machine:
image: ubuntu-2004:202010-01
resource_class: arm.large
steps:
- *checkout
- *setup_env
- run:
name: "Build and test"
command: force_deploy_build aztec-sandbox-arm true

circuits-js:
machine:
image: ubuntu-2004:202010-01
Expand Down Expand Up @@ -1022,16 +1033,16 @@ jobs:
name: "Noop"
command: echo Noop

aztec-sandbox-multi-platform:
machine:
image: ubuntu-2004:202010-01
resource_class: large
steps:
- *checkout
- *setup_env
- run:
name: "Build and test"
command: force_deploy_build aztec-sandbox-multi-platform true "linux/amd64,linux/arm64,linux/arm/v7"
# aztec-sandbox-multi-platform:
# machine:
# image: ubuntu-2004:202010-01
# resource_class: large
# steps:
# - *checkout
# - *setup_env
# - run:
# name: "Build and test"
# command: force_deploy_build aztec-sandbox-multi-platform true "linux/amd64,linux/arm64,linux/arm/v7"

deploy-npm:
machine:
Expand Down Expand Up @@ -1415,6 +1426,11 @@ workflows:
- canary
<<: *defaults

- aztec-sandbox-arm64:
requires:
- aztec-sandbox
<<: *defaults

- e2e-2-rpc-servers: *e2e_test
- e2e-deploy-contract: *e2e_test
- e2e-lending-contract: *e2e_test
Expand Down Expand Up @@ -1484,19 +1500,14 @@ workflows:
- guides-sample-dapp
<<: *defaults

- aztec-sandbox-multi-platform:
requires:
- aztec-sandbox
<<: *defaults

# Deployment and Canary tests
- deploy-dockerhub:
requires:
- aztec-sandbox-multi-platform
- e2e-end
<<: *deploy_defaults
- deploy-npm:
requires:
- aztec-sandbox-multi-platform
- e2e-end
<<: *deploy_defaults

- deploy-end:
Expand Down
4 changes: 2 additions & 2 deletions build_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@
"types"
]
},
"aztec-sandbox-multi-platform": {
"aztec-sandbox-arm": {
"buildDir": "yarn-project",
"projectDir": "yarn-project/aztec-sandbox",
"dockerfile": "aztec-sandbox/Dockerfile.multi",
"dockerfile": "aztec-sandbox/Dockerfile.arm64",
"rebuildPatterns": ["^yarn-project/aztec-sandbox/"],
"dependencies": [
"aztec-node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/aztec-sandbox AS builder
FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/aztec-sandbox AS builder

FROM node:18-alpine

Expand Down

0 comments on commit 72cbb64

Please sign in to comment.