James Ferguson
05/05/2023, 3:14 PMdev
, qa
, prod
), how have you managed to stick to GitOps principles whilst deploying to different environments through an MR/PR? For example...
This bit is clear:
• Branch created = ephemeral namespace for deployment in dev
• MR/PR created = "deploy" to the services main dev
namespace (in dev
)
• MR/PR merged to default branch = "deploy" to the services main live
namespace (in live
)
This bit is unclear:
• Once deployed to dev
and all CI checks have passed etc, how do you manage the promotion process from dev
to qa
(and even a preProd
if that was an option)?
Thanks in advance!
(plus any other ideas / methods welcome)Kyle Campbell
05/05/2023, 5:29 PMtarget
set to a corresponding repo branch which represents the environment. The mainline of the repo represents the next deployment candidate.
Promoting a candidate to staging means creating a PR on staging from our mainline to the staging branch. When that’s merged, the Argo app watching that branch sees the change and syncs. This process repeats for production.Kyle Campbell
05/05/2023, 5:31 PMCorstijan Kortsmit
05/05/2023, 6:01 PMRomaric Philogène
05/07/2023, 7:32 PMKyle Campbell
05/08/2023, 5:27 PMCorstijan Kortsmit
05/09/2023, 6:03 AMJames Ferguson
05/09/2023, 4:41 PMJames Daniels
05/11/2023, 9:41 AMKyle Campbell
05/11/2023, 10:44 AMCorstijan Kortsmit
05/11/2023, 10:56 AMJames Daniels
05/12/2023, 2:01 PMAbhijit Hendre
06/29/2023, 2:55 PMKyle Campbell
06/29/2023, 3:46 PMKyle Campbell
06/29/2023, 3:48 PMAbhijit Hendre
06/30/2023, 4:55 AMKyle Campbell
06/30/2023, 1:31 PM