Skip to content

Use discourse_docker web.template.yml for base_image version - #340

Merged
davidtaylorhq merged 1 commit into
mainfrom
base-image-from-discourse-docker
Nov 2, 2026
Merged

davidtaylorhq merged 1 commit into
mainfrom
base-image-from-discourse-docker

Conversation

@davidtaylorhq

Copy link
Copy Markdown
Member

Whenever we bump the discourse base image, we would have to manually update a constant in this repository to force the upgrade. As security-critical image bumps have become more frequent recently, this is becoming more tedious. This commit automates the process by having docker_manager fetch the latest web.template.yml base_image automatically and use that as the source of truth.

Whenever we bump the discourse base image, we would have to manually update a constant in this repository to force the upgrade. As security-critical image bumps have become more frequent recently, this is becoming more tedious. This commit automates the process by having docker_manager fetch the latest `web.template.yml` `base_image` automatically and use that as the source of truth.
@davidtaylorhq
davidtaylorhq force-pushed the base-image-from-discourse-docker branch from 1dce053 to 85a2562 Compare October 30, 2026 13:43
@davidtaylorhq
davidtaylorhq merged commit fa6d57f into main Nov 2, 2026
11 checks passed
@davidtaylorhq
davidtaylorhq deleted the base-image-from-discourse-docker branch November 2, 2026 08:53
@davidtaylorhq

Copy link
Copy Markdown
Member Author

@patch-triage backport

@discourse-patch-triage

discourse-patch-triage Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

On it! Preparing a backport PR for d-compat/2026.10. Backport command: @patch-triage backport this to 2026.10. Follow along with the logs.

✅ Waiting for a worker — 7s
✅ Preparing the sandbox — 13s
✅ Preparing the backport — 1m 10s
✅ Running lint — 10s
✅ Publishing the result — 3s

Done.

@discourse-patch-triage

discourse-patch-triage Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

On it! Preparing a backport PR for d-compat/2026.9. Backport command: @patch-triage backport this to 2026.9. Follow along with the logs.

✅ Waiting for a worker — 10s
✅ Preparing the sandbox — 27s
✅ Preparing the backport — 57s
✅ Running lint — 8s
✅ Publishing the result — 3s

Done.

@discourse-patch-triage

discourse-patch-triage Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

On it! Preparing a backport PR for d-compat/2026.7. Backport command: @patch-triage backport this to 2026.7. Follow along with the logs.

✅ Waiting for a worker — 2m 2s
✅ Preparing the sandbox — 15s
✅ Preparing the backport — 46s
✅ Running lint — 6s
✅ Publishing the result — 2s

Done.

@discourse-patch-triage

Copy link
Copy Markdown

Created backport PR for d-compat/2026.10: #341

⚠️ Patch Triage used an AI agent to resolve backport conflicts or repair lint. Please re-review the backport carefully before merging.

🤖 AI generated response - help improve with 👍 or 👎

@discourse-patch-triage

Copy link
Copy Markdown

Created backport PR for d-compat/2026.9: #342

⚠️ Patch Triage used an AI agent to resolve backport conflicts or repair lint. Please re-review the backport carefully before merging.

🤖 AI generated response - help improve with 👍 or 👎

@discourse-patch-triage

Copy link
Copy Markdown

Created backport PR for d-compat/2026.7: #343

⚠️ Patch Triage used an AI agent to resolve backport conflicts or repair lint. Please re-review the backport carefully before merging.

🤖 AI generated response - help improve with 👍 or 👎

davidtaylorhq added a commit that referenced this pull request Nov 21, 2026
…ort 2026.9] (#342)

* Use discourse_docker `web.template.yml` for base_image version (#340)

Whenever we bump the discourse base image, we would have to manually update a constant in this repository to force the upgrade. As security-critical image bumps have become more frequent recently, this is becoming more tedious. This commit automates the process by having docker_manager fetch the latest `web.template.yml` `base_image` automatically and use that as the source of truth.

(cherry picked from commit fa6d57f)

* DEV: Apply backport lint fixes

---------

Co-authored-by: David Taylor <david@taylorhq.com>
Co-authored-by: discourse-patch-triage[bot] <272280883+discourse-patch-triage[bot]@users.noreply.github.com>
davidtaylorhq added a commit that referenced this pull request Nov 21, 2026
…ort 2026.10] (#341)

* Use discourse_docker `web.template.yml` for base_image version (#340)

Whenever we bump the discourse base image, we would have to manually update a constant in this repository to force the upgrade. As security-critical image bumps have become more frequent recently, this is becoming more tedious. This commit automates the process by having docker_manager fetch the latest `web.template.yml` `base_image` automatically and use that as the source of truth.

(cherry picked from commit fa6d57f)

* DEV: Apply backport lint fixes

---------

Co-authored-by: David Taylor <david@taylorhq.com>
Co-authored-by: discourse-patch-triage[bot] <272280883+discourse-patch-triage[bot]@users.noreply.github.com>
davidtaylorhq added a commit that referenced this pull request Nov 21, 2026
…ort 2026.7] (#343)

* Use discourse_docker `web.template.yml` for base_image version (#340)

Whenever we bump the discourse base image, we would have to manually update a constant in this repository to force the upgrade. As security-critical image bumps have become more frequent recently, this is becoming more tedious. This commit automates the process by having docker_manager fetch the latest `web.template.yml` `base_image` automatically and use that as the source of truth.

(cherry picked from commit fa6d57f)

* DEV: Apply backport lint fixes

---------

Co-authored-by: David Taylor <david@taylorhq.com>
Co-authored-by: discourse-patch-triage[bot] <272280883+discourse-patch-triage[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants