Skip to content

Commit

Permalink
Added --package-path option to promotion-uts2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
H3idi-X committed Feb 22, 2022
1 parent 9c84478 commit 71a6e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .yamato/promotion-uts2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ promotion_test_{{ platform.name }}_{{ editor.version }}:
UPMCI_PROMOTION: 1
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package test --unity-version {{ editor.version }}
- upm-ci package test --unity-version {{ editor.version }} --package-path com.unity.toonshader
artifacts:
{{ yamato_name }}_promotion_test_results:
paths:
Expand All @@ -39,7 +39,7 @@ promote:
UPMCI_PROMOTION: 1
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package promote
- upm-ci package promote --package-path com.unity.toonshader
triggers:
tags:
only:
Expand Down
24 changes: 0 additions & 24 deletions .yamato/upm-ci-uts2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,30 +54,6 @@ test_{{ platform.name }}_{{ editor.version }}:
{% endfor %}
{% endfor %}

promote_test:
{% for editor in test_editors %}
{% for platform in promotion_test_platforms %}
promotion_test_{{ platform.name }}_{{ editor.version }}:
name : {{ yamato_name }} Promotion Test {{ editor.version }} on {{ platform.name }}
agent:
type: {{ platform.type }}
image: {{ platform.image }}
flavor: {{ platform.flavor}}
variables:
UPMCI_PROMOTION: 1
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package test --unity-version {{ editor.version }}
artifacts:
{{ yamato_name }}_promotion_test_results:
paths:
- "upm-ci~/test-results/**/*"
dependencies:
- .yamato/upm-ci-{{ yamato_name }}.yml#pack
{% endfor %}
{% endfor %}


publish:
name: Publish {{ yamato_name }} to Internal Registry
agent:
Expand Down

0 comments on commit 71a6e3b

Please sign in to comment.