Skip to content

Commit

Permalink
azure support
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Nov 21, 2024
1 parent 23f2cc7 commit 722be64
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/plural/lib/workspace-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ input:
region: ''
email: ''
project: ''

# Azure variables
azureSubscriptionId: ''
azureTenantId: ''
azureStorageAccount: ''
steps:
- script: |
cat << EOF > {{ .input.directory }}/workspace.yaml
Expand All @@ -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 }}
8 changes: 8 additions & 0 deletions test/plural/up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ vars:
provider: ''
region: ''

# Azure variables
azureSubscriptionId: ''
azureTenantId: ''
azureStorageAccount: ''

# GCP variables
gcpEmail: ''
gcpSAKeyFile: ''
Expand All @@ -42,6 +47,9 @@ testcases:
region: {{ .region }}
email: {{ .email }}
project: {{ .project }}
azureSubscriptionId: {{ .azureSubscriptionId }}
azureTenantId: {{ .azureTenantId }}
azureStorageAccount: {{ .azureStorageAccount }}

- name: Setup context file
steps:
Expand Down

0 comments on commit 722be64

Please sign in to comment.