docsbuilding (staging): build docs.stg from forge.stg docs/site-builder #13624

Closed
opened 2026-10-12 14:28:21 +00:00 by hricky · 3 comments

Description of request

The Fedora Docs team has moved the stg branch of docs/docs-fp-o to its own repository on the staging Forge: https://forge.stg.fedoraproject.org/docs/site-builder (branch main).
We would like docs.stg.fedoraproject.org to be built from there.
Nothing else changes: OpenShift keeps building the site as it does today, and production is not affected.

The change is in infra/ansible#3713.
It touches only the staging output of three templates in roles/openshift-apps/docsbuilding:

  • buildconfig.yml.j2: the git uri and ref of the builder image.
  • cron.yml.j2 and cron-translated.yml.j2: the new variables DOCS_REPO_URL and DOCS_REPO_BRANCH.

What we ask for:

  1. Review and merge the pull request.
  2. Run the openshift-apps/docsbuilding.yml playbook for staging.
  3. Run it once more with the build tag, so the builder image is rebuilt from the new repository.
    The cron jobs need a builder image that knows DOCS_REPO_BRANCH, which was added to the build script on 2026-10-07.

Affected Service or System

docs.stg.fedoraproject.org (OpenShift app docsbuilding, staging)

Deadline

No response

Additional Context or Error Logs

We tested the same builder image and variables locally.
The English build produces the same components and pages as the live docs.stg.
The translated build behaves like the current staging build, including an existing content error at the cs site that is unrelated to this change.

If something goes wrong, reverting the pull request and running the playbook again restores the current state.
The stg branch stays in docs/docs-fp-o until we have confirmed that the new setup works.

Background: docs/docs-fp-o#61, and for the new repository name and the main branch docs/docs-fp-o#20 and docs/docs-fp-o#19.

### Description of request The Fedora Docs team has moved the `stg` branch of [docs/docs-fp-o](https://forge.fedoraproject.org/docs/docs-fp-o) to its own repository on the staging Forge: https://forge.stg.fedoraproject.org/docs/site-builder (branch `main`). We would like docs.stg.fedoraproject.org to be built from there. Nothing else changes: OpenShift keeps building the site as it does today, and production is not affected. The change is in https://forge.fedoraproject.org/infra/ansible/pulls/3713. It touches only the staging output of three templates in `roles/openshift-apps/docsbuilding`: - `buildconfig.yml.j2`: the git `uri` and `ref` of the builder image. - `cron.yml.j2` and `cron-translated.yml.j2`: the new variables `DOCS_REPO_URL` and `DOCS_REPO_BRANCH`. What we ask for: 1. Review and merge the pull request. 2. Run the `openshift-apps/docsbuilding.yml` playbook for staging. 3. Run it once more with the `build` tag, so the `builder` image is rebuilt from the new repository. The cron jobs need a builder image that knows `DOCS_REPO_BRANCH`, which was added to the build script on 2026-10-07. ### Affected Service or System docs.stg.fedoraproject.org (OpenShift app docsbuilding, staging) ### Deadline _No response_ ### Additional Context or Error Logs We tested the same builder image and variables locally. The English build produces the same components and pages as the live docs.stg. The translated build behaves like the current staging build, including an existing content error at the `cs` site that is unrelated to this change. If something goes wrong, reverting the pull request and running the playbook again restores the current state. The `stg` branch stays in docs/docs-fp-o until we have confirmed that the new setup works. Background: https://forge.fedoraproject.org/docs/docs-fp-o/issues/61, and for the new repository name and the `main` branch https://forge.fedoraproject.org/docs/docs-fp-o/issues/20 and https://forge.fedoraproject.org/docs/docs-fp-o/issues/19.
kevin self-assigned this 2026-10-12 19:04:13 +00:00
Owner

Done. Can you check and confirm all is working as you expect?

Done. Can you check and confirm all is working as you expect?
Author

Thanks! The hourly build has kept running since the change, and the translated build behaves as before.

Both repos currently have the same content, so the site looks identical regardless of which one is cloned. To check it, I opened https://forge.stg.fedoraproject.org/docs/site-builder/pulls/2, a change that exists only in the new repo and fixes the translated build. Once it is merged, tonight's translated build (23:00 UTC) will show the result, and I will confirm here tomorrow.

Thanks! The hourly build has kept running since the change, and the translated build behaves as before. Both repos currently have the same content, so the site looks identical regardless of which one is cloned. To check it, I opened https://forge.stg.fedoraproject.org/docs/site-builder/pulls/2, a change that exists only in the new repo and fixes the translated build. Once it is merged, tonight's translated build (23:00 UTC) will show the result, and I will confirm here tomorrow.
Author

Confirmed, thanks! docs.stg is now built from docs/site-builder on forge.stg. This is proven by the cs fix that was merged only there (site.yml: Take localization docs from main #2). Since the build on 2026-10-13 at 23:00 UTC, the cs and fr translations are published again (the previous "Last build" timestamp was 2026-06-30), and the English site is still rebuilt every hour. This ticket can be closed.

Confirmed, thanks! docs.stg is now built from docs/site-builder on forge.stg. This is proven by the `cs` fix that was merged only there ([site.yml: Take localization docs from main #2](https://forge.stg.fedoraproject.org/docs/site-builder/pulls/2)). Since the build on 2026-10-13 at 23:00 UTC, the `cs` and `fr` translations are published again (the previous "Last build" timestamp was 2026-06-30), and the English site is still rebuilt every hour. This ticket can be closed.
kevin closed this issue 2026-10-14 14:34:20 +00:00
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
infra/tickets#13624
No description provided.