1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-03 07:56:42 -05:00

shutdown after build complete

This commit is contained in:
Darien Raymond 2017-04-04 23:11:52 +02:00
parent 3e809f4750
commit 32842bc14b
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
2 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,8 @@ popd
echo "Launching build machine."
DIR="$(dirname "$0")"
gcloud compute instances create "build-upload" \
RAND="$(openssl rand -hex 5)"
gcloud compute instances create "v2raycore-${RAND}" \
--machine-type=n1-highcpu-2 \
--metadata=release_tag=v${VER},prerelease=${PRE} \
--metadata-from-file=startup-script=${DIR}/release-ci.sh \

View File

@ -110,3 +110,5 @@ DOCKER_HUB_API=https://registry.hub.docker.com/u/v2ray/official/trigger/${DOCKER
curl -H "Content-Type: application/json" --data '{"build": true}' -X POST "${DOCKER_HUB_API}"
fi
shutdown -h +5