Skip to content

ci: add the files of the repository template - #7307

Closed
dan-petty wants to merge 1 commit into
mainfrom
ci/repository-template
Closed

dan-petty wants to merge 1 commit into
mainfrom
ci/repository-template

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Add the files of the repository template of dan-petty/infra at v0.24.1 that this repository does not hold yet. devops repos onboard renders the template with Copier and keeps each file that the repository already holds. Renovate brings each new tag of the template with copier update.

@dan-petty
dan-petty marked this pull request as ready for review November 26, 2026 15:51
@dan-petty
dan-petty enabled auto-merge (squash) November 26, 2026 15:51
@dan-petty
dan-petty marked this pull request as draft November 26, 2026 15:53
auto-merge was automatically disabled November 26, 2026 15:53

Pull request was converted to draft

@dan-petty

Copy link
Copy Markdown
Owner Author

Closed: the answers of this render are wrong for devops-cli, and a merge would make them the baseline.

  • .copier-answers.yml says release_type: simple. devops-cli releases with release-please release-type: python (release-please-config.json). The answer simple is also why the render adds version.txt with 0.0.0 (infra copier.yml:20), which no tool of devops-cli reads.
  • .copier-answers.yml says scopes: ''. devops-cli has many scopes, and each needs its scope/* label.
  • After the merge, devops repos onboard takes .copier-answers.yml as the answers and refuses a flag that differs (src/devops_cli/github/onboard/baseline.py:96-116). The wrong answers would stay until a person runs copier update --data.
  • feat(tf): declare and import devops-cli in tf/github/dan-petty #5325 records devops-cli in the baseline and proves that its live settings match. That item renders devops-cli with the right answers, including the Pages and collaborator answers of docs: plan #175 Add Pages and collaborators to the template infra#207.

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.

1 participant