Skip to content

Commit

Permalink
feat: YML manifest. Simplify YBP. (#2353)
Browse files Browse the repository at this point in the history
This contains some fairly hefty changes to how we build.
* `build_manifest.json` is now `build_manifest.yml` (leaner and we can
add comments!)
* `build_manifest.sh` is gone. `bootstrap_docker.sh` knows what to build
depending on what you ask it to build. *WIP*
  * Fixup args.
* Remove some unneeded installs from
`barretenberg/cpp/dockerfiles/Dockerfile.wasm-linux-clang`
* `jq` removed from repo as installed by default in ubuntu. But... `yq`
isn't on our spot AMI, so adding for now.
* We shift to using docker buildkit with `DOCKER_BUILDKIT=1` being set.
Needed so we can have different `.dockerignore` files for the same build
dir. Also it's just the newer, faster way.
* `yarn-project-base` now doesn't need to have every workspace listed in
it. The dockerignore file ensures only the package.json and
tsconfig.json files are in the context.
* `yarn-project` now has a Dockerfile at root that builds upon the
above. It includes the full workspace, builds it, checks formatting, and
runs all the unit tests in parallel on a 64 core machine (e2e and canary
tests excluded).
* Various tweaks to various files to make formatting, tests etc pass in
this way.

---------

Co-authored-by: ludamad <[email protected]>
  • Loading branch information
charlielye and ludamad authored Sep 25, 2023
1 parent a4197e7 commit bf73bc3
Show file tree
Hide file tree
Showing 79 changed files with 818 additions and 1,693 deletions.
545 changes: 117 additions & 428 deletions .circleci/config.yml

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "legacy-barretenberg-build-system"]
path = barretenberg/build-system
url = https://github.com/AztecProtocol/build-system
[submodule "l1-contracts/lib/openzeppelin-contracts"]
path = l1-contracts/lib/openzeppelin-contracts
url = https://github.com/openzeppelin/openzeppelin-contracts
Expand Down
Loading

0 comments on commit bf73bc3

Please sign in to comment.