-
Notifications
You must be signed in to change notification settings - Fork 51
/
.ci-mgmt.yaml
60 lines (60 loc) · 2.16 KB
/
.ci-mgmt.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
provider: azure
major-version: 6
parallel: 1
timeout: 90
generate-nightly-test-workflow: true
providerVersion: github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion
freeDiskSpaceBeforeTest: true
freeDiskSpaceBeforeBuild: true
env:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_ENVIRONMENT: "public"
ARM_LOCATION: "westus2"
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
PULUMI_MISSING_DOCS_ERROR: true
# Would rather fail the build to force listing dependencies manually under plugins: than
# auto-install a floating dependency which may influence example generation and cause
# non-deterministic builds later on.
#
# Unfortunately this does not work yet because of e2e tests (example-based tests). Need to find a
# way to scope this env var so that it does not configure tests.
#
# TestAccFrontdoor: no resource plugin 'pulumi-resource-random' found in the workspace at version v4.15.1 or on your $PATH
# Test_sql/e2e: Error: error resolving type of resource random: internal error loading package "random": no resource plugin
# 'pulumi-resource-random' found in the workspace or on your $PATH
#
# PULUMI_DISABLE_AUTOMATIC_PLUGIN_ACQUISITION: true
upstream-provider-repo: terraform-provider-azurerm
makeTemplate: bridged
plugins:
- name: random
version: "4.16.1"
- name: azuread
version: "5.48.0"
- name: time
version: "0.0.17"
- name: local
version: "0.0.1"
- name: std
version: "1.6.2"
- name: terraform
kind: converter
version: "1.0.16"
goBuildParallelism: 2
actions:
preTest:
- name: make upstream
run: |
make upstream
- name: Run provider tests
run: |
cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
pulumiConvert: 1
releaseVerification:
nodejs: examples/topic
# Disable python until https://github.com/pulumi/verify-provider-release/issues/39 is addressed
# python: examples/eventhub-py
dotnet: examples/appservice-cs
go: examples/network-go