File tree Expand file tree Collapse file tree 1 file changed +46
-1
lines changed Expand file tree Collapse file tree 1 file changed +46
-1
lines changed Original file line number Diff line number Diff line change 1+ test_editors :
2+ - version : 2019.3
3+ test_platforms :
4+ - name : win
5+ type : Unity::VM
6+ image : package-ci/win10:stable
7+ flavor : b1.large
8+ ---
9+
10+ {% for editor in test_editors %}
11+ {% for platform in test_platforms %}
12+ promotion_test_{{ platform.name }}_{{ editor.version }} :
13+ name : Promotion Test {{ editor.version }} on {{ platform.name }}
14+ agent :
15+ type : {{ platform.type }}
16+ image : {{ platform.image }}
17+ flavor : {{ platform.flavor}}
18+ variables :
19+ UPMCI_PROMOTION : 1
20+ commands :
21+ - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
22+ - upm-ci package test --unity-version {{ editor.version }} --package-path package
23+ artifacts :
24+ logs :
25+ paths :
26+ - " upm-ci~/test-results/**/*"
27+ dependencies :
28+ - .yamato/package-pack.yml#pack
29+ {% endfor %}
30+ {% endfor %}
31+
32+ promotion_test_trigger :
33+ name : Promotion Tests Trigger
34+ dependencies :
35+ {% for editor in test_editors %}
36+ {% for platform in test_platforms %}
37+ - .yamato/package-promotion.yml#promotion_test_{{platform.name}}_{{editor.version}}
38+ {% endfor %}
39+ {% endfor %}
40+
41+
142promote :
243 name : Promote to Production
344 agent :
@@ -19,4 +60,8 @@ promote:
1960 - " upm-ci~/packages/*.tgz"
2061 dependencies :
2162 - .yamato/com.unity.ml-agents-pack.yml#pack
22- - .yamato/com.unity.ml-agents-test.yml#all_package_tests
63+ {% for editor in test_editors %}
64+ {% for platform in test_platforms %}
65+ - .yamato/com.unity.ml-agents-promotion.yml#promotion_test_{{ platform.name }}_{{ editor.version }}
66+ {% endfor %}
67+ {% endfor %}
You can’t perform that action at this time.
0 commit comments