File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ git submodule update --init --recursive
1515# Poblate cachix cahe
1616nix flake archive --json | jq -r ' .path,(.inputs|to_entries[].value.path)' | cachix push espresso-systems-private
1717
18+ echo " [*] Downloading Docker Compose..."
19+ DOCKER_PLUGINS=/usr/local/lib/docker/cli-plugins/
20+ sudo mkdir -p $DOCKER_PLUGINS
21+ sudo curl -SL https://github.com/docker/compose/releases/download/v2.40.0/docker-compose-linux-x86_64 \
22+ -o $DOCKER_PLUGINS /docker-compose
23+ sudo chmod +x $DOCKER_PLUGINS /docker-compose
24+
1825echo " [*] Starting Docker..."
1926sudo systemctl enable --now docker
2027sudo usermod -a -G docker ec2-user
@@ -28,4 +35,4 @@ sudo systemctl start nitro-enclaves-allocator.service
2835
2936echo " [*] Running tests in nix develop shell..."
3037
31- nix develop --command bash -c " just compile-contracts-fast && just build-batcher-enclave-image && just espresso-enclave-tests"
38+ nix develop --command bash -c " just build-devnet && just build-batcher-enclave-image && just espresso-enclave-tests && just devnet -enclave-tests"
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ espresso-tests timeout=espresso_tests_timeout: compile-contracts
4343espresso-enclave-tests :
4444 ESPRESSO_RUN_ENCLAVE_TESTS=true go test -timeout={{ espresso_tests_timeout}} -p=1 -count=1 ./ espresso/ enclave-tests/ ...
4545
46+ devnet-enclave-tests :
47+ ESPRESSO_RUN_ENCLAVE_TESTS=true U_ID={{ uid}} GID={{ gid}} go test -timeout 30 m -p 1 -count 1 -v -run ' TestEnclaveRestart' ./ espresso/ devnet-tests/ ...
48+
4649
4750IMAGE_NAME := " ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:release-fix-cors"
4851remove-espresso-containers :
You can’t perform that action at this time.
0 commit comments