Add tests for image digest pinning functionality
Summary
In !3435 (merged), we added the functionality to pin image digests. Later, in #5109 (closed), we noticed that 7-6-stable
pipelines were failing because the upgrade-check
Job was trying to reference the image tag v16.6.0
instead of 16-6-stable
.
Let's add tests to confirm that this functionality produces expected results in each pipeline scenario:
- MR pipelines
- master pipelines
- stable pipelines
This will involve:
- Configuring environment variables referenced in the
pin_image_digests.sh
script to simulate the pipeline scenario - Confirming the digest manifest contains expected content
- Confirming the digest manifest as used in
helm template
produces expected content in the template output
Acceptance criteria
-
Tests are added to confirm digest pinning functionality based on details above