|
1 | | -{% metadata_file .yamato/config.metadata %} |
2 | | ---- |
3 | | - |
4 | | -{% for editor in editors %} |
5 | | -{% for platform in platforms %} |
6 | | -promotion_test_{{ platform.name }}_{{ editor.version }}: |
7 | | - name: Promotion Test {{ editor.version }} on {{ platform.name }} |
8 | | - agent: |
9 | | - type: {{ platform.type }} |
10 | | - image: {{ platform.image }} |
11 | | - flavor: {{ platform.flavor}} |
12 | | - variables: |
13 | | - UPMCI_PROMOTION: 1 |
14 | | - commands: |
15 | | - - mv ./Assets/Samples ./Packages/com.unity.inputsystem |
16 | | - - mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem |
17 | | - - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
18 | | - - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/ |
19 | | - - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }} |
20 | | - {% if platform.installscript %} |
21 | | - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple |
22 | | - - {{ platform.installscript }} {{ editor.version }} |
23 | | - {% endif %} |
24 | | - - upm-ci~/tools/utr/utr --testproject . --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode --api-profile=NET_4_6 --stdout-filter=minimal {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} |
25 | | - artifacts: |
26 | | - logs: |
27 | | - paths: |
28 | | - - "upm-ci~/test-results/**/*" |
29 | | -{% endfor %} |
30 | | -{% endfor %} |
31 | | - |
32 | | -promote: |
33 | | - name: Promote to Production |
34 | | - agent: |
35 | | - type: Unity::VM |
36 | | - image: package-ci/win10:stable |
37 | | - flavor: b1.large |
38 | | - variables: |
39 | | - UPMCI_PROMOTION: 1 |
40 | | - commands: |
41 | | - - mv ./Assets/Samples ./Packages/com.unity.inputsystem |
42 | | - - mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem |
43 | | - - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
44 | | - - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/ |
45 | | - - upm-ci package promote --package-path ./Packages/com.unity.inputsystem/ |
46 | | - artifacts: |
47 | | - artifacts: |
48 | | - paths: |
49 | | - - "upm-ci~/**/*" |
50 | | - dependencies: |
51 | | -{% for editor in editors %} |
52 | | -{% for platform in platforms %} |
53 | | - - .yamato/promotion.yml#promotion_test_{{ platform.name }}_{{ editor.version }} |
54 | | -{% endfor %} |
55 | | -{% endfor %} |
| 1 | +{% metadata_file .yamato/config.metadata %} |
| 2 | +--- |
| 3 | +promote: |
| 4 | + name: Promote to Production |
| 5 | + agent: |
| 6 | + type: Unity::VM |
| 7 | + image: package-ci/win10:stable |
| 8 | + flavor: b1.large |
| 9 | + variables: |
| 10 | + UPMCI_PROMOTION: 1 |
| 11 | + commands: |
| 12 | + - mv ./Assets/Samples ./Packages/com.unity.inputsystem |
| 13 | + - mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem |
| 14 | + - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
| 15 | + - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/ |
| 16 | + - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.4 |
| 17 | + - upm-ci package promote --package-path ./Packages/com.unity.inputsystem/ |
| 18 | + artifacts: |
| 19 | + artifacts: |
| 20 | + paths: |
| 21 | + - "upm-ci~/**/*" |
| 22 | + dependencies: |
| 23 | + - .yamato/publish-samples.yml |
0 commit comments