From 9efc3cfc4771da967a3261d8a2fcb090c3160856 Mon Sep 17 00:00:00 2001 From: Maxim Gajdaj Date: Sun, 19 Oct 2025 20:43:37 +0700 Subject: [PATCH 1/3] upd(justfile): deprecated docker-compose to modern docker compose --- Justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 1a006ed08..84e1b2289 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 \ From 539efabc3d1290145b39c661fc6c27bce4e95b83 Mon Sep 17 00:00:00 2001 From: Maxim Gajdaj Date: Sun, 19 Oct 2025 20:45:34 +0700 Subject: [PATCH 2/3] upd(midnight.yml): uses Set up Docker Compose GH Action --- .github/workflows/midnight.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/midnight.yml b/.github/workflows/midnight.yml index 7a0057104..5a34ea300 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 From cab82a0d933ceee73ee72f8776d3e55552852cf1 Mon Sep 17 00:00:00 2001 From: Maxim Gajdaj Date: Mon, 20 Oct 2025 12:42:38 +0700 Subject: [PATCH 3/3] upd(debug-run): actualize Dockerfile --- docker/debug-run/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/debug-run/Dockerfile b/docker/debug-run/Dockerfile index f3c9d2ff4..220404c2f 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