diff --git a/.github/workflows/midnight.yml b/.github/workflows/midnight.yml index 7a00571049..5a34ea3004 100644 --- a/.github/workflows/midnight.yml +++ b/.github/workflows/midnight.yml @@ -42,5 +42,8 @@ jobs: curl -L https://github.com/witnet/witnet-rust/releases/download/0.5.0-rc1/witnet-rust-testnet-5-tests-storage.tar.gz --output ./storage.tar.gz tar -zxf ./storage.tar.gz + - name: Set up Docker Compose + uses: docker/setup-compose-action@v1 + - name: Run debug E2E test run: just e2e-debug \ No newline at end of file diff --git a/Justfile b/Justfile index 1a006ed08f..84e1b22890 100644 --- a/Justfile +++ b/Justfile @@ -115,7 +115,7 @@ cross-compile target profile="release": # run the latest stable release in the latest testnet e2e-stable test_name="example" +flags="": TEST_NAME={{test_name}} \ - docker-compose \ + docker compose \ -f docker/compose/e2e-stable/docker-compose.yaml \ up \ --scale=node=1 \ @@ -127,7 +127,7 @@ e2e-stable test_name="example" +flags="": e2e-debug test_name="example" +flags="": cargo build TEST_NAME={{test_name}} \ - docker-compose \ + docker compose \ -f docker/compose/e2e-debug/docker-compose.yaml \ up \ --abort-on-container-exit \ diff --git a/docker/debug-run/Dockerfile b/docker/debug-run/Dockerfile index f3c9d2ff4d..220404c2f8 100644 --- a/docker/debug-run/Dockerfile +++ b/docker/debug-run/Dockerfile @@ -1,10 +1,12 @@ -FROM ubuntu:focal +FROM ubuntu:noble # Install basic environment dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ libssl-dev \ - curl + curl \ + netcat-traditional \ + jq # Clean up apt packages so the docker image is as compact as possible RUN apt-get clean && apt-get autoremove