#Multiple branches for catalog-info

8 messages · Page 1 of 1 (latest)

rugged halo
#

Different teams use different “main” branches . Eg one of them uses “trunk” as their main development branch . Another uses “develop”

(In addition to most teams which use main or master)

Would you use the annotation managed-by-origin-location, which would point from the “main” to the “develop” branch ?

midnight vault
#

I am not fully understanding your question. Are you using github? Are you aware that github has a default branch option. If you set this to the correct branch whether its develop, main or master, then backstage can be configured to discover catalog yaml files from the default branch.

rugged halo
midnight vault
rugged halo
#

Yeah I’m reading that rn

midnight vault
#

You can use register existing component for tests on a branch.

#

Make sure to unregister it so that the item on the default branch does not make a conflict with the branch.

rugged halo
#

So when we define a default branch. It is NOT using their default branch but instead using the defined branch