Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
karissarjacobsen committed Jan 12, 2024
1 parent df12d6e commit 1ec2c7c
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@
# https://aka.ms/yaml
resources:
repositories:
- repository: IntegrationTests
type: git
name: launcher-automation/IntegrationTests
ref: azure-pipelines
trigger:
branches:
include:
- azure-pipelines
- repository: launcher-automation
type: github
name: docusign/launcher-automation
ref: main
endpoint: launcherAutomationServiceConnection

pr:
- master
Expand All @@ -24,7 +21,7 @@ steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- checkout: self
- checkout: IntegrationTests
- checkout: launcher-automation

- script: dir $(Build.SourcesDirectory)

Expand Down Expand Up @@ -57,7 +54,7 @@ steps:
- script: |
echo "place config.properties"
echo $(tests_config_properties.secureFilePath)
cp $(tests_config_properties.secureFilePath) IntegrationTests/src/main/resources/config.properties
cp $(tests_config_properties.secureFilePath) launcher-automation/src/main/resources/config.properties
displayName: 'place config.properties'

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

- task: DownloadSecureFile@1
name: run_py
displayName: 'download python.run.py'
inputs:
secureFile: 'python.run.py'


- script: |
echo "place ds_config.py"
cp $(run_py.secureFilePath) code-examples-python-private/run.py
displayName: 'place run.py'


- task: DownloadSecureFile@1
name: python_private_key
displayName: 'download private.key'
inputs:
secureFile: 'python_private.key'
secureFile: 'private.key'


- script: |
Expand Down Expand Up @@ -106,7 +115,7 @@ steps:
displayName: 'start python app'

- script: |
cd IntegrationTests
cd launcher-automation
mvn clean test -DsuiteXmlFile="python_suite.xml"
displayName: 'Python app tests'

Expand Down

0 comments on commit 1ec2c7c

Please sign in to comment.