diff options
author | Chris Evich <cevich@redhat.com> | 2020-09-21 11:38:11 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2020-10-01 14:27:32 -0400 |
commit | 7c9c159e931109edd84747cfa219917412a55076 (patch) | |
tree | 0b5d9c8c9a84cd906adf468eac32c36d9a740518 /contrib/upldrel/entrypoint.sh | |
parent | 5d22eb02f95f28a87ed263afe28b7ff4bf2f6fee (diff) | |
download | podman-7c9c159e931109edd84747cfa219917412a55076.tar.gz podman-7c9c159e931109edd84747cfa219917412a55076.tar.bz2 podman-7c9c159e931109edd84747cfa219917412a55076.zip |
Migrate container images to automation_images
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/upldrel/entrypoint.sh')
-rwxr-xr-x | contrib/upldrel/entrypoint.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/contrib/upldrel/entrypoint.sh b/contrib/upldrel/entrypoint.sh deleted file mode 100755 index 6eb1b8f94..000000000 --- a/contrib/upldrel/entrypoint.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -set -e - -source /usr/local/bin/lib_entrypoint.sh - -req_env_var GCPJSON_FILEPATH GCPNAME GCPPROJECT BUCKET FROM_FILEPATH TO_FILENAME - -[[ -r "$FROM_FILEPATH" ]] || \ - die 2 ERROR Cannot read release archive file: "$FROM_FILEPATH" - -[[ -r "$GCPJSON_FILEPATH" ]] || \ - die 3 ERROR Cannot read GCP credentials file: "$GCPJSON_FILEPATH" - -echo "Authenticating to google cloud for upload" -gcloud_init "$GCPJSON_FILEPATH" - -echo "Uploading archive as $TO_FILENAME" -gsutil cp "$FROM_FILEPATH" "gs://$BUCKET/$TO_FILENAME" -[[ -z "$ALSO_FILENAME" ]] || \ - gsutil cp "$FROM_FILEPATH" "gs://$BUCKET/$ALSO_FILENAME" - -echo "." -echo "Release now available for download at:" -echo " https://storage.googleapis.com/$BUCKET/$TO_FILENAME" -[[ -z "$ALSO_FILENAME" ]] || \ - echo " https://storage.googleapis.com/$BUCKET/$ALSO_FILENAME" |