CI: Pin the google/cloud-sdk image (#69037)

This commit is contained in:
Horst Gutmann
2023-05-25 09:17:24 +02:00
committed by GitHub
parent 863f826e62
commit f22d1d14a0
3 changed files with 48 additions and 46 deletions

View File

@@ -13,6 +13,7 @@ load(
"build_plugins_step",
"build_storybook_step",
"clone_enterprise_step",
"cloudsdk_image",
"compile_build_cmd",
"copy_packages_for_docker_step",
"download_grabpl_step",
@@ -816,7 +817,7 @@ def verify_release_pipeline(
step = {
"name": "gsutil-stat",
"depends_on": ["clone"],
"image": "google/cloud-sdk",
"image": cloudsdk_image,
"environment": {
"BUCKET": bucket,
"GCP_KEY": gcp_key,

View File

@@ -9,6 +9,7 @@ load(
)
grabpl_version = "v3.0.38"
cloudsdk_image = "google/cloud-sdk:431.0.0"
build_image = "grafana/build-container:1.7.4"
publish_image = "grafana/grafana-ci-deploy:1.3.3"
deploy_docker_image = "us.gcr.io/kubernetes-dev/drone/plugins/deploy-image"
@@ -453,7 +454,7 @@ def store_storybook_step(ver_mode, trigger = None):
def e2e_tests_artifacts():
return {
"name": "e2e-tests-artifacts-upload",
"image": "google/cloud-sdk:406.0.0",
"image": cloudsdk_image,
"depends_on": [
"end-to-end-tests-dashboards-suite",
"end-to-end-tests-panels-suite",
@@ -1073,7 +1074,7 @@ def build_docker_images_step(edition, archs = None, ubuntu = False, publish = Fa
return {
"name": "build-docker-images" + ubuntu_sfx,
"image": "google/cloud-sdk",
"image": cloudsdk_image,
"depends_on": [
"copy-packages-for-docker",
"compile-build-cmd",
@@ -1086,7 +1087,7 @@ def build_docker_images_step(edition, archs = None, ubuntu = False, publish = Fa
def fetch_images_step(edition):
return {
"name": "fetch-images-{}".format(edition),
"image": "google/cloud-sdk",
"image": cloudsdk_image,
"environment": {
"GCP_KEY": from_secret("gcp_key"),
"DOCKER_USER": from_secret("docker_username"),
@@ -1165,7 +1166,7 @@ def publish_images_step(edition, ver_mode, mode, docker_repo, trigger = None):
step = {
"name": "publish-images-{}".format(name),
"image": "google/cloud-sdk",
"image": cloudsdk_image,
"environment": environment,
"commands": [cmd],
"depends_on": deps,