Skip to content

Commit 71a6e3b

Browse files
committed
Added --package-path option to promotion-uts2.yml
1 parent 9c84478 commit 71a6e3b

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

.yamato/promotion-uts2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ promotion_test_{{ platform.name }}_{{ editor.version }}:
1919
UPMCI_PROMOTION: 1
2020
commands:
2121
- 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 }}
22+
- upm-ci package test --unity-version {{ editor.version }} --package-path com.unity.toonshader
2323
artifacts:
2424
{{ yamato_name }}_promotion_test_results:
2525
paths:
@@ -39,7 +39,7 @@ promote:
3939
UPMCI_PROMOTION: 1
4040
commands:
4141
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
42-
- upm-ci package promote
42+
- upm-ci package promote --package-path com.unity.toonshader
4343
triggers:
4444
tags:
4545
only:

.yamato/upm-ci-uts2.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -54,30 +54,6 @@ test_{{ platform.name }}_{{ editor.version }}:
5454
{% endfor %}
5555
{% endfor %}
5656

57-
promote_test:
58-
{% for editor in test_editors %}
59-
{% for platform in promotion_test_platforms %}
60-
promotion_test_{{ platform.name }}_{{ editor.version }}:
61-
name : {{ yamato_name }} Promotion Test {{ editor.version }} on {{ platform.name }}
62-
agent:
63-
type: {{ platform.type }}
64-
image: {{ platform.image }}
65-
flavor: {{ platform.flavor}}
66-
variables:
67-
UPMCI_PROMOTION: 1
68-
commands:
69-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
70-
- upm-ci package test --unity-version {{ editor.version }}
71-
artifacts:
72-
{{ yamato_name }}_promotion_test_results:
73-
paths:
74-
- "upm-ci~/test-results/**/*"
75-
dependencies:
76-
- .yamato/upm-ci-{{ yamato_name }}.yml#pack
77-
{% endfor %}
78-
{% endfor %}
79-
80-
8157
publish:
8258
name: Publish {{ yamato_name }} to Internal Registry
8359
agent:

0 commit comments

Comments
 (0)