Skip to content

CRINGE-225: Use docker compose instead of just to build containers.#208

Merged
smarnach merged 1 commit intomainfrom
no-just-in-release-workflow
Mar 19, 2026
Merged

CRINGE-225: Use docker compose instead of just to build containers.#208
smarnach merged 1 commit intomainfrom
no-just-in-release-workflow

Conversation

@smarnach
Copy link
Copy Markdown
Contributor

@smarnach smarnach commented Mar 19, 2026

We don't install just in the release workflow, so calling it fails. We could install it, but it doesn't seem worth it just for that one command that's not really more complex when called directly.

@smarnach smarnach requested a review from a team as a code owner March 19, 2026 10:45
Copy link
Copy Markdown
Contributor

@biancadanforth biancadanforth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has a typo that would break the script when it runs, but I'm R+WC rather than requesting changes to avoid another review cycle.

Also wondering if we should include the --progress plain option as in the just build recipe equivalent.

- name: Build docker images for publishing
run: |
just build fakesentry gcs-emulator
docker comppose build fakesentry gcs-emulator
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/comppose/compose

Also, the exact just build recipe is docker compose --progress plain build {{args}}. I'm not sure what the default is, but we probably want plain here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the default is auto, which detects whether stdout is a terminal and then picks either tty or plain. In GitHub Actions, standard out is not a terminal, so it will pick plain.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I just reverted my ill-advised change to this line from #203. It was fine before, so it should be fine now.)

@smarnach smarnach added this pull request to the merge queue Mar 19, 2026
Merged via the queue into main with commit 0a80cab Mar 19, 2026
5 checks passed
@smarnach smarnach deleted the no-just-in-release-workflow branch March 19, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants