Skip to content

Commit d213ad3

Browse files
iAmMichaelConnorcharlielye
authored andcommitted
refactor: move overflow check
1 parent 9b1bc1e commit d213ad3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+934
-2140
lines changed

.github/workflows/ci3.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ jobs:
175175
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
176176
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
177177
NO_SPOT: 1
178-
run:
179-
./.github/ci3.sh network-teardown next-scenario "$NAMESPACE"
178+
run: ./.github/ci3.sh network-teardown next-scenario "$NAMESPACE"
180179

181180
#############
182181
# Benchmarks

Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ endef
5454

5555
# Fast bootstrap
5656
all: release-image barretenberg boxes playground docs aztec-up \
57-
bb-tests l1-contracts-tests yarn-project-tests boxes-tests playground-tests aztec-up-tests docs-tests noir-protocol-circuits-tests
57+
bb-tests l1-contracts-tests yarn-project-tests boxes-tests playground-tests aztec-up-tests docs-tests noir-protocol-circuits-tests release-image-tests
5858

5959
# Full bootstrap
6060
full: release-image barretenberg boxes playground docs aztec-up \
6161
bb-cpp-full yarn-project-benches \
62-
bb-full-tests l1-contracts-tests yarn-project-tests boxes-tests playground-tests aztec-up-tests docs-tests noir-protocol-circuits-tests
62+
bb-full-tests l1-contracts-tests yarn-project-tests boxes-tests playground-tests aztec-up-tests docs-tests noir-protocol-circuits-tests release-image-tests
6363

6464
# Release. Everything plus copy bb cross compiles to ts projects.
6565
release: all bb-cpp-release-dir bb-ts-cross-copy
@@ -293,7 +293,10 @@ yarn-project-benches: yarn-project
293293
release-image: yarn-project
294294
$(call build,$@,release-image)
295295

296-
boxes: release-image
296+
release-image-tests: release-image
297+
$(call test,$@,release-image)
298+
299+
boxes: yarn-project
297300
$(call build,$@,boxes)
298301

299302
boxes-tests: boxes
@@ -305,7 +308,6 @@ playground: yarn-project
305308
playground-tests: playground
306309
$(call test,$@,playground)
307310

308-
# Docs - Project documentation
309311
docs: yarn-project
310312
$(call build,$@,docs)
311313

@@ -315,5 +317,5 @@ docs-tests: docs
315317
aztec-up: yarn-project
316318
$(call build,$@,aztec-up)
317319

318-
aztec-up-tests: aztec-up release-image
320+
aztec-up-tests: aztec-up
319321
$(call test,$@,aztec-up)

aztec-up/.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.terraform
22
.terraform*
3-
.DS_Store
3+
.DS_Store
4+
bin/versions
5+
verdaccio-storage
6+
aztec-release-test-image

aztec-up/Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
########################################################################################################################
2-
# A pure ubuntu + docker install. Used for testing releases.
3-
FROM ubuntu:noble AS dind
4-
RUN apt-get update && apt-get install -y curl
5-
RUN curl -fsSL https://raw.githubusercontent.com/devcontainers/features/refs/heads/main/src/docker-in-docker/install.sh | bash
2+
# A minimal ubuntu setup. Used for testing releases.
3+
FROM ubuntu:noble
4+
RUN apt update && apt install -y \
5+
curl \
6+
git \
7+
build-essential \
8+
python3 \
9+
netcat-openbsd \
10+
&& rm -rf /var/lib/apt/lists/*
11+
COPY --chown=1000:1000 verdaccio-storage /home/ubuntu/verdaccio-storage
612
RUN touch /aztec_release_test_container

aztec-up/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ VERSION=1.2.3 aztec-up
2626
```
2727

2828
This will install the tagged release version 1.2.3.
29+
30+
## Testing
31+
32+
```
33+
INSTALL_URI=file://$(git rev-parse --show-toplevel)/aztec-up/bin $(git rev-parse --show-toplevel)/aztec-up/bin/aztec-install
34+
```

aztec-up/bin/.aztec-run

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)