Update DEPLOY_DIR and VERSION to match installation script

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan 2020-10-13 14:32:07 -07:00
parent e4e05c6c01
commit 04a3f7c499
No known key found for this signature in database
GPG Key ID: F58C5D0A4405ACDB
2 changed files with 9 additions and 1 deletions

1
cluster/gce Symbolic link
View File

@ -0,0 +1 @@
../contrib/gce

View File

@ -48,4 +48,11 @@ cp releases/${latest}.sha256sum ${BUILDDIR}/${tarball}.sha256
# Push test tarball to Google cloud storage.
VERSION=$(git describe --match 'v[0-9]*' --dirty='.m' --always)
PUSH_VERSION=true DEPLOY_DIR='containerd' TARBALL=${tarball} VERSION=${VERSION} BUILD_DIR=${BUILDDIR} ${ROOT}/test/push.sh
if [ -z "${DEPLOY_DIR}" ]; then
DEPLOY_DIR="containerd"
else
DEPLOY_DIR="containerd/${DEPLOY_DIR}"
fi
PUSH_VERSION=true DEPLOY_DIR=${DEPLOY_DIR} TARBALL=${tarball} VERSION=${VERSION#v} BUILD_DIR=${BUILDDIR} ${ROOT}/test/push.sh