G10: Post docker pull commands for local testing (#67489)
* Add grabpl publish images Update grabpl - add github pr token * Replace github_pr_token with gh app # Conflicts: # .drone.yml # scripts/drone/vault.star # Conflicts: # .drone.yml # Conflicts: # .drone.yml * Lint starlark Add forgotten secrets Lint starlark Change secrets * Update grabpl to v3.0.35 * Lint starlark * Remove unnecessary secrets
This commit is contained in:
committed by
GitHub
parent
416e347e70
commit
26bacf6d4c
@@ -8,7 +8,7 @@ load(
|
||||
"prerelease_bucket",
|
||||
)
|
||||
|
||||
grabpl_version = "v3.0.34"
|
||||
grabpl_version = "v3.0.35"
|
||||
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"
|
||||
@@ -1154,6 +1154,15 @@ def publish_images_step(edition, ver_mode, mode, docker_repo, trigger = None):
|
||||
docker_repo,
|
||||
)
|
||||
|
||||
if ver_mode == "pr":
|
||||
environment = {
|
||||
"DOCKER_USER": from_secret("docker_username_pr"),
|
||||
"DOCKER_PASSWORD": from_secret("docker_password_pr"),
|
||||
"GITHUB_APP_ID": from_secret("delivery-bot-app-id"),
|
||||
"GITHUB_APP_INSTALLATION_ID": from_secret("delivery-bot-app-installation-id"),
|
||||
"GITHUB_APP_PRIVATE_KEY": from_secret("delivery-bot-app-private-key"),
|
||||
}
|
||||
|
||||
step = {
|
||||
"name": "publish-images-{}".format(name),
|
||||
"image": "google/cloud-sdk",
|
||||
|
||||
Reference in New Issue
Block a user