Skip to content

Commit

Permalink
Add a flag to support adding a suffix to the upload directory on GCS
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Oct 7, 2016
1 parent 9930c43 commit cf9dc25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion push-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ PROG=${0##*/}
#+ [--ci] - Used when called from Jekins (for ci runs)
#+ [--bucket=] - Specify an alternate bucket for pushes
#+ [--bucket-mirror=] - Specify a mirror bucket for pushes
#+ [--gcs-suffix=] - Specify a suffix to append to the upload
#+ destination on GCS.
#+ [--noupdatelatest] - Do not update the latest file
#+ [--help | -man] - display man page for this script
#+ [--usage | -?] - display in-line usage
Expand All @@ -54,7 +56,7 @@ PROG=${0##*/}
#+ $PROG --nomock --federation --ci
#+ - Do a (non-mocked) CI push with federation
#+ $PROG --bucket=kubernetes-release-$USER
#+ - Do a developer push to
#+ - Do a developer push to
#+ kubernetes-release-$USER
#+
#+ FILES
Expand Down Expand Up @@ -104,6 +106,7 @@ fi

GCS_DEST="devel"
((FLAGS_ci)) && GCS_DEST="ci"
GCS_DEST+="$FLAGS_gcs_suffix"

if ((FLAGS_nomock)); then
logecho
Expand Down

0 comments on commit cf9dc25

Please sign in to comment.