Skip to content

Conversation

SamStaijen
Copy link
Member

As an MVP, i want to be able to always push a build to the second staging server. In later configurations, the right way to go (in my opinion) would be to have DEV, or PROD prefix for the secrets. all merge request pipelines manually go to staging. All development branch pipelines automatically go to staging. All ma[in/ster] pipelines go to prod. Just a ctrl c+v of the pipeline, arguably in n different files (dev.yml and prod.yml, or MR.yml, development.yaml, main.yaml, etc.)

@SilasPeters
Copy link
Member

In later configurations, the right way to go (in my opinion) would be to have DEV, or PROD prefix for the secrets

If you target an environment like you do, then you already have either prod or dev secrests/variables

@SilasPeters
Copy link
Member

How can we manually deploy from a PR? Create a temporary tag which harbor recognizes as higher prio than latest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants