[FOLIO-3186] Investigate infrastructure configuration and scripts to handle Git default branch name Created: 03/Jun/21 Updated: 23/Jul/21 |
|
| Status: | Open |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | TBD |
| Reporter: | David Crossley | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Development Team: | FOLIO DevOps | ||||||||
| Description |
|
Various infrastructure and Jenkins configurations explicitly use "master" for deciding whether the operation is for a feature branch or the mainline branch. Handle the transition to new default branch. This is a basic overview and investigation of the steps that will be required. Scanned some main repositories to find mentions of "master". Trying to added separate tickets for each.
About 12 Groovy files, mostly in the "vars" directory. Every backend repo Jenkinsfile has "publishMaster" parameter in "doDocker" Also some non-standard Jenkinsfile (e.g. raml-util mod-licenses) refers to "master" About 20 files, mostly in roles, a couple in group_vars, and a few in docs Also need to consider release branches which are still in use. About 60 files: Also need to consider branches which are still in use. Update git submodule at CI/ansible/folio-ansible platform-complete and platform-core Jenkinsfile.build Also need to consider snapshot and release branches which are still in use. packaging/docker-build.sh These refer to hard-coded "master" for folio-ansible: These deprecated tools refer to "master" of the old configuration file Most pipelines have explicit configuration for "master" branch of the relevant repos. Apart from much documentation
The GitHub Actions workflows (daily automation) will need various code changes. GitHub Actions workflow-templates need to handle master or the new name. |