-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into zpedro/boxes_codespaces
- Loading branch information
Showing
806 changed files
with
18,150 additions
and
12,900 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,6 @@ | |
"target": "/root/workspace/.devcontainer/scripts", | ||
"type": "bind" | ||
} | ||
] | ||
], | ||
"forwardPorts": [8080] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,3 +58,18 @@ jobs: | |
working-directory: ./yarn-project/end-to-end/ | ||
timeout-minutes: 15 | ||
run: earthly -P --no-output +uniswap-trade-on-l1-from-l2 --e2e_mode=cache | ||
|
||
notify: | ||
needs: [e2e] | ||
runs-on: ubuntu-latest | ||
if: ${{ github.ref == 'refs/heads/master' && failure() }} | ||
steps: | ||
- name: Send notification to aztec3-ci channel if workflow failed on master | ||
uses: slackapi/[email protected] | ||
with: | ||
payload: | | ||
{ | ||
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFY_WORKFLOW_TRIGGER_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
with: | ||
runner_label: ${{ github.actor }}-x86 | ||
ebs_cache_size_gb: 256 | ||
runner_concurrency: 50 | ||
runner_concurrency: 20 | ||
subaction: ${{ github.event.inputs.runner_action || 'start' }} | ||
ec2_instance_type: m6a.32xlarge | ||
ec2_ami_id: ami-04d8422a9ba4de80f | ||
|
@@ -44,7 +44,7 @@ jobs: | |
# prepare images locally, tagged by commit hash | ||
- name: "Build E2E Image" | ||
timeout-minutes: 40 | ||
run: earthly ./yarn-project+export-end-to-end | ||
run: earthly-ci ./yarn-project+export-end-to-end | ||
# We base our e2e list used in e2e-x86 off the targets in ./yarn-project/end-to-end | ||
# (Note ARM uses just 2 tests as a smoketest) | ||
- name: Create list of end-to-end jobs | ||
|
@@ -69,7 +69,7 @@ jobs: | |
- name: Test | ||
working-directory: ./yarn-project/end-to-end/ | ||
timeout-minutes: 25 | ||
run: earthly -P --no-output +${{ matrix.test }} --e2e_mode=cache | ||
run: earthly-ci -P --no-output +${{ matrix.test }} --e2e_mode=cache | ||
# TODO | ||
# - name: Upload logs | ||
# run: BRANCH=${{ github.ref_name }} PULL_REQUEST=${{ github.event.number }} scripts/ci/upload_logs_to_s3 ./yarn-project/end-to-end/log | ||
|
@@ -93,7 +93,7 @@ jobs: | |
working-directory: ./barretenberg/cpp/ | ||
timeout-minutes: 25 | ||
# limit our parallelism to half our cores | ||
run: earthly --no-output +test --hardware_concurrency=64 | ||
run: earthly-ci --no-output +test --hardware_concurrency=64 | ||
|
||
# push benchmarking binaries to dockerhub registry | ||
bb-bench-binaries: | ||
|
@@ -109,7 +109,7 @@ jobs: | |
if: ${{ github.event.inputs.just_start_spot != 'true' }} | ||
timeout-minutes: 15 | ||
working-directory: ./barretenberg/cpp/ | ||
run: earthly --push +bench-binaries | ||
run: earthly-ci --push +bench-binaries | ||
|
||
setup-bench: | ||
uses: ./.github/workflows/setup-runner.yml | ||
|
@@ -137,9 +137,39 @@ jobs: | |
- name: Client IVC Bench | ||
working-directory: ./barretenberg/cpp/ | ||
timeout-minutes: 15 | ||
run: earthly --no-output +bench-client-ivc --bench_mode=cache | ||
run: earthly-ci --no-output +bench-client-ivc --bench_mode=cache | ||
|
||
- name: Ultrahonk Bench | ||
working-directory: ./barretenberg/cpp/ | ||
timeout-minutes: 15 | ||
run: earthly --no-output +bench-ultra-honk --bench_mode=cache | ||
run: earthly-ci --no-output +bench-ultra-honk --bench_mode=cache | ||
|
||
merge-check: | ||
runs-on: ${{ github.actor }}-x86 | ||
needs: [e2e, bb-native-tests, bb-bench] | ||
if: always() # Ensures this job runs regardless of the success or failure of dependencies. | ||
steps: | ||
- run: | | ||
echo "E2E Test Status: ${{ needs.e2e.result }}" | ||
echo "Native Tests Status: ${{ needs.bb-native-tests.result }}" | ||
echo "Bench Tests Status: ${{ needs.bb-bench.result }}" | ||
if [[ "${{ needs.e2e.result }}" != 'success' || "${{ needs.bb-native-tests.result }}" != 'success' || "${{ needs.bb-bench.result }}" != 'success' ]]; then | ||
echo "Pull request merging not allowed due to failures." | ||
exit 1 | ||
fi | ||
echo "Pull request merging now allowed." | ||
notify: | ||
needs: [e2e, bb-native-tests, bb-bench] | ||
runs-on: ubuntu-latest | ||
if: ${{ github.ref == 'refs/heads/master' && failure() }} | ||
steps: | ||
- name: Send notification to aztec3-ci channel if workflow failed on master | ||
uses: slackapi/[email protected] | ||
with: | ||
payload: | | ||
{ | ||
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFY_WORKFLOW_TRIGGER_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,28 @@ | ||
# Useful if the spot runners are in a bad state | ||
name: Stop Personal Spot | ||
name: Start Personal Spot | ||
on: | ||
workflow_dispatch: {} | ||
jobs: | ||
stop-build-x86: | ||
uses: ./.github/workflows/setup-runner.yml | ||
with: | ||
runner_label: ${{ github.actor }}-x86 | ||
subaction: stop | ||
# not used: | ||
ebs_cache_size_gb: 256 | ||
runner_concurrency: 50 | ||
runner_concurrency: 20 | ||
subaction: start | ||
ec2_instance_type: m6a.32xlarge | ||
ec2_ami_id: ami-0d8a9b0419ddb331a | ||
ec2_instance_ttl: 40 | ||
ec2_ami_id: ami-04d8422a9ba4de80f | ||
ec2_instance_ttl: 40 # refreshed by jobs | ||
secrets: inherit | ||
|
||
stop-bench: | ||
uses: ./.github/workflows/setup-runner.yml | ||
with: | ||
runner_label: ${{ github.actor }}-bench-x86 | ||
subaction: stop | ||
# not used: | ||
ebs_cache_size_gb: 64 | ||
runner_concurrency: 1 | ||
subaction: start | ||
ec2_instance_type: m6a.4xlarge | ||
ec2_ami_id: ami-0d8a9b0419ddb331a | ||
ec2_instance_ttl: 15 | ||
secrets: inherit | ||
ec2_ami_id: ami-04d8422a9ba4de80f | ||
ec2_instance_ttl: 15 # refreshed by jobs | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1d96937a8e94a91c0c17c97102498d067fca76c3 | ||
6cc105ee441e093b4fccdd5fcc3db922eb28a3fb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
".": "0.34.0", | ||
"yarn-project/cli": "0.34.0", | ||
"yarn-project/aztec": "0.34.0", | ||
"barretenberg": "0.34.0", | ||
"barretenberg/ts": "0.34.0" | ||
".": "0.35.1", | ||
"yarn-project/cli": "0.35.1", | ||
"yarn-project/aztec": "0.35.1", | ||
"barretenberg": "0.35.1", | ||
"barretenberg/ts": "0.35.1" | ||
} |
Oops, something went wrong.