Skip to content

Commit ce3b6d9

Browse files
ci: setting maximum supported editor for NGOv1.X (#3584)
This PR addresses the fact that NGOv1.X will be deprecated in editors after 6000.3. Because of that we can stop running release tests for 6000.3 and the same with our usual CI On top of that I needed to move I moved BuildAutomation files since those were preventing recipes regeneration via ./regenerate.bat and corrected paths where needed ## Backport No backport is required since this is not affecting NGOv2.X
1 parent d8fabf5 commit ce3b6d9

18 files changed

+93
-517
lines changed

.yamato/_run-all.yml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ run_quick_checks:
1616
name: Run Quick Initial Checks
1717
dependencies:
1818
- .yamato/package-pack.yml#package_pack_-_ngo_ubuntu
19-
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
19+
- .yamato/project-standards.yml#standards_ubuntu_testproject_6000.2
2020
# Run API validation to early-detect all new APIs that would force us to release new minor version of the package. Note that for this to work the package version in package.json must correspond to "actual package state" which means that it should be higher than last released version
2121
- .yamato/vetting-test.yml#vetting_test
2222

@@ -31,22 +31,22 @@ run_all_package_tests:
3131
{% endfor -%}
3232

3333

34-
# Runs all package tests on trunk editor
35-
run_all_package_tests_trunk:
36-
name: Run All Package Tests [Trunk only]
34+
# Runs all package tests on 6000.2 editor (latest supported editor)
35+
run_all_package_tests_6000.2:
36+
name: Run All Package Tests [6000.2 only]
3737
dependencies:
3838
{% for platform in test_platforms.desktop -%}
3939
{% for editor in validation_editors.default -%}
4040
- .yamato/package-tests.yml#package_test_-_ngo_{{ editor }}_{{ platform.name }}
4141
{% endfor -%}
4242
{% endfor -%}
4343

44-
# Runs all package tests on mimimum supported editor (2021.3 in case of NGOv1.X)
45-
run_all_package_tests_2021:
46-
name: Run All Package Tests [2021.3]
44+
# Runs all package tests on mimimum supported editor (2022.3 in case of NGOv1.X) (2022.3 will soon be a minimum supported editor)
45+
run_all_package_tests_2022:
46+
name: Run All Package Tests [2022.3]
4747
dependencies:
4848
{% for platform in test_platforms.desktop -%}
49-
- .yamato/package-tests.yml#package_test_-_ngo_2021.3_{{ platform.name }}
49+
- .yamato/package-tests.yml#package_test_-_ngo_2022.3_{{ platform.name }}
5050
{% endfor -%}
5151

5252

@@ -65,9 +65,9 @@ run_all_project_tests:
6565
{% endfor -%}
6666

6767

68-
# Runs all projects tests on trunk editor
69-
run_all_project_tests_trunk:
70-
name: Run All Project Tests [Trunk only]
68+
# Runs all projects tests on 6000.2 editor (latest supported editor)
69+
run_all_project_tests_6000.2:
70+
name: Run All Project Tests [6000.2 only]
7171
dependencies:
7272
{% for project in projects.all -%}
7373
{% if project.has_tests == "true" -%}
@@ -79,14 +79,14 @@ run_all_project_tests_trunk:
7979
{% endif -%}
8080
{% endfor -%}
8181

82-
# Runs all projects tests on mimimum supported editor (2021.3 in case of NGOv1.X)
83-
run_all_project_tests_2021:
84-
name: Run All Project Tests [2021.3]
82+
# Runs all projects tests on mimimum supported editor (2022.3 in case of NGOv1.X) (2022.3 will soon be a minimum supported editor)
83+
run_all_project_tests_2022:
84+
name: Run All Project Tests [2022.3]
8585
dependencies:
8686
{% for project in projects.all -%}
8787
{% if project.has_tests == "true" -%}
8888
{% for platform in test_platforms.desktop -%}
89-
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_2021.3
89+
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_2022.3
9090
{% endfor -%}
9191
{% endif -%}
9292
{% endfor -%}
@@ -118,9 +118,9 @@ run_all_webgl_builds:
118118
{% endfor -%}
119119

120120

121-
# Runs all WebGL builds on trunk editor
122-
run_all_webgl_builds_trunk:
123-
name: Run All WebGl Build [Trunk only]
121+
# Runs all WebGL builds on 6000.2 editor (latest supported editor)
122+
run_all_webgl_builds_6000.2:
123+
name: Run All WebGl Build [6000.2 only]
124124
dependencies:
125125
{% for project in projects.default -%}
126126
{% for platform in test_platforms.desktop -%}
@@ -130,13 +130,13 @@ run_all_webgl_builds_trunk:
130130
{% endfor -%}
131131
{% endfor -%}
132132

133-
# Runs all WebGL builds on 2021.3 editor
134-
run_all_webgl_builds_2021:
135-
name: Run All WebGl Build [2021.3]
133+
# Runs all WebGL builds on 2022.3 editor (2022.3 will soon be a minimum supported editor)
134+
run_all_webgl_builds_2022:
135+
name: Run All WebGl Build [2022.3]
136136
dependencies:
137137
{% for project in projects.default -%}
138138
{% for platform in test_platforms.desktop -%}
139-
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_2021.3
139+
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_2022.3
140140
{% endfor -%}
141141
{% endfor -%}
142142

@@ -156,9 +156,9 @@ run_all_project_tests_desktop_standalone:
156156
{% endfor -%}
157157

158158

159-
# Runs all Desktop tests on trunk editor
160-
run_all_project_tests_desktop_standalone_trunk:
161-
name: Run All Standalone Tests - Desktop [Trunk only]
159+
# Runs all Desktop tests on 6000.2 editor (latest supported editor)
160+
run_all_project_tests_desktop_standalone_6000.2:
161+
name: Run All Standalone Tests - Desktop [6000.2 only]
162162
dependencies:
163163
{% for project in projects.default -%}
164164
{% for platform in test_platforms.desktop -%}
@@ -170,14 +170,14 @@ run_all_project_tests_desktop_standalone_trunk:
170170
{% endfor -%}
171171
{% endfor -%}
172172

173-
# Runs all Desktop tests on mimimum supported editor (2021.3 in case of NGOv1.X)
174-
run_all_project_tests_desktop_standalone_2021:
175-
name: Run All Standalone Tests - Desktop [2021.3]
173+
# Runs all Desktop tests on mimimum supported editor (2022.3 in case of NGOv1.X) (2022.3 will soon be a minimum supported editor)
174+
run_all_project_tests_desktop_standalone_2022:
175+
name: Run All Standalone Tests - Desktop [2022.3]
176176
dependencies:
177177
{% for project in projects.default -%}
178178
{% for platform in test_platforms.desktop -%}
179179
{% for backend in scripting_backends -%}
180-
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_2021.3
180+
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_2022.3
181181
{% endfor -%}
182182
{% endfor -%}
183183
{% endfor -%}
@@ -195,9 +195,9 @@ run_all_project_tests_mobile_standalone:
195195
{% endfor -%}
196196

197197

198-
# Runs all Mobile tests on trunk editor
199-
run_all_project_tests_mobile_standalone_trunk:
200-
name: Run All Standalone Tests - Mobile [Trunk only]
198+
# Runs all Mobile tests on 6000.2 editor (latest supported editor)
199+
run_all_project_tests_mobile_standalone_6000.2:
200+
name: Run All Standalone Tests - Mobile [6000.2 only]
201201
dependencies:
202202
{% for project in projects.default -%}
203203
{% for platform in test_platforms.mobile_test -%}
@@ -207,13 +207,13 @@ run_all_project_tests_mobile_standalone_trunk:
207207
{% endfor -%}
208208
{% endfor -%}
209209

210-
# Runs all Mobile tests on mimimum supported editor (2021.3 in case of NGOv1.X)
211-
run_all_project_tests_mobile_standalone_2021:
212-
name: Run All Standalone Tests - Mobile [2021.3]
210+
# Runs all Mobile tests on mimimum supported editor (2022.3 in case of NGOv1.X) (2022.3 will soon be a minimum supported editor)
211+
run_all_project_tests_mobile_standalone_2022:
212+
name: Run All Standalone Tests - Mobile [2022.3]
213213
dependencies:
214214
{% for project in projects.default -%}
215215
{% for platform in test_platforms.mobile_test -%}
216-
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_2021.3
216+
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_2022.3
217217
{% endfor -%}
218218
{% endfor -%}
219219

@@ -231,9 +231,9 @@ run_all_project_tests_console_standalone:
231231
{% endfor -%}
232232

233233

234-
# Runs all Console tests on trunk editor
235-
run_all_project_tests_console_standalone_trunk:
236-
name: Run All Standalone Tests - Console [Trunk only]
234+
# Runs all Console tests on 6000.2 editor (latest supported editor)
235+
run_all_project_tests_console_standalone_6000.2:
236+
name: Run All Standalone Tests - Console [6000.2 only]
237237
dependencies:
238238
{% for project in projects.default -%}
239239
{% for platform in test_platforms.console_test -%}
@@ -243,12 +243,12 @@ run_all_project_tests_console_standalone_trunk:
243243
{% endfor -%}
244244
{% endfor -%}
245245

246-
# Runs all Console tests on mimimum supported editor (2021.3 in case of NGOv1.X)
247-
run_all_project_tests_console_standalone_2021:
248-
name: Run All Standalone Tests - Console [2021.3]
246+
# Runs all Console tests on mimimum supported editor (2022.3 in case of NGOv1.X) (2022.3 will soon be a minimum supported editor)
247+
run_all_project_tests_console_standalone_2022:
248+
name: Run All Standalone Tests - Console [2022.3]
249249
dependencies:
250250
{% for project in projects.default -%}
251251
{% for platform in test_platforms.console_test -%}
252-
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_2021.3
252+
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_2022.3
253253
{% endfor -%}
254254
{% endfor -%}

.yamato/_triggers.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Nightly:
2020
# This test validates same subset as pull_request_trigger with addition of mobile/console tests and webgl builds
2121
# Runs daily on develop (local configuration)
22-
# Includes all test types but only on trunk.
22+
# Includes all test types but only on 6000.2 (latest supported editor).
2323
# Adds platform-specific and APV validation
2424

2525
# Weekly:
@@ -45,17 +45,17 @@ pull_request_trigger:
4545
name: Pull Request Trigger (develop, develop-2.0.0, & release branches)
4646
# Run the following tests on a selection of different desktop platforms
4747
dependencies:
48-
# Run package EditMode and Playmode package tests on trunk and an older supported editor (2022.3) (2022.3 will soon be a minimum supported editor)
49-
- .yamato/package-tests.yml#package_test_-_ngo_trunk_mac
48+
# Run package EditMode and Playmode package tests on 6000.2 (latest supported editor) and an older supported editor (2022.3) (2022.3 will soon be a minimum supported editor)
49+
- .yamato/package-tests.yml#package_test_-_ngo_6000.2_mac
5050
- .yamato/package-tests.yml#package_test_-_ngo_2022.3_win
5151

52-
# Run testproject EditMode and Playmode project tests on trunk and an older supported editor (2022.3) (2022.3 will soon be a minimum supported editor)
53-
- .yamato/project-tests.yml#test_testproject_win_trunk
52+
# Run testproject EditMode and Playmode project tests on 6000.2 (latest supported editor) and an older supported editor (2022.3) (2022.3 will soon be a minimum supported editor)
53+
- .yamato/project-tests.yml#test_testproject_win_6000.2
5454
- .yamato/project-tests.yml#test_testproject_mac_2022.3
5555

56-
# Run tools integration tests EditMode and Playmode tests on trunk and an older supported editor (2022.3) (2022.3 will soon be a minimum supported editor)
56+
# Run tools integration tests EditMode and Playmode tests on 6000.2 (latest supported editor) and an older supported editor (2022.3) (2022.3 will soon be a minimum supported editor)
5757
- .yamato/project-tests.yml#test_testproject-tools-integration_ubuntu_2022.3
58-
- .yamato/project-tests.yml#test_testproject-tools-integration_win_trunk
58+
- .yamato/project-tests.yml#test_testproject-tools-integration_win_6000.2
5959

6060
# Run standalone test. We run it only on Ubuntu since it's the fastest machine, and it was noted that for example distribution on macOS is taking 40m since we switched to Apple Silicon
6161
# Coverage on other standalone machines is present in Nightly job so it's enough to not run all of them for PRs
@@ -71,51 +71,51 @@ pull_request_trigger:
7171
- drafts: false
7272

7373

74-
# Run all tests on trunk on nightly basis.
74+
# Run all tests on 6000.2 (latest supported editor) on nightly basis.
7575
# Same subset as pull_request_trigger with addition of mobile/desktop/console tests and webgl builds
76-
# Those tests are all running on trunk editor (since it's daily and running all of them would add a lot of overhead)
76+
# Those tests are all running on 6000.2 (latest supported editor) since it's daily and running all of them would add a lot of overhead
7777
develop_nightly:
78-
name: "\U0001F319 [Nightly] Run All Tests [Trunk and 2021]"
78+
name: "\U0001F319 [Nightly] Run All Tests [6000.2 and 2022]"
7979
triggers:
8080
recurring:
8181
- branch: develop
8282
frequency: daily
8383
rerun: always
8484
dependencies:
8585
# Run project standards to verify package/default project
86-
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
87-
- .yamato/project-standards.yml#standards_ubuntu_testproject_2021.3
86+
- .yamato/project-standards.yml#standards_ubuntu_testproject_6000.2
87+
- .yamato/project-standards.yml#standards_ubuntu_testproject_2022.3
8888
# Run APV jobs to make sure the change won't break any dependants
8989
- .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs
90-
# Run package EditMode and Playmode tests on desktop platforms on trunk and 2021.3
91-
- .yamato/_run-all.yml#run_all_package_tests_trunk
92-
- .yamato/_run-all.yml#run_all_package_tests_2021
93-
# Run project EditMode and PLaymode tests on desktop platforms on trunk and 2021.3
94-
- .yamato/_run-all.yml#run_all_project_tests_trunk
95-
- .yamato/_run-all.yml#run_all_project_tests_2021
96-
# Run Runtime tests on desktop players on trunk and 2021 editors
97-
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_trunk
98-
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_2021
99-
# Run Runtime tests on mobile players on trunk and 2021 editors
100-
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_trunk
101-
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_2021
102-
# Run Runtime tests on console players on trunk and 2021 editors
103-
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_trunk
104-
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_2021
105-
# Build player for webgl platform on trunk and 2021 editors
106-
- .yamato/_run-all.yml#run_all_webgl_builds_trunk
107-
- .yamato/_run-all.yml#run_all_webgl_builds_2021
108-
# Build player for webgl platform on trunk and 2021 editors
109-
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_ubuntu_trunk
110-
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_win_2021.3
90+
# Run package EditMode and Playmode tests on desktop platforms on 6000.2 (latest supported editor) and 2022.3 (2022.3 will soon be a minimum supported editor)
91+
- .yamato/_run-all.yml#run_all_package_tests_6000.2
92+
- .yamato/_run-all.yml#run_all_package_tests_2022
93+
# Run project EditMode and PLaymode tests on desktop platforms on 6000.2 (latest supported editor) and 2022.3 (2022.3 will soon be a minimum supported editor)
94+
- .yamato/_run-all.yml#run_all_project_tests_6000.2
95+
- .yamato/_run-all.yml#run_all_project_tests_2022
96+
# Run Runtime tests on desktop players on 6000.2 (latest supported editor) and 2022.3 editors (2022.3 will soon be a minimum supported editor)
97+
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_6000.2
98+
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_2022
99+
# Run Runtime tests on mobile players on 6000.2 (latest supported editor) and 2022.3 editors (2022.3 will soon be a minimum supported editor)
100+
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_6000.2
101+
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_2022
102+
# Run Runtime tests on console players on 6000.2 (latest supported editor) and 2022.3 editors (2022.3 will soon be a minimum supported editor)
103+
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_6000.2
104+
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_2022
105+
# Build player for webgl platform on 6000.2 (latest supported editor) and 2022.3 editors (2022.3 will soon be a minimum supported editor)
106+
- .yamato/_run-all.yml#run_all_webgl_builds_6000.2
107+
- .yamato/_run-all.yml#run_all_webgl_builds_2022
108+
# Build player for webgl platform on 6000.2 (latest supported editor) and 2022.3 editors (2022.3 will soon be a minimum supported editor)
109+
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_ubuntu_6000.2
110+
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_win_2022.3
111111
# Run API validation to early-detect all new APIs that would force us to release new minor version of the package. Note that for this to work the package version in package.json must correspond to "actual package state" which means that it should be higher than last released version
112112
- .yamato/vetting-test.yml#vetting_test
113113

114114

115115
# Run all tests on weekly bases
116116
# Same subset as develop_nightly but runs per all supported editors as well as executes code coverage test and runs project standards per project
117117
# It's not running wrench jobs since those will run either way in nightly test run
118-
# This in contrast to nightly checks will run tests on all editors (not only trunk). Running those on weekly basis and trunk tests nightly should be a good balance between making sure that tests are passing and overhead of running lots of tests
118+
# This in contrast to nightly checks will run tests on all editors (not only 6000.2). Running those on weekly basis and 6000.2 (latest supported editor) tests nightly should be a good balance between making sure that tests are passing and overhead of running lots of tests
119119
develop_weekly_trunk:
120120
name: "\U0001F319 [Weekly] Run All Tests"
121121
triggers:
@@ -136,7 +136,7 @@ develop_weekly_trunk:
136136
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone
137137
# Run Runtime tests on console players
138138
- .yamato/_run-all.yml#run_all_project_tests_console_standalone
139-
# Build player for webgl platform on trunk
139+
# Build player for webgl platform on 6000.2 (latest supported editor)
140140
- .yamato/_run-all.yml#run_all_webgl_builds
141141
# Run code coverage test
142-
- .yamato/code-coverage.yml#code_coverage_ubuntu_trunk
142+
- .yamato/code-coverage.yml#code_coverage_ubuntu_6000.2

.yamato/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# CONFIGURATION STRUCTURE--------------------------------------------------------------
1313
# Jobs are generated using nested loops through:
1414
# 1. For default platform only (Ubuntu) since coverage would not vary between platforms (no need for checks on more platforms)
15-
# 2. For default editor version (trunk) since coverage would not vary between editors (no need for checks on more editors)
15+
# 2. For default editor version (6000.2) since coverage would not vary between editors (no need for checks on more editors)
1616

1717
#TECHNICAL CONSIDERATIONS---------------------------------------------------------------
1818
# 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

0 commit comments

Comments
 (0)