Merge pull request #32013 from david-mcmahon/push-from-release

Automatic merge from submit-queue

Call push-ci-build.sh from the kubernetes/release repo.
This commit is contained in:
Kubernetes Submit Queue 2016-09-07 14:49:23 -07:00 committed by GitHub
commit f61a677a4e

View File

@ -67,7 +67,7 @@ make release
# Push to GCS?
if [[ ${KUBE_SKIP_PUSH_GCS:-} =~ ^[yY]$ ]]; then
echo "Not pushed to GCS..."
elif ${RELEASE_INFRA_PUSH-}; then
else
readonly release_infra_clone="${WORKSPACE}/_tmp/release.git"
mkdir -p ${WORKSPACE}/_tmp
git clone https://github.com/kubernetes/release ${release_infra_clone}
@ -84,9 +84,7 @@ elif ${RELEASE_INFRA_PUSH-}; then
${FEDERATION} && federation_flag="--federation"
${SET_NOMOCK_FLAG} && mock_flag="--nomock"
${release_infra_clone}/push-ci-build.sh ${bucket_flag-} ${federation_flag-} \
${mock_flag-}
else
./build/push-ci-build.sh
${mock_flag-} --verbose
fi
sha256sum _output/release-tars/kubernetes*.tar.gz