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

Commit

Permalink
Merge pull request #78 from CIPop/devops
Browse files Browse the repository at this point in the history
DevOps: YAML changes
  • Loading branch information
CIPop authored Sep 17, 2019
2 parents 1a6632b + eff58cb commit 375f01c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
33 changes: 33 additions & 0 deletions vsts/CredScanSuppressions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"tool": "Credential Scanner",
"suppressions": [
{
"placeholder": "dGVzdFN0cmluZzE=",
"_justification": "Dummy secret used in unit tests, it is fake"
},
{
"placeholder": "dGVzdFN0cmluZzI=",
"_justification": "Dummy secret used in unit tests, it is fake"
},
{
"placeholder": "dGVzdFN0cmluZzM=",
"_justification": "Dummy secret used in unit tests, it is fake"
},
{
"placeholder": "dGVzdFN0cmluZzQ=",
"_justification": "Dummy secret used in unit tests, it is fake"
},
{
"placeholder": "dGVzdFN0cmluZzU=",
"_justification": "Dummy secret used in unit tests, it is fake"
},
{
"placeholder": "dGVzdFN0cmluZzY=",
"_justification": "Dummy secret used in unit tests, it is fake"
},
{
"placeholder": "notsafe",
"_justification": "Dummy secret used in unit tests, it is fake"
}
]
}
5 changes: 5 additions & 0 deletions vsts/vsts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ phases:
vsts/linux_csharp_netcore.sh
displayName: build
env:
IOTHUB_DEVICE_CONN_STRING: $(IOTHUB-DEVICE-CONN-STRING)
IOTHUB_DEVICE_CONN_STRING2: $(IOTHUB-DEVICE-CONN-STRING2)
IOTHUB_CONN_STRING_CSHARP: $(IOTHUB-CONN-STRING-CSHARP)
IOTHUB_PFX_X509_THUMBPRINT: $(IOTHUB-PFX-X509-THUMBPRINT)
IOTHUB_X509_PFX_CERTIFICATE: $(IOTHUB-X509-PFX-CERTIFICATE)
Expand All @@ -65,6 +67,7 @@ phases:
CUSTOM_ALLOCATION_POLICY_WEBHOOK: $(CUSTOM-ALLOCATION-POLICY-WEBHOOK)
IOTHUB_PROXY_SERVER_ADDRESS: 127.0.0.1:8888
- task: CopyFiles@2
displayName: 'Copy files to the artifacts folder'
inputs:
Expand Down Expand Up @@ -127,6 +130,8 @@ phases:
displayName: build
env:
IOTHUB_DEVICE_CONN_STRING: $(IOTHUB-DEVICE-CONN-STRING)
IOTHUB_DEVICE_CONN_STRING2: $(IOTHUB-DEVICE-CONN-STRING2)
IOTHUB_CONN_STRING_CSHARP: $(IOTHUB-CONN-STRING-CSHARP)
IOTHUB_PFX_X509_THUMBPRINT: $(IOTHUB-PFX-X509-THUMBPRINT)
IOTHUB_X509_PFX_CERTIFICATE: $(IOTHUB-X509-PFX-CERTIFICATE)
Expand Down

0 comments on commit 375f01c

Please sign in to comment.