From f764ffdca60f4405f371333f739333465f7cbd50 Mon Sep 17 00:00:00 2001 From: Sacramentix <35272156+Sacramentix@users.noreply.github.com> Date: Wed, 31 Jul 2024 14:11:31 +0200 Subject: [PATCH] Update LaunchComputeGraph.yml --- .github/workflows/LaunchComputeGraph.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/LaunchComputeGraph.yml b/.github/workflows/LaunchComputeGraph.yml index bd01b07..45a9e0d 100644 --- a/.github/workflows/LaunchComputeGraph.yml +++ b/.github/workflows/LaunchComputeGraph.yml @@ -6,6 +6,9 @@ on: WIKI_LANG: description: 'The 2 letter lang code to generate dump for' required: true + GCP_REGION: + description: 'The GCP region of compute engine to use' + default: 'europe-west1-c' jobs: build: runs-on: ubuntu-latest @@ -24,7 +27,7 @@ jobs: run: | gcloud compute instances create-with-container generate-${{ github.event.inputs.WIKI_LANG }}wiki-memgraph-compute \ --project=sixdegreesofwikiadventure \ - --zone=europe-west1-c \ + --zone=${{ github.event.inputs.GCP_REGION }}\ --machine-type=n1-standard-16 \ --network-interface=network-tier=PREMIUM,stack-type=IPV4_ONLY,subnet=default \ --maintenance-policy=MIGRATE \