Skip to content

Commit d0d9cce

Browse files
chore: adding a dry-run job on 1.0.0 release (#1322)
1 parent bcef5b9 commit d0d9cce

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.yamato/project-promotion.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,25 @@ promote_{{ project.name }}_{{ package.name }}:
4141
- .yamato/project-pack.yml#pack_{{ project.name }}
4242
- .yamato/project-promotion.yml#promotion_validate_{{ project.name }}_{{ project.packages.first.name }}_{{ test_platforms.first.name }}_{{ validation_editor }}
4343

44+
promote_{{ project.name }}_{{ package.name }}_dry_run:
45+
name: Promote Project {{ project.name }} - Package {{ package.name }} to Production (dry-run)
46+
agent:
47+
type: Unity::VM
48+
image: package-ci/win10:stable
49+
flavor: b1.small
50+
variables:
51+
UPMCI_PROMOTION: 1
52+
commands:
53+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
54+
- upm-ci package promote --package-path {{ package.path }} --dry-run
55+
artifacts:
56+
artifacts:
57+
paths:
58+
- "upm-ci~/packages/*.tgz"
59+
dependencies:
60+
- .yamato/project-pack.yml#pack_{{ project.name }}
61+
- .yamato/project-promotion.yml#promotion_validate_{{ project.name }}_{{ project.packages.first.name }}_{{ test_platforms.first.name }}_{{ validation_editor }}
62+
4463
{% endfor -%}
4564

4665
promote_{{ project.name }}:

0 commit comments

Comments
 (0)