Skip to content

Commit d65ef84

Browse files
Fix Build and push complement image CI job not having Poetry for complement.sh (#19578)
❌ `Build and push complement image`, https://github.com/element-hq/synapse/actions/runs/23176317296/job/67339146082 ``` scripts-dev/complement.sh: line 227: poetry: command not found ``` Follow-up to element-hq/synapse#19523 This regressed in element-hq/synapse#19476 ### Testing strategy 1. Visit https://github.com/element-hq/synapse/actions/workflows/push_complement_image.yml 1. **Run workflow**: - **Use workflow from:** `madlittlemods/fix-complement-push-image-ci-job-poetry` - **Branch:** `develop` 1. Wait for CI to run and pass ✅
1 parent 7d8e874 commit d65ef84

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/push_complement_image.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ jobs:
4747
if: github.event_name == 'push'
4848
with:
4949
ref: master
50+
# We use `poetry` in `complement.sh`
51+
- uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2.0.0
52+
with:
53+
poetry-version: "2.2.1"
5054
- name: Login to registry
5155
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
5256
with:

changelog.d/19578.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix `Build and push complement image` CI job not having `poetry` available for the Complement runner script.

0 commit comments

Comments
 (0)