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:
parent
3e809f4750
commit
32842bc14b
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user