-
Notifications
You must be signed in to change notification settings - Fork 266
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
feat: multiple pixies 1 Sandbox #2492
Changes from all commits
f1ac5b1
4d5ffa3
74e52cf
96d2c0b
0c41bf9
3f42e5b
73584fa
7f1085d
e8d68fb
9dc1588
b60cde0
5ab8488
73cacfd
8ee3b62
2a60ab4
8256e62
5f953fc
b581220
853af1d
bbed19f
a501a90
7eafdec
c10f7f8
ce0478f
04d06ae
9325719
463df43
22debdc
26660eb
26b6e8e
8c9a37b
5aed56c
552150a
a828c76
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -454,7 +454,44 @@ jobs: | |
echo "export DOCKER_BUILDKIT=" > $BASH_ENV | ||
force_deploy_build aztec-sandbox false arm64 | ||
|
||
aztec-sandbox-ecr-manifest: | ||
pxe-base: | ||
machine: | ||
image: ubuntu-2204:2023.07.2 | ||
resource_class: large | ||
steps: | ||
- *checkout | ||
- *setup_env | ||
- run: | ||
name: "Build and test" | ||
command: force_deploy_build pxe-base false | ||
|
||
pxe-x86_64: | ||
machine: | ||
image: ubuntu-2204:2023.07.2 | ||
resource_class: large | ||
steps: | ||
- *checkout | ||
- *setup_env | ||
- run: | ||
name: "Build and test" | ||
command: force_deploy_build pxe false x86_64 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This script is abot to be removed. You will need to check the above PR to see the new pattern of arch specific builds |
||
|
||
pxe-arm64: | ||
machine: | ||
image: ubuntu-2204:2023.07.2 | ||
resource_class: arm.large | ||
steps: | ||
- *checkout | ||
- *setup_env | ||
- run: | ||
name: "Build and test" | ||
# We need to force not to use docker buildkit because for some reason on arm only, it ends up making a call | ||
# out to eu-west2 despite the image being locally tagged, resulting in unauthorised 401. Weird docker bug? | ||
command: | | ||
echo "export DOCKER_BUILDKIT=" > $BASH_ENV | ||
force_deploy_build pxe false arm64 | ||
|
||
ecr-manifest: | ||
machine: | ||
image: ubuntu-2204:2023.07.2 | ||
resource_class: large | ||
|
@@ -463,7 +500,9 @@ jobs: | |
- *setup_env | ||
- run: | ||
name: "Create ECR manifest" | ||
command: create_ecr_manifest aztec-sandbox-base aztec-sandbox x86_64,arm64 | ||
command: | | ||
create_ecr_manifest aztec-sandbox-base aztec-sandbox x86_64,arm64 | ||
create_ecr_manifest pxe-base pxe x86_64,arm64 | ||
|
||
boxes-blank-react: | ||
machine: | ||
|
@@ -993,7 +1032,7 @@ jobs: | |
name: "yarn-project" | ||
command: yarn-project/deploy_npm.sh | ||
|
||
deploy-dockerhub: | ||
deploy-dockerhub-sandbox: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you have a look at the deploy_npm step, it recently changed to call a single script in yarn-project which deploys all of the relevant packages.. Could we make the deploy_dockerhub step similar to that? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will send a new PR. |
||
machine: | ||
image: ubuntu-2204:2023.07.2 | ||
resource_class: medium | ||
|
@@ -1008,6 +1047,21 @@ jobs: | |
deploy_dockerhub aztec-sandbox arm64 | ||
create_dockerhub_manifest aztec-sandbox x86_64,arm64 | ||
|
||
deploy-dockerhub-pxe: | ||
machine: | ||
image: ubuntu-2204:2023.07.2 | ||
resource_class: medium | ||
steps: | ||
- *checkout | ||
- *setup_env | ||
- run: | ||
name: "deploy-pxe" | ||
working_directory: pxe | ||
command: | | ||
deploy_dockerhub pxe x86_64 | ||
deploy_dockerhub pxe arm64 | ||
create_dockerhub_manifest pxe x86_64,arm64 | ||
|
||
deploy-end: | ||
docker: | ||
- image: cimg/base:2023.09 | ||
|
@@ -1201,6 +1255,7 @@ workflows: | |
|
||
- end-to-end: *yarn_project | ||
- aztec-sandbox-base: *yarn_project | ||
- pxe-base: *yarn_project | ||
- canary: *yarn_project | ||
- build-docs: *yarn_project | ||
|
||
|
@@ -1213,10 +1268,21 @@ workflows: | |
- aztec-sandbox-base | ||
<<: *defaults | ||
|
||
- aztec-sandbox-ecr-manifest: | ||
- pxe-x86_64: | ||
requires: | ||
- pxe-base | ||
<<: *defaults | ||
- pxe-arm64: | ||
requires: | ||
- pxe-base | ||
<<: *defaults | ||
|
||
- ecr-manifest: | ||
requires: | ||
- aztec-sandbox-x86_64 | ||
- aztec-sandbox-arm64 | ||
- pxe-x86_64 | ||
- pxe-arm64 | ||
<<: *defaults | ||
|
||
- boxes-blank-react: | ||
|
@@ -1237,7 +1303,7 @@ workflows: | |
- e2e-join: | ||
requires: | ||
- end-to-end | ||
- aztec-sandbox-ecr-manifest | ||
- ecr-manifest | ||
- canary | ||
<<: *defaults | ||
|
||
|
@@ -1322,7 +1388,11 @@ workflows: | |
<<: *defaults | ||
|
||
# Deployment and Canary tests | ||
- deploy-dockerhub: | ||
- deploy-dockerhub-sandbox: | ||
requires: | ||
- e2e-end | ||
<<: *deploy_defaults | ||
- deploy-dockerhub-pxe: | ||
requires: | ||
- e2e-end | ||
<<: *deploy_defaults | ||
|
@@ -1333,7 +1403,8 @@ workflows: | |
|
||
- deploy-end: | ||
requires: | ||
- deploy-dockerhub | ||
- deploy-dockerhub-sandbox | ||
- deploy-dockerhub-pxe | ||
- deploy-npm | ||
<<: *deploy_defaults | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ WORKDIR /usr/src/yarn-project/aztec-sandbox | |
|
||
ENTRYPOINT ["yarn"] | ||
CMD [ "start" ] | ||
EXPOSE 8080 | ||
EXPOSE 8079 8080 |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure you'll need the
-base
step, you may want to take a look at #2645