forked from hashicorp/terraform-provider-azurerm
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (49 loc) · 1.54 KB
/
checks.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
---
name: Run Relevant Checks
on: [push]
jobs:
acceptance:
name: Acceptance Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
ref: container_app_custom_domain_secretfix
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: '1.6.*'
terraform_wrapper: false
- run: make tools
- run: make acctests
env:
TF_ACC: '1'
TESTARGS: '-parallel=1 -run=TestAccContainerAppCustomDomainResource_'
SERVICE: 'containerapps'
TESTTIMEOUT: '60m'
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
ARM_TEST_LOCATION: ${{ secrets.ARM_TEST_LOCATION }}
ARM_TEST_LOCATION_ALT: ${{ secrets.ARM_TEST_LOCATION_ALT }}
ARM_TEST_LOCATION_ALT2: ${{ secrets.ARM_TEST_LOCATION_ALT2 }}
ARM_TEST_DNS_ZONE: mycaetest.net
ARM_TEST_DATA_RESOURCE_GROUP: test-rg
pr-check:
name: PR checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
ref: container_app_custom_domain_secretfix
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: make tools
- run: make pr-check
- run: git status