Skip to content

Add the pull-policy from jobs support to Kubernetes

Furkan Ayhan requested to merge image-pull-policy-for-kubernetes into main

Steps

Step Status
1. Runner: Implement allowed_pull_policies in config.toml !3422 (merged)
2. Runner: Implement supporting pull_policy from jobs !3412 (merged)
3. GitLab: Add pull-policy support for images gitlab!85588 (merged)
4. Runner: Add image pull-policy support to services !3488 (closed)
5. GitLab: Add pull-policy support for service images on CI config gitlab!90136 (merged)
6. Runner: Add the pull-policy from jobs support to Kubernetes 👈 You are here

What does this MR do?

This MR adds the Kubernetes support for accepting pull-policy from CI config YAML.

TODO: This MR probably needs extra tests, especially some integration tests.

Related to: gitlab#21619 (closed)

What's the best way to test this MR?

TODO: I couldn't reproduce this because I couldn't set up a Kubernetes environment in my local environment.

We will have similar steps in gitlab!85588 (merged)

Edited by Pedro Pombeiro

Merge request reports