mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
Adding extensive typing support Unified browser and Node.JS implementations Adding support of Gitlab API 16.0
9 lines
302 B
Bash
9 lines
302 B
Bash
#!/bin/sh
|
|
|
|
# use this as a startup script for a compute instance and it will self-destruct after specified interval
|
|
# (default = 20 min)
|
|
TIMEOUT=20
|
|
|
|
# schedule the instance to delete itself
|
|
echo "gcloud compute instances delete $(hostname) --zone northamerica-northeast1-b" | at Now + $TIMEOUT Minutes
|