Skip to content

Commit 1ec2c7c

Browse files
Update azure-pipelines.yml for Azure Pipelines
1 parent df12d6e commit 1ec2c7c

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

azure-pipelines.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@
44
# https://aka.ms/yaml
55
resources:
66
repositories:
7-
- repository: IntegrationTests
8-
type: git
9-
name: launcher-automation/IntegrationTests
10-
ref: azure-pipelines
11-
trigger:
12-
branches:
13-
include:
14-
- azure-pipelines
7+
- repository: launcher-automation
8+
type: github
9+
name: docusign/launcher-automation
10+
ref: main
11+
endpoint: launcherAutomationServiceConnection
1512

1613
pr:
1714
- master
@@ -24,7 +21,7 @@ steps:
2421
- script: echo Hello, world!
2522
displayName: 'Run a one-line script'
2623
- checkout: self
27-
- checkout: IntegrationTests
24+
- checkout: launcher-automation
2825

2926
- script: dir $(Build.SourcesDirectory)
3027

@@ -57,7 +54,7 @@ steps:
5754
- script: |
5855
echo "place config.properties"
5956
echo $(tests_config_properties.secureFilePath)
60-
cp $(tests_config_properties.secureFilePath) IntegrationTests/src/main/resources/config.properties
57+
cp $(tests_config_properties.secureFilePath) launcher-automation/src/main/resources/config.properties
6158
displayName: 'place config.properties'
6259

6360
- task: DownloadSecureFile@1
@@ -72,12 +69,24 @@ steps:
7269
cp $(ds_config.secureFilePath) code-examples-python-private/app/ds_config.py
7370
displayName: 'place dsconfig.py'
7471

72+
- task: DownloadSecureFile@1
73+
name: run_py
74+
displayName: 'download python.run.py'
75+
inputs:
76+
secureFile: 'python.run.py'
77+
78+
79+
- script: |
80+
echo "place ds_config.py"
81+
cp $(run_py.secureFilePath) code-examples-python-private/run.py
82+
displayName: 'place run.py'
83+
7584

7685
- task: DownloadSecureFile@1
7786
name: python_private_key
7887
displayName: 'download private.key'
7988
inputs:
80-
secureFile: 'python_private.key'
89+
secureFile: 'private.key'
8190

8291

8392
- script: |
@@ -106,7 +115,7 @@ steps:
106115
displayName: 'start python app'
107116

108117
- script: |
109-
cd IntegrationTests
118+
cd launcher-automation
110119
mvn clean test -DsuiteXmlFile="python_suite.xml"
111120
displayName: 'Python app tests'
112121

0 commit comments

Comments
 (0)