Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 375f01c

Browse files
authored
Merge pull request #78 from CIPop/devops
DevOps: YAML changes
2 parents 1a6632b + eff58cb commit 375f01c

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

vsts/CredScanSuppressions.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"tool": "Credential Scanner",
3+
"suppressions": [
4+
{
5+
"placeholder": "dGVzdFN0cmluZzE=",
6+
"_justification": "Dummy secret used in unit tests, it is fake"
7+
},
8+
{
9+
"placeholder": "dGVzdFN0cmluZzI=",
10+
"_justification": "Dummy secret used in unit tests, it is fake"
11+
},
12+
{
13+
"placeholder": "dGVzdFN0cmluZzM=",
14+
"_justification": "Dummy secret used in unit tests, it is fake"
15+
},
16+
{
17+
"placeholder": "dGVzdFN0cmluZzQ=",
18+
"_justification": "Dummy secret used in unit tests, it is fake"
19+
},
20+
{
21+
"placeholder": "dGVzdFN0cmluZzU=",
22+
"_justification": "Dummy secret used in unit tests, it is fake"
23+
},
24+
{
25+
"placeholder": "dGVzdFN0cmluZzY=",
26+
"_justification": "Dummy secret used in unit tests, it is fake"
27+
},
28+
{
29+
"placeholder": "notsafe",
30+
"_justification": "Dummy secret used in unit tests, it is fake"
31+
}
32+
]
33+
}

vsts/vsts.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ phases:
4242
vsts/linux_csharp_netcore.sh
4343
displayName: build
4444
env:
45+
IOTHUB_DEVICE_CONN_STRING: $(IOTHUB-DEVICE-CONN-STRING)
46+
IOTHUB_DEVICE_CONN_STRING2: $(IOTHUB-DEVICE-CONN-STRING2)
4547
IOTHUB_CONN_STRING_CSHARP: $(IOTHUB-CONN-STRING-CSHARP)
4648
IOTHUB_PFX_X509_THUMBPRINT: $(IOTHUB-PFX-X509-THUMBPRINT)
4749
IOTHUB_X509_PFX_CERTIFICATE: $(IOTHUB-X509-PFX-CERTIFICATE)
@@ -65,6 +67,7 @@ phases:
6567
CUSTOM_ALLOCATION_POLICY_WEBHOOK: $(CUSTOM-ALLOCATION-POLICY-WEBHOOK)
6668
IOTHUB_PROXY_SERVER_ADDRESS: 127.0.0.1:8888
6769
70+
6871
- task: CopyFiles@2
6972
displayName: 'Copy files to the artifacts folder'
7073
inputs:
@@ -127,6 +130,8 @@ phases:
127130
128131
displayName: build
129132
env:
133+
IOTHUB_DEVICE_CONN_STRING: $(IOTHUB-DEVICE-CONN-STRING)
134+
IOTHUB_DEVICE_CONN_STRING2: $(IOTHUB-DEVICE-CONN-STRING2)
130135
IOTHUB_CONN_STRING_CSHARP: $(IOTHUB-CONN-STRING-CSHARP)
131136
IOTHUB_PFX_X509_THUMBPRINT: $(IOTHUB-PFX-X509-THUMBPRINT)
132137
IOTHUB_X509_PFX_CERTIFICATE: $(IOTHUB-X509-PFX-CERTIFICATE)

0 commit comments

Comments
 (0)