Skip to content

Commit a5005c3

Browse files
chore: Introduction of u-pr-agent and fix of Updated Dependencies Test (#3762)
* Added u-pr config * re-added project pack job for updated dependencies test purpose * typo * bom removed
1 parent e75ee6a commit a5005c3

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.pr_agent.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[github_app]
2+
pr_commands = []

.yamato/project-updated-dependencies-test.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,28 @@ updated-dependencies_{{ project.name }}_NGO_{{ platform.name }}_{{ editor }}:
4242
paths:
4343
- "upm-ci~/test-results/**/*"
4444
dependencies:
45-
- .yamato/package-pack.yml#package_pack_-_ngo_{{ platform.name }}
45+
- .yamato/project-updated-dependencies-test.yml#project_pack_-_{{ project.name }}_{{ platform.name }}
4646
{% endfor -%}
4747
{% endfor -%}
4848
{% endfor -%}
49+
50+
51+
# TODO: This job was removed on PR-3711 but the above job somehow can find proper artifacts with package pack job.
52+
# This job should be removed when issue will be resolved since it's not used anywhere
53+
{% for project in projects.all -%}
54+
{% for platform in test_platforms.desktop -%}
55+
project_pack_-_{{ project.name }}_{{ platform.name }}:
56+
name: Project Pack - {{ project.name }} [{{ platform.name }}]
57+
agent:
58+
type: {{ platform.type }}
59+
image: {{ platform.image }}
60+
flavor: {{ platform.flavor }}
61+
commands:
62+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm # upm-ci is not preinstalled on the image so we need to download it
63+
- upm-ci project pack --project-path {{ project.path }}
64+
artifacts:
65+
packages:
66+
paths:
67+
- "upm-ci~/packages/**/*"
68+
{% endfor -%}
69+
{% endfor -%}

0 commit comments

Comments
 (0)