-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #8270 Changed strategy when running `TXE` from aztec binary, now using compose to avoid logs being swallowed. Env variables `DEBUG` and `LOG_LEVEL` can be used as usual to control verbosity. This allows using `dep::aztec::oracle::debug_log::debug_log_format` and variants when running `aztec test`.
- Loading branch information
Showing
6 changed files
with
47 additions
and
17 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 |
---|---|---|
@@ -1,20 +1,23 @@ | ||
services: | ||
aztec: | ||
txe: | ||
image: "aztecprotocol/aztec" | ||
environment: | ||
DEBUG: # Loaded from the user shell if explicitly set | ||
LOG_LEVEL: # Loaded from the user shell if explicitly set | ||
HOST_WORKDIR: "${PWD}" # Loaded from the user shell to show log files absolute path in host | ||
volumes: | ||
- ./log:/usr/src/yarn-project/aztec/log:rw | ||
- ${HOME}:${HOME} | ||
command: start --txe --port 8081 | ||
|
||
aztec-nargo: | ||
image: "aztecprotocol/aztec-nargo" | ||
environment: | ||
HOME: # Loaded from the user shell | ||
NARGO_FOREIGN_CALL_TIMEOUT: 300000 # To avoid timeouts when many tests run at once | ||
NARGO_FOREIGN_CALL_TIMEOUT: "${NARGO_FOREIGN_CALL_TIMEOUT}" # To avoid timeouts when many tests run at once | ||
working_dir: "${WORKDIR}" | ||
command: "${TEST_ARGS}" | ||
volumes: | ||
- ${HOME}:${HOME} | ||
depends_on: | ||
- aztec | ||
- txe |
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
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