Set metadata for project
gcloud compute project-info add-metadata --metadata GITLAB_CI_RUNNER_REGISTER_TOKEN=XXXXXXXXXXXXX,STARTUP_SCRIPT_LOCATION=XXXXXXXXX,SHUTDOWN_SCRIPT_LOCATION=XXXXXXXXXcopy the about startup.sh to a bucket and use the follow script
gcloud compute instances create "gitlab-runner-$(date +"%m-%d-%Y")" --machine-type e2-micro \