diff --git a/cluster/gce b/cluster/gce new file mode 120000 index 000000000..499fb0a09 --- /dev/null +++ b/cluster/gce @@ -0,0 +1 @@ +../contrib/gce \ No newline at end of file diff --git a/test/build.sh b/test/build.sh index d8a84f359..61578f554 100755 --- a/test/build.sh +++ b/test/build.sh @@ -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