44# https://aka.ms/yaml
55resources :
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
1613pr :
1714- master
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
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