-
Notifications
You must be signed in to change notification settings - Fork 9
39 lines (34 loc) · 1.43 KB
/
acc_test.yml
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
name: Go ACC Tests
on: [push]
jobs:
build:
runs-on: self-hosted
concurrency:
group: ONTAP-ACC
cancel-in-progress: false
# because Dependabot dosn't get access to secrets, and we don't need it to run our ACC TEST, let skip them for that user
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build
env:
TF_ACC_NETAPP_HOST: ${{ secrets.TF_ACC_NETAPP_HOST }}
TF_ACC_NETAPP_HOST2: ${{ secrets.TF_ACC_NETAPP_HOST2 }}
TF_ACC_NETAPP_HOST3: ${{ secrets.TF_ACC_NETAPP_HOST3 }}
TF_ACC_NETAPP_HOST4: ${{ secrets.TF_ACC_NETAPP_HOST4 }}
TF_ACC_NETAPP_HOST5: ${{ secrets.TF_ACC_NETAPP_HOST5 }}
TF_ACC_NETAPP_HOST_CIFS: ${{ secrets.TF_ACC_NETAPP_HOST_CIFS }}
TF_ACC_NETAPP_USER: ${{ secrets.TF_ACC_NETAPP_USER }}
TF_ACC_NETAPP_PASS: ${{ secrets.TF_ACC_NETAPP_PASS }}
TF_ACC_NETAPP_PASS2: ${{ secrets.TF_ACC_NETAPP_PASS2 }}
TF_ACC_NETAPP_PASS_CIFS: ${{ secrets.TF_ACC_NETAPP_PASS_CIFS }}
TF_ACC_NETAPP_LICENSE: ${{ secrets.TF_ACC_NETAPP_LICENSE }}
TF_ACC_NETAPP_CIFS_ADDOMAIN_PASS: ${{ secrets.TF_ACC_NETAPP_CIFS_ADDOMAIN_PASS }}
run: |
export GOFLAGS=-buildvcs=false
export TF_ACC=1
go test `go list ./... | grep -e provider`