Sharedflow Repo setup (with branching) in github

Former Community Member
Not applicable

Hi,

I am planning to use repo setup for my sharedflows. I have the following branches in each repo: master, non-prod, prod.

I am using apigee deploy maven plugin to deploy them to APIGEE. I have 1 repo for each sharedflow.

I have the sharedflow common code in master. The only two files that are specific to an org and its environments are "parent-sharedflow-pom.xml" and "sharedflow/config.json". I have created and added these two files to each branch (non-prod and prod) with org specific content.

When I make a feature branch and then merge to master, I am able to merge the changes to non-prod without overwriting the org specific files. If i have to merge the same changes from non-prod to prod, it will overwrite the two files also.

How do the files need to organized so that the code promotion from master -> non-prod -> prod works?

0 0 75
0 REPLIES 0