File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 1- trigger :
1+ #
2+ # Run functional test on bot deployed to a Docker Linux environment in Azure.
3+ #
4+ pool :
5+ vmImage : ' Ubuntu-16.04'
6+
7+ trigger : # ci trigger
28 branches :
39 include :
4- - daveta-python-functional
5- exclude :
6- - master
10+ - master
11+
12+ pr : none # no pr trigger
713
814variables :
915 # Container registry service connection established during pipeline creation
@@ -14,15 +20,11 @@ variables:
1420 webAppName : ' e2epython'
1521 containerRegistry : ' nightlye2etest.azurecr.io'
1622 imageRepository : ' functionaltestpy'
17-
18-
19-
23+ # LinuxTestBotAppId: get this from azure
24+ # LinuxTestBotAppSecret: get this from Azure
2025
2126jobs :
22- # Build and publish container
2327- job : Build
24- pool :
25- vmImage : ' Ubuntu-16.04'
2628 displayName : Build and push bot image
2729 continueOnError : false
2830 steps :
3537 containerRegistry : $(dockerRegistryServiceConnection)
3638 tags : $(buildIdTag)
3739
38-
39-
4040- job : Deploy
4141 displayName : Provision bot container
42- pool :
43- vmImage : ' Ubuntu-16.04'
4442 dependsOn :
4543 - Build
4644 steps :
5452 DockerNamespace : $(containerRegistry)
5553 DockerRepository : $(imageRepository)
5654 DockerImageTag : $(buildIdTag)
57- AppSettings : ' -MicrosoftAppId $(botAppId ) -MicrosoftAppPassword $(botAppPassword ) -FLASK_APP /functionaltestbot/app.py -FLASK_DEBUG 1'
55+ AppSettings : ' -MicrosoftAppId $(LinuxTestBotAppId ) -MicrosoftAppPassword $(LinuxTestBotAppSecret ) -FLASK_APP /functionaltestbot/app.py -FLASK_DEBUG 1'
5856
5957 # StartupCommand: 'flask run --host=0.0.0.0 --port=3978'
60-
61-
You can’t perform that action at this time.
0 commit comments