From 7c9c159e931109edd84747cfa219917412a55076 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Mon, 21 Sep 2020 11:38:11 -0400 Subject: Migrate container images to automation_images Signed-off-by: Chris Evich --- contrib/imgts/entrypoint.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 contrib/imgts/entrypoint.sh (limited to 'contrib/imgts/entrypoint.sh') diff --git a/contrib/imgts/entrypoint.sh b/contrib/imgts/entrypoint.sh deleted file mode 100755 index b089e1e9b..000000000 --- a/contrib/imgts/entrypoint.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -set -e - -source /usr/local/bin/lib_entrypoint.sh - -req_env_var GCPJSON GCPNAME GCPPROJECT IMGNAMES BUILDID REPOREF - -gcloud_init - -ARGS=" - --update-labels=last-used=$(date +%s) - --update-labels=build-id=$BUILDID - --update-labels=repo-ref=$REPOREF - --update-labels=project=$GCPPROJECT -" - -for image in $IMGNAMES -do - $GCLOUD compute images update "$image" $ARGS & -done - -wait || echo "Warning: No \$IMGNAMES were specified." -- cgit v1.2.3-54-g00ecf