From 58370fd4f25b23591f2823d5e8d66ec532776bac Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Fri, 10 Jul 2026 11:40:45 -0400 Subject: [PATCH] test: optimize the podman-regtest-infinity-pro service in CI --- .github/workflows/test-bdk-ffi-latest.yaml | 9 ++++----- .github/workflows/test.yaml | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-bdk-ffi-latest.yaml b/.github/workflows/test-bdk-ffi-latest.yaml index 352359e..462e7b7 100644 --- a/.github/workflows/test-bdk-ffi-latest.yaml +++ b/.github/workflows/test-bdk-ffi-latest.yaml @@ -13,19 +13,18 @@ jobs: services: bitcoin-regtest: - image: ghcr.io/thunderbiscuit/podman-regtest-infinity-pro:0.3.2 + image: ghcr.io/thunderbiscuit/podman-regtest-infinity-pro:0.4.0 ports: - 18443:18443 - 18444:18444 - 3002:3002 - - 3003:3003 - 60401:60401 # The container initialization step will wait until everything is ready before allowing other steps to run options: >- - --health-cmd "test $(bitcoin-cli -regtest -rpcuser=regtest -rpcpassword=password getblockcount) -gt 0" - --health-interval 10s + --health-cmd "test $(bitcoin-cli -regtest -rpcuser=regtest -rpcpassword=password getblockcount) -gt 100" + --health-interval 3s --health-timeout 5s - --health-retries 6 + --health-retries 20 steps: - name: "Check out PR branch" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 24aaf7f..b6b07e8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,19 +10,18 @@ jobs: services: bitcoin-regtest: - image: ghcr.io/thunderbiscuit/podman-regtest-infinity-pro:0.3.2 + image: ghcr.io/thunderbiscuit/podman-regtest-infinity-pro:0.4.0 ports: - 18443:18443 - 18444:18444 - 3002:3002 - - 3003:3003 - 60401:60401 # The container initialization step will wait until everything is ready before allowing other steps to run options: >- - --health-cmd "test $(bitcoin-cli -regtest -rpcuser=regtest -rpcpassword=password getblockcount) -gt 0" - --health-interval 10s + --health-cmd "test $(bitcoin-cli -regtest -rpcuser=regtest -rpcpassword=password getblockcount) -gt 100" + --health-interval 3s --health-timeout 5s - --health-retries 6 + --health-retries 20 steps: - name: "Check out PR branch"