From 722be64fca5a61ed59073594243d8aa0578cdde1 Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Thu, 21 Nov 2024 15:11:21 +0100 Subject: [PATCH] azure support --- test/plural/lib/workspace-setup.yml | 11 ++++++++++- test/plural/up.yml | 8 ++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/test/plural/lib/workspace-setup.yml b/test/plural/lib/workspace-setup.yml index 28271419..2bbf3527 100644 --- a/test/plural/lib/workspace-setup.yml +++ b/test/plural/lib/workspace-setup.yml @@ -6,6 +6,11 @@ input: region: '' email: '' project: '' + + # Azure variables + azureSubscriptionId: '' + azureTenantId: '' + azureStorageAccount: '' steps: - script: | cat << EOF > {{ .input.directory }}/workspace.yaml @@ -24,5 +29,9 @@ steps: network: subdomain: {{ .input.name }}.onplural.sh pluraldns: true + availabilityzones: [] bucketPrefix: {{ .input.name }} - context: {} + context: + StorageAccount: {{ .input.azureStorageAccount }} + SubscriptionId: {{ .input.azureSubscriptionId }} + TenantId: {{ .input.azureTenantId }} diff --git a/test/plural/up.yml b/test/plural/up.yml index 663d0028..3bb5013c 100644 --- a/test/plural/up.yml +++ b/test/plural/up.yml @@ -16,6 +16,11 @@ vars: provider: '' region: '' + # Azure variables + azureSubscriptionId: '' + azureTenantId: '' + azureStorageAccount: '' + # GCP variables gcpEmail: '' gcpSAKeyFile: '' @@ -42,6 +47,9 @@ testcases: region: {{ .region }} email: {{ .email }} project: {{ .project }} + azureSubscriptionId: {{ .azureSubscriptionId }} + azureTenantId: {{ .azureTenantId }} + azureStorageAccount: {{ .azureStorageAccount }} - name: Setup context file steps: