orange-cloudfoundry / cf-ops-automation-broker

On demand dedicated services through COA concourse pipeline engine
4 stars 0 forks source link

Detect early and recover better from invalid git config (e.g. service instance branch with custom model rebased against model) #309

Open gberche-orange opened 4 years ago

gberche-orange commented 4 years ago

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:

        // git push will trigger 1st for paas-templates and then 2nd for paas-secrets,
        // reducing occurences of fail-fast consistency check failures
        // see related https://github.com/orange-cloudfoundry/cf-ops-automation/issues/201
        processors.add(secretsGitProcessor);
        processors.add(templateGitProcessor);
        processors.add(boshProcessor);
gberche-orange commented 4 years ago

Possible design done with @JCL38-ORANGE :