Skip to content

slarwise/version-promote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Promote deployment manifests using PRs and github workflows

A simple way to update deployment manifests using PRs and github workflows. Whenever a commit is pushed to main, a PR is created that updates the image tag for the dev deployment. This PR is merged as soon as all required PR checks have passed. A second PR is then created to do the same update to prod, but is not merged.

Creating a PR for the dev environment is necessary if pushing directly to the default branch is prohibited.

kustomize and the github cli are needed dependencies, which are usually installed by default on github runners. Other than that, no dependencies or external github actions are needed. See the workflow for all details.

flowchart LR
    A([Code push]) --> B1([Bot creates PR to promote dev])
    B1 --> B2([Bot merges PR])
    A --> C1([Bot creates PR to promote prod])
    C1 --> C2([Non-bot merges PR])
Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages