Users can instantiate an image promotion pipeline to promote image
between environments.
A specially designed test suite should be run to ensure the image is mature
enough before promotion. Since we currently don't have such a test suite,
this pipeline still need to be manually triggered.
What this OpenShift Pipeline does is basically:
- Pulling the image to be promoted
- Pushing the image to destinations with promoted tags.
- Optionally tagging the promoted image into an image stream after pushes.
NOTE:
1. This pipeline DOES NOT cover the step of running tests before actually promoting the image.
2. It's designed to be a callback pipeline triggered by a microservice that handles Greenwave messages.
3. It can be triggered manually (as describe below) to force promoting an image without any tests.
Example Installations
Installing a pipeline for promoting dev image to stage:
To trigger a promotion, start the corresponding BuildConfig with oc start-build $PIPELINE_NAME:
# Promoting to stageocstart-buildwaiverdb-promoting-to-stage-pipeline
# Promoting to prodocstart-buildwaiverdb-promoting-to-stage-pipeline
Demos
https://paas.upshift.redhat.com/console/project/waiverdb-test/browse/pipelines (Free free to run all of them: they are configured not to affect our live instances)
Please refer to openshift/README.md for more instructions.
Users can instantiate an image promotion pipeline to promote image
between environments.
A specially designed test suite should be run to ensure the image is mature
enough before promotion. Since we currently don't have such a test suite,
this pipeline still need to be manually triggered.
What this OpenShift Pipeline does is basically:
- Pulling the image to be promoted
- Pushing the image to destinations with promoted tags.
- Optionally tagging the promoted image into an image stream after pushes.
NOTE:
1. This pipeline DOES NOT cover the step of running tests before actually promoting the image.
2. It's designed to be a callback pipeline triggered by a microservice that handles Greenwave messages.
3. It can be triggered manually (as describe below) to force promoting an image without any tests.
Example Installations
Manually Trigger a Promotion
To trigger a promotion, start the corresponding BuildConfig with
oc start-build $PIPELINE_NAME:Demos
https://paas.upshift.redhat.com/console/project/waiverdb-test/browse/pipelines (Free free to run all of them: they are configured not to affect our live instances)
Please refer to
openshift/README.mdfor more instructions.