Skip to content

Commit 7ce8fde

Browse files
committed
Adjusted comments after creation of CI_README file
1 parent 5ccb25a commit 7ce8fde

14 files changed

+10
-83
lines changed

.yamato/_run-all.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@
55
# Those jobs group together related test as dependencies to allow to easily manage running a given set of tests.
66
# This enables efficient test execution for different validation scenarios
77

8-
# CONFIGURATION STRUCTURE--------------------------------------------------------------
9-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
10-
# Jobs are generated using nested loops through:
11-
12-
# It's important to ensure that all generated in such way dependencies exist (this can be verified in Yamato)
13-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
14-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
8+
# QUALITY CONSIDERATIONS---------------------------------------------------------------
9+
# It's important to ensure that all dependencies exist (this can be verified in Yamato) since a modification in parameters may result in a given job not being generated, and thus we will not be able to run such erroneous job.
1510

1611
#-----------------------------------------------------------------------------------
1712

.yamato/_triggers.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
# Jobs configurations are generated by ensuring that all dependencies are successful.
3333
# The dependencies are taken from _run-all.yml file where we can gather multiple tests into proper sets
3434

35+
# QUALITY CONSIDERATIONS---------------------------------------------------------------
36+
# It's important to ensure that all dependencies exist (this can be verified in Yamato) since a modification in parameters may result in a given job not being generated, and thus we will not be able to run such erroneous job.
37+
38+
3539

3640
#-----------------------------------------------------------------------------------
3741

.yamato/code-coverage.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,10 @@
1010
# Additional metrics for coverage analysis
1111

1212
# CONFIGURATION STRUCTURE--------------------------------------------------------------
13-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
1413
# Jobs are generated using nested loops through:
1514
# 1. For default platform only (Ubuntu) since coverage would not vary between platforms (no need for checks on more platforms)
1615
# 2. For default editor version (trunk) since coverage would not vary between editors (no need for checks on more editors)
17-
18-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
19-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
20-
21-
# The jobs name being generated would be for example "Code Coverage - NGO [testproject, 6000.0]" (name visible in Yamato) or "code_coverage_testproject_6000.0" (job name when querying for it)
22-
16+
2317
#TECHNICAL CONSIDERATIONS---------------------------------------------------------------
2418
# In theory this job also runs package tests, but we don't want to use it as default since is heavier (because of added coverage analysis) and coverage is not changing that often
2519
# Requires Unity Editor installation

.yamato/console-standalone-test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@
66
# Those tests cover both PlayMode and EditMode tests from package test assemblies.
77

88
# CONFIGURATION STRUCTURE--------------------------------------------------------------
9-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
109
# Jobs are generated using nested loops (separate build phase and run phase). Worth noting that run phase uses the build as dependency:
1110
# 1. For all console platform (Switch, ps4, ps5, xbox360, xboxOne)
1211
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors)
1312
` # 3. For the default project.
14-
15-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
16-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
17-
18-
# The jobs name being generated would be for example "Build testproject - [win, 6000.0, il2cpp]" (name visible in Yamato) or "console_standalone_build_testproject_win_6000.0" (job name when querying for it)
19-
13+
2014
# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
2115
# For console devices a split is required into two phases:
2216
# 1. Build Phase: Creates standalone players for console platforms

.yamato/desktop-standalone-tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,12 @@
66
# Those tests cover both PlayMode and EditMode tests from package test assemblies.
77

88
# CONFIGURATION STRUCTURE--------------------------------------------------------------
9-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
109
# Jobs are generated using nested loops (separate build phase and run phase). Worth noting that run phase uses the build as dependency:
1110
# 1. For all desktop platform (Windows, macOS, Ubuntu)
1211
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors)
1312
# 3. For the default project.
1413
# 4. For all scripting backends (mono, il2cpp)
15-
16-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
17-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
18-
19-
# The jobs name being generated would be for example "Standalone Build - NGO testproject - [win, mono, 6000.0]" (name visible in Yamato) or "desktop_standalone_build_testproject_win_mono_6000.0" (job name when querying for it)
20-
14+
2115
# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
2216
# For desktop devices a split is into two phases is not required but we use it for consistency with setup of others standalone platforms:
2317
# 1. Build Phase: Creates standalone players for desktop platforms

.yamato/mobile-standalone-test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@
66
# Those tests cover both PlayMode and EditMode tests from package test assemblies.
77

88
# CONFIGURATION STRUCTURE--------------------------------------------------------------
9-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
109
# Jobs are generated using nested loops through:
1110
# 1. For all mobile platform (Android, iOS)
1211
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors)
1312
# 3. For the default project.
1413

15-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
16-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
17-
18-
# The jobs name being generated would be for example "Build testproject - [win, 6000.0, il2cpp]" (name visible in Yamato) or "build_testproject_win_6000.0" (job name when querying for it)
19-
2014
# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
2115
# For mobile devices a split is required into two phases:
2216
# 1. Build Phase: Creates standalone players for mobile platforms

.yamato/package-pack.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,9 @@
88
# Because of that validation we can detect errors at the early stage of testing so not to waste CI resources
99

1010
# CONFIGURATION STRUCTURE--------------------------------------------------------------
11-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
1211
# Jobs are generated using nested loops through:
1312
# 1. For all desktop platforms (Windows, Ubuntu, macOS)
1413

15-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
16-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
17-
18-
# The jobs name being generated would be for example "Package Pack (and x-ray) - NGO [win]" (name visible in Yamato) or "package_pack_-_ngo_win" (job name when querying for it)
19-
2014
# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
2115
# Job does not require Unity Editor in order to perform packing.
2216
# Job uses PVP x-ray for lightweight validation

.yamato/package-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,10 @@
77
# Additionally it combines Package Verification Pipeline (PVP) validation. This ensures that package is compatible with Unity standards
88

99
# CONFIGURATION STRUCTURE--------------------------------------------------------------
10-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
1110
# Jobs are generated using nested loops through:
1211
# 1. For all desktop platforms (Windows, Ubuntu, macOS)
1312
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors)
1413

15-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
16-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
17-
18-
# The jobs name being generated would be for example "Package Test - NGO testproject [win, 6000.0]" (name visible in Yamato) or "package_test_-_ngo_6000.0_win" (job name when querying for it)
19-
2014
# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
2115
# This job runs in Editor context only (no player builds required)
2216
# No scripting backend variations needed (Editor context)

.yamato/performance-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,11 @@
77
# Currently because of lack of performance tests this job will always return "no tests have been selected" and because oif that it's not included in any trigger jobs.
88

99
# CONFIGURATION STRUCTURE--------------------------------------------------------------
10-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
1110
# Jobs configurations are generated using nested loops through:
1211
# 1. For all desktop platforms (Windows, Ubuntu, macOS)
1312
# 2. For all supported Unity Editor versions (For NGOv2.X it means 6000+)
1413
# 3. For the default project (project is used only as a context for the build). TODO-comment: if performance tests would be included in projects then we should make an approperiate split.
1514

16-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
17-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
18-
19-
# The jobs name being generated would be for example "Performance editor Tests - NGO testproject [win, 6000.0] (No Data Reporting)" (name visible in Yamato) or "performance_editor_tests_-_NGO_testproject_6000.0_no_data_reporting" (job name when querying for it)
20-
2115
# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
2216
# Tests are run in Editor context only
2317
# No performance metrics are reported to monitoring systems

.yamato/project-pack.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,10 @@
66
# The job itself doesn't test anything specific but rather it prepares project packages that will be consumed by other pipeline jobs.
77

88
# CONFIGURATION STRUCTURE--------------------------------------------------------------
9-
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
109
# Jobs configurations are generated using nested loops through:
1110
# 1. For all projects (testproject, minimalproject, testproject-tools-integration).
1211
# 2. For all desktop platforms (Win, Ubuntu, Mac)
1312

14-
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
15-
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
16-
17-
# The jobs name being generated would be for example "Project Pack - testproject [win]" (name visible in Yamato) or "project_pack_-_testproject_win" (job name when querying for it)
18-
1913
# TECHNICAL CONSIDERATIONS--------------------------------------------------------------------
2014
# Job does not require Unity Editor in order to perform packing.
2115
# In theory, we could just use one platform for packing projects (for example ubuntu) but in order to reduce confusion we are using same platform as the job utilizing project pack as dependency.

0 commit comments

Comments
 (0)