Skip to content

Commit 3252927

Browse files
committed
project-updated-dependencies comments
1 parent a2f7491 commit 3252927

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed
Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
1-
{% metadata_file .yamato/project.metafile %}
1+
{% metadata_file .yamato/project.metafile %} # All configuration that is used to create different configurations (used in for loops) is taken from this file.
22
---
33

4-
# Executes package tests for each package referenced in the project using the newest compatible version of the package dependencies.
5-
# This is just to ensure that no critical change is made. It will be run on a default editor and default platform (it can be discussed if we should run it per all editors and platforms)
6-
{% for project in projects.default -%}
4+
# DESCRIPTION--------------------------------------------------------------------------
5+
# This job is responsible fo validating package compatibility with latest dependency versions.
6+
# This helps detect potential breaking changes from dependency updates early
7+
8+
# CONFIGURATION STRUCTURE--------------------------------------------------------------
9+
# Jobs configurations are generated using nested loops through:
10+
# 1. For all projects (testproject, minimalproject, testproject-tools-integration).
11+
# 2. For all desktop platforms (Win, Ubuntu, Mac)
12+
# 3. For all supported editors (For NGOv1.X it means 2021.3+)
13+
14+
# TECHNICAL CONSIDERATIONS----------------------------------------------------------------
15+
# This job requires successful project packaging before execution (job dependency)
16+
# This job tests only NGO package dependencies (com.unity.netcode.gameobjects)
17+
# The results are being generated in upm-ci~/test-results directory (specific of upm-ci)
18+
19+
# QUALITY CONSIDERATIONS---------------------------------------------------------------------
20+
# TODO: Currently upm-ci is being used but in the future it will be replaced by upm-pvp
21+
# To see where this job is included (in trigger job definitions) look into _triggers.yml file
22+
23+
#--------------------------------------------------------------------------------------
24+
25+
{% for project in projects.all -%}
726
{% for platform in test_platforms.desktop -%}
827
{% for editor in validation_editors.all -%}
928
updated-dependencies_{{ project.name }}_NGO_{{ platform.name }}_{{ editor }}:
@@ -13,15 +32,14 @@ updated-dependencies_{{ project.name }}_NGO_{{ platform.name }}_{{ editor }}:
1332
image: {{ platform.image }}
1433
flavor: {{ platform.flavor }}
1534
commands:
16-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
35+
- 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
1736
- upm-ci project test -u {{ editor }} --project-path {{ project.path }} --type updated-dependencies-tests --package-filter com.unity.netcode.gameobjects
1837
artifacts:
1938
logs:
2039
paths:
2140
- "upm-ci~/test-results/**/*"
2241
dependencies:
23-
- path: .yamato/project-pack.yml#project_pack_-_{{ project.name }}_{{ platform.name }}
24-
rerun: always
42+
- .yamato/project-pack.yml#project_pack_-_{{ project.name }}_{{ platform.name }}
2543
{% endfor -%}
2644
{% endfor -%}
2745
{% endfor -%}

0 commit comments

Comments
 (0)