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

PR to stage for setting exit only #32

Merged
merged 3 commits into from
Mar 20, 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
59 changes: 30 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ checkout: &checkout
chmod 0700 .ssh
ssh-keyscan -t rsa github.com >> .ssh/known_hosts

# A read only key for cloning the repository.
echo $GIT_CHECKOUT_KEY | base64 -d > .ssh/id_rsa

chmod 0600 .ssh/id_rsa

# IF YOU'RE CHANGING THIS, YOU ALSO WANT TO CHANGE: build-system/remote_build/remote_build
# Shallow checkout this commit.
mkdir -p project
Expand Down Expand Up @@ -700,42 +695,48 @@ jobs:

# Repeatable config for defining the workflow below.
tag_regex: &tag_regex /v[0-9]+(\.[0-9]+)*(-[a-zA-Z-]+\.[0-9]+)?/
tag_filter: &tag_filter
tags:
only: *tag_regex
defaults: &defaults
filters:
tags:
only: *tag_regex
context:
- build
ac_test: &ac_test
requires:
- x86_64-linux-clang-assert
filters: *tag_filter
<<: *defaults
yarn_project: &yarn_project
requires:
- yarn-project-base
filters: *tag_filter
<<: *defaults
e2e_test: &e2e_test
requires:
- e2e-join
filters: *tag_filter
deploy_filters: &deploy_filters
branches:
only:
- master
- stage
tags:
only: *tag_regex
<<: *defaults
deploy_defaults: &deploy_defaults
filters:
branches:
only:
- master
- stage
tags:
only: *tag_regex
context:
- build

workflows:
system:
when:
equal: [system, << pipeline.parameters.workflow >>]
jobs:
- wasm-linux-clang:
filters: *tag_filter
<<: *defaults
- x86_64-linux-clang:
filters: *tag_filter
<<: *defaults
- x86_64-linux-clang-assert:
filters: *tag_filter
<<: *defaults
- x86_64-linux-gcc:
filters: *tag_filter
<<: *defaults
- small-circuit-tests: *ac_test
- tx-rollup-tests: *ac_test
- tx-rollup-full-tests: *ac_test
Expand All @@ -757,16 +758,16 @@ workflows:
- blockchain-vks:
requires:
- x86_64-linux-clang
filters: *tag_filter
<<: *defaults
- contracts:
requires:
- blockchain-vks
filters: *tag_filter
<<: *defaults
- yarn-project-base:
requires:
- wasm-linux-clang
- contracts
filters: *tag_filter
<<: *defaults
- contracts-verifier-test: *yarn_project
- barretenberg-js: *yarn_project
- blockchain: *yarn_project
Expand All @@ -788,7 +789,7 @@ workflows:
- sdk
- hummus
- end-to-end
filters: *tag_filter
<<: *defaults
- e2e-account: *e2e_test
- e2e-browser: *e2e_test
- e2e-chained-txs-with-spending-keys: *e2e_test
Expand All @@ -814,7 +815,7 @@ workflows:
- root-rollup-tests
- root-rollup-full-tests
- root-verifier-tests
filters: *deploy_filters
<<: *deploy_defaults
- yarn-join:
requires:
- wallet
Expand All @@ -824,7 +825,7 @@ workflows:
- barretenberg-js
- block-server
- aztec-dev-cli
filters: *deploy_filters
<<: *deploy_defaults
- deploy:
requires:
# Must list all projects at the end of a dependency chain.
Expand All @@ -847,4 +848,4 @@ workflows:
- e2e-virtual-assets
- e2e-deposit-approval
- int-rollup-processor
filters: *deploy_filters
<<: *deploy_defaults
2 changes: 1 addition & 1 deletion yarn-project/falafel/terraform/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ resource "aws_ecs_task_definition" "falafel" {
},
{
"name": "EXIT_ONLY",
"value": "false"
"value": "true"
}
],
"mountPoints": [
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/falafel/terraform/testnet/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ resource "aws_ecs_task_definition" "falafel" {
},
{
"name": "EXIT_ONLY",
"value": "false"
"value": "true"
}
],
"mountPoints": [
Expand Down