File tree 2 files changed +13
-17
lines changed 2 files changed +13
-17
lines changed 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
2
8
branches :
3
9
include :
4
- - daveta-python-functional
5
- exclude :
6
- - master
10
+ - master
11
+
12
+ pr : none # no pr trigger
7
13
8
14
variables :
9
15
# Container registry service connection established during pipeline creation
@@ -14,15 +20,11 @@ variables:
14
20
webAppName : ' e2epython'
15
21
containerRegistry : ' nightlye2etest.azurecr.io'
16
22
imageRepository : ' functionaltestpy'
17
-
18
-
19
-
23
+ # LinuxTestBotAppId: get this from azure
24
+ # LinuxTestBotAppSecret: get this from Azure
20
25
21
26
jobs :
22
- # Build and publish container
23
27
- job : Build
24
- pool :
25
- vmImage : ' Ubuntu-16.04'
26
28
displayName : Build and push bot image
27
29
continueOnError : false
28
30
steps :
35
37
containerRegistry : $(dockerRegistryServiceConnection)
36
38
tags : $(buildIdTag)
37
39
38
-
39
-
40
40
- job : Deploy
41
41
displayName : Provision bot container
42
- pool :
43
- vmImage : ' Ubuntu-16.04'
44
42
dependsOn :
45
43
- Build
46
44
steps :
54
52
DockerNamespace : $(containerRegistry)
55
53
DockerRepository : $(imageRepository)
56
54
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'
58
56
59
57
# StartupCommand: 'flask run --host=0.0.0.0 --port=3978'
60
-
61
-
You can’t perform that action at this time.
0 commit comments