Isolate concurrent federation interop runs (SCR-4)
CI / validate-monitoring (push) Successful in 16s
CI / lint (push) Successful in 17s
CI / federation-interop (push) Successful in 1m40s
CI / test (push) Successful in 5m23s
CI / python-package (push) Skipped
CI / assets (push) Successful in 13s
CI / images (push) Successful in 31s
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
CI / validate-monitoring (push) Successful in 16s
CI / lint (push) Successful in 17s
CI / federation-interop (push) Successful in 1m40s
CI / test (push) Successful in 5m23s
CI / python-package (push) Skipped
CI / assets (push) Successful in 13s
CI / images (push) Successful in 31s
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
Let Docker allocate each run's network subnet instead of deriving a /24 from the run number, trust private ranges in GoToSocial, and tag/clean up api and ui images per run so overlapping runs (e.g. main push plus tag) cannot collide. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
735556bf21
commit
65cd610468
4 files changed
+16
-11
No files matched your search
@@ -87,11 +87,10 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Scrobbler <-> GoToSocial
|
||||
env:
|
||||
# Own compose project, network and image tags, so concurrent runs can't collide
|
||||
INTEROP_PROJECT: interop-${{ github.run_id }}
|
||||
run: |
|
||||
# A subnet of its own, so concurrent runs can't collide
|
||||
export INTEROP_SUBNET="172.30.$(( ${{ github.run_number }} % 200 + 20 )).0/24"
|
||||
scripts/interop/run.sh
|
||||
SCROBBLER_IMAGE_TAG: interop-${{ github.run_id }}
|
||||
run: scripts/interop/run.sh
|
||||
|
||||
# ---- Publishing (main and v* tags only) -------------------------------------
|
||||
|
||||
|
||||
Reference in new issue
Block a user