[work-leas] chore: derive the repository path instead of hardcoding daniel/ #20

Merged
eden merged 1 commit from work-leas-exodus-make-awx-debian-ee-owner-relative into main 2026-10-26 19:46:34 +00:00
Owner

The image build already tags with ${{ github.repository }}, so published images follow the repository owner. Two places still named the owner literally:

  • .gitea/workflows/renovate.yaml pinned RENOVATE_REPOSITORIES to daniel/awx-debian-ee; Renovate would stop finding the repo after an ownership change. Now ${{ github.repository }}.
  • scripts/set-renovate-secret.sh and scripts/set-renovate-github-token.sh hardcoded the admin API path and the prompts. They now derive <owner>/<name> from the checkout's origin URL, with REPO=<owner>/<name> as an override for running outside a checkout.

Verified locally: bash -n passes on both scripts, and the derivation returns daniel/awx-debian-ee for the ssh and https remote forms and mossfire/awx-debian-ee for the post-move URL.

Prep for the repo namespace move (bead work-leas, epic work-thsk). This repo has no PR-triggered workflow, so there are no CI checks to wait on.

The image build already tags with `${{ github.repository }}`, so published images follow the repository owner. Two places still named the owner literally: - `.gitea/workflows/renovate.yaml` pinned `RENOVATE_REPOSITORIES` to `daniel/awx-debian-ee`; Renovate would stop finding the repo after an ownership change. Now `${{ github.repository }}`. - `scripts/set-renovate-secret.sh` and `scripts/set-renovate-github-token.sh` hardcoded the admin API path and the prompts. They now derive `<owner>/<name>` from the checkout's origin URL, with `REPO=<owner>/<name>` as an override for running outside a checkout. Verified locally: `bash -n` passes on both scripts, and the derivation returns `daniel/awx-debian-ee` for the ssh and https remote forms and `mossfire/awx-debian-ee` for the post-move URL. Prep for the repo namespace move (bead work-leas, epic work-thsk). This repo has no PR-triggered workflow, so there are no CI checks to wait on.
[work-leas] chore: derive the repository path instead of hardcoding daniel/
All checks were successful
Close bead / close (pull_request) Successful in 5s
c68841df33
The image build already tags with ${{ github.repository }}, so publishing
follows the repo's owner. Two places still named the owner literally:

- renovate.yaml pinned RENOVATE_REPOSITORIES to daniel/awx-debian-ee, which
  would stop matching the repo after an ownership change.
- both set-renovate-*.sh scripts hardcoded the admin API path and prompts.

Renovate now uses ${{ github.repository }}. The scripts derive <owner>/<name>
from the checkout's origin URL and accept REPO=<owner>/<name> as an override.

Verified locally: bash -n passes on both scripts, and the derivation returns
daniel/awx-debian-ee for both the ssh and https remote forms and
mossfire/awx-debian-ee for the post-move URL.
eden merged commit f5a5795b98 into main 2026-10-26 19:46:34 +00:00
eden deleted branch work-leas-exodus-make-awx-debian-ee-owner-relative 2026-10-26 19:46:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
workshop/awx-debian-ee!20
No description provided.