Open gberche-orange opened 4 years ago
Possible design done with @JCL38-ORANGE :
private void registerPaasTemplatesBranches(Context ctx) {
ctx.contextKeys.put(TEMPLATES_REPOSITORY_ALIAS_NAME + GitProcessorContext.checkOutRemoteBranch.toString(), pipelineProperties.getCheckOutRemoteBranch()); //"develop"
ctx.contextKeys.put(TEMPLATES_REPOSITORY_ALIAS_NAME + GitProcessorContext.createBranchIfMissing.toString(), pipelineProperties.getCreateBranchIfMissing()); //"feature-coadepls-cassandra-serviceinstances"
}
secretsGitProcessor()
and templateGitProcessor()
As a coab operator
See https://github.com/orange-cloudfoundry/paas-templates/issues/844#issuecomment-670432493 for details of such occurence.
In particular, the coab templates instance branches were incorrectly rebased against develop instead of a custom model branch.
Ways to detect in advance failure to push to templates instance branch:
Alternatives: