[v8.5.x] Drone: Always have image_pull_secrets (#55530) (#67249)

Drone: Always have `image_pull_secrets` (#55530)

Having it doesn't prevent pulling any images, so it's easier if it's everywhere

(cherry picked from commit a44c0040a9)

Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com>
This commit is contained in:
Dimitris Sotirakis
2023-04-26 11:27:26 +03:00
committed by GitHub
co-authored by Julien Duchesne
parent 3cb04ea811
commit 9879af40c1
2 changed files with 56 additions and 2 deletions
+1 -1
View File
@@ -47,6 +47,7 @@ def pipeline(
},
}],
'depends_on': depends_on,
'image_pull_secrets': [pull_secret],
}
if environment:
pipeline.update({
@@ -57,7 +58,6 @@ def pipeline(
pipeline.update(platform_conf)
if edition in ('enterprise', 'enterprise2'):
pipeline['image_pull_secrets'] = [pull_secret]
# We have a custom clone step for enterprise
pipeline['clone'] = {
'disable': True,