ods-jenkins-shared-library
ods-jenkins-shared-library copied to clipboard
MRO Pipeline (Helm) does not check if ImageStream exists in QA stage
Describe the bug When running the MRO pipeline to deploy to QA, there is no check whether the corresponding ImageStream exists and the pipeline does not fail even though it tries to import the image into a non-existent ImageStream, see importImageFromProject. The required ImageStreams are created by default for the DEV project, but not for QA or PROD.
To Reproduce Steps to reproduce the behavior:
- Use a Helm Chart Repo
- Run component pipeline
- Run MRO pipeline (environment: dev, version: WIP)
- Run MRO pipeline to DEV (environment: dev, version: 0.0.x, changed: x.x.x)
- Run MRO pipeline to QA (environment: qa, version: 0.0.x, changed: x.x.x)
- Pipeline fails (pods crash due to ImagePullBackOff error)
Expected behavior ImageStreams are created for all stages
Screenshots
Affected version (please complete the following information):
- OpenDevStack v4.x