diff --git a/misc/bin/deploy-job.sh b/misc/bin/deploy-job.sh index 17011d4..57890e8 100644 --- a/misc/bin/deploy-job.sh +++ b/misc/bin/deploy-job.sh @@ -31,12 +31,6 @@ image=gcr.io/clingen-dev/clinvar-ftp-watcher:$commit deployment_service_account=clinvar-ftp-watcher-deployment@clingen-dev.iam.gserviceaccount.com -if gcloud run jobs list --region us-central1 | awk '{print $2}' | grep "^$instance_name$" ; then - echo "Cloud Run Job $instance_name already exists" - echo "Deleting Cloud Run Job" - gcloud run jobs delete $instance_name --region $region --quiet -fi - ################################################################ # Build the image cloudbuild=.cloudbuild/docker-build-dev.cloudbuild.yaml