Skip to content

Commit 4b82ee7

Browse files
MadLittleModsFrenchGithubUser
authored andcommitted
Fix Build and push complement image CI job not having Poetry for complement.sh (element-hq#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#19523 This regressed in element-hq#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 c8cc95e commit 4b82ee7

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.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)