Skip to content

Commit da5da52

Browse files
chore: Added Ci related folders to gitignore and updated Wrench (#3281)
* Updated Gitignore files * Updated Wrench version as well as TargetFramework from net7.0 to net8.0 * Regenerated wrench recipes
1 parent c2dff9d commit da5da52

File tree

9 files changed

+617
-165
lines changed

9 files changed

+617
-165
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ upm-ci~
99
utr
1010
utr.bat
1111
.download
12+
Tools/CI/bin
13+
Tools/CI/obj
1214

.yamato/wrench/api-validation-jobs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto-generated by Recipe Engine, do not modify manually.
2-
# This job is generated by the wrench recipe engine module.
2+
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb
33

44
# upm-ci validation tests for API Validation - netcode.gameobjects - 2021.3 - windows (2021.3 - Windows).
55
api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
@@ -9,7 +9,7 @@ api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
99
type: Unity::VM
1010
flavor: b1.large
1111
commands:
12-
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip
12+
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-56_236616cc910608f3016a29947795c2e53f0c0dbfa45128d551397825ed65689e.zip -o wrench-localapv.zip
1313
- command: 7z x -aoa wrench-localapv.zip
1414
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
1515
- command: python PythonScripts/print_machine_info.py
@@ -30,7 +30,7 @@ api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
3030
retries: 0
3131
after:
3232
- command: cmd.exe /c "curl -s https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.bat --output run_standalone_instability_detection-latest.bat --retry 5 || exit 0"
33-
- command: cmd.exe /c "run_standalone_instability_detection-latest.bat 0.5.0 || exit 0"
33+
- command: cmd.exe /c "run_standalone_instability_detection-latest.bat 0.5.1 || exit 0"
3434
timeout: 10
3535
retries: 1
3636
artifacts:
@@ -50,11 +50,11 @@ api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
5050
dependencies:
5151
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_netcode_gameobjects
5252
variables:
53-
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
53+
UPMPVP_CONTEXT_WRENCH: 0.10.36.0
5454
triggers:
5555
expression: push.branch match "^release/.*"
5656
cancel_old_ci: true
5757
metadata:
5858
Job Maintainers: '#rm-packageworks'
59-
Wrench: 0.10.31.0
59+
Wrench: 0.10.36.0
6060

.yamato/wrench/package-pack-jobs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Auto-generated by Recipe Engine, do not modify manually.
2-
# This job is generated by the wrench recipe engine module.
2+
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb
33

4-
# Pack and Sign Netcode for GameObjects
4+
# Pack Netcode for GameObjects
55
package_pack_-_netcode_gameobjects:
66
name: Package Pack - netcode.gameobjects
77
agent:
@@ -12,15 +12,15 @@ package_pack_-_netcode_gameobjects:
1212
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1313
timeout: 20
1414
retries: 10
15-
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip
15+
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-56_236616cc910608f3016a29947795c2e53f0c0dbfa45128d551397825ed65689e.zip -o wrench-localapv.zip
1616
- command: 7z x -aoa wrench-localapv.zip
1717
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
1818
- command: python PythonScripts/print_machine_info.py
1919
- command: upm-ci package pack --package-path com.unity.netcode.gameobjects
2020
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.netcode.gameobjects_packages.json
2121
after:
2222
- command: curl -s https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.sh --output run_standalone_instability_detection-latest.sh --retry 5 || exit 0
23-
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.0 || exit 0
23+
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
2424
timeout: 10
2525
retries: 1
2626
artifacts:
@@ -29,8 +29,8 @@ package_pack_-_netcode_gameobjects:
2929
- upm-ci~/packages/**/*
3030
variables:
3131
UPMCI_ACK_LARGE_PACKAGE: 1
32-
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
32+
UPMPVP_CONTEXT_WRENCH: 0.10.36.0
3333
metadata:
3434
Job Maintainers: '#rm-packageworks'
35-
Wrench: 0.10.31.0
35+
Wrench: 0.10.36.0
3636

.yamato/wrench/preview-a-p-v.yml

Lines changed: 229 additions & 58 deletions
Large diffs are not rendered by default.

.yamato/wrench/promotion-jobs.yml

Lines changed: 57 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto-generated by Recipe Engine, do not modify manually.
2-
# This job is generated by the wrench recipe engine module.
2+
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb
33

44
# Publish Dry Run for netcode.gameobjects to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm
55
publish_dry_run_netcode_gameobjects:
@@ -9,7 +9,7 @@ publish_dry_run_netcode_gameobjects:
99
type: Unity::VM
1010
flavor: b1.large
1111
commands:
12-
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip
12+
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-56_236616cc910608f3016a29947795c2e53f0c0dbfa45128d551397825ed65689e.zip -o wrench-localapv.zip
1313
- command: 7z x -aoa wrench-localapv.zip
1414
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
1515
- command: python PythonScripts/print_machine_info.py
@@ -19,7 +19,7 @@ publish_dry_run_netcode_gameobjects:
1919
- command: python PythonScripts/run_publish_if_any_package_left.py --dry-run
2020
after:
2121
- command: curl -s https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.sh --output run_standalone_instability_detection-latest.sh --retry 5 || exit 0
22-
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.0 || exit 0
22+
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
2323
timeout: 10
2424
retries: 1
2525
artifacts:
@@ -125,15 +125,39 @@ publish_dry_run_netcode_gameobjects:
125125
pvp-results:
126126
location: results/pvp/validate-netcode.gameobjects-6000.1-windows
127127
unzip: true
128+
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_macos
129+
specific_options:
130+
UTR:
131+
location: results/UTR/validate-netcode.gameobjects-6000.2-macos
132+
unzip: true
133+
pvp-results:
134+
location: results/pvp/validate-netcode.gameobjects-6000.2-macos
135+
unzip: true
136+
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_ubuntu
137+
specific_options:
138+
UTR:
139+
location: results/UTR/validate-netcode.gameobjects-6000.2-ubuntu
140+
unzip: true
141+
pvp-results:
142+
location: results/pvp/validate-netcode.gameobjects-6000.2-ubuntu
143+
unzip: true
144+
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_windows
145+
specific_options:
146+
UTR:
147+
location: results/UTR/validate-netcode.gameobjects-6000.2-windows
148+
unzip: true
149+
pvp-results:
150+
location: results/pvp/validate-netcode.gameobjects-6000.2-windows
151+
unzip: true
128152
variables:
129153
UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1
130-
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
154+
UPMPVP_CONTEXT_WRENCH: 0.10.36.0
131155
triggers:
132156
expression: push.branch match "^release/.*"
133157
cancel_old_ci: true
134158
metadata:
135159
Job Maintainers: '#rm-packageworks'
136-
Wrench: 0.10.31.0
160+
Wrench: 0.10.36.0
137161

138162
# Publish for netcode.gameobjects to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm
139163
publish_netcode_gameobjects:
@@ -143,7 +167,7 @@ publish_netcode_gameobjects:
143167
type: Unity::VM
144168
flavor: b1.large
145169
commands:
146-
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip
170+
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-56_236616cc910608f3016a29947795c2e53f0c0dbfa45128d551397825ed65689e.zip -o wrench-localapv.zip
147171
- command: 7z x -aoa wrench-localapv.zip
148172
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
149173
- command: python PythonScripts/print_machine_info.py
@@ -153,7 +177,7 @@ publish_netcode_gameobjects:
153177
- command: python PythonScripts/run_publish_if_any_package_left.py
154178
after:
155179
- command: curl -s https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.sh --output run_standalone_instability_detection-latest.sh --retry 5 || exit 0
156-
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.0 || exit 0
180+
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
157181
timeout: 10
158182
retries: 1
159183
artifacts:
@@ -259,10 +283,34 @@ publish_netcode_gameobjects:
259283
pvp-results:
260284
location: results/pvp/validate-netcode.gameobjects-6000.1-windows
261285
unzip: true
286+
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_macos
287+
specific_options:
288+
UTR:
289+
location: results/UTR/validate-netcode.gameobjects-6000.2-macos
290+
unzip: true
291+
pvp-results:
292+
location: results/pvp/validate-netcode.gameobjects-6000.2-macos
293+
unzip: true
294+
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_ubuntu
295+
specific_options:
296+
UTR:
297+
location: results/UTR/validate-netcode.gameobjects-6000.2-ubuntu
298+
unzip: true
299+
pvp-results:
300+
location: results/pvp/validate-netcode.gameobjects-6000.2-ubuntu
301+
unzip: true
302+
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_windows
303+
specific_options:
304+
UTR:
305+
location: results/UTR/validate-netcode.gameobjects-6000.2-windows
306+
unzip: true
307+
pvp-results:
308+
location: results/pvp/validate-netcode.gameobjects-6000.2-windows
309+
unzip: true
262310
variables:
263311
UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1
264-
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
312+
UPMPVP_CONTEXT_WRENCH: 0.10.36.0
265313
metadata:
266314
Job Maintainers: '#rm-packageworks'
267-
Wrench: 0.10.31.0
315+
Wrench: 0.10.36.0
268316

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto-generated by Recipe Engine, do not modify manually.
2-
# This job is generated by the wrench recipe engine module.
2+
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb
33

44
# Test that Generated Wrench Jobs are up to date.
55
test_-_wrench_jobs_up_to_date:
@@ -9,14 +9,14 @@ test_-_wrench_jobs_up_to_date:
99
type: Unity::VM
1010
flavor: b1.large
1111
commands:
12-
- command: dotnet run --project Tools\CI\NGO.Cookbook.csproj
12+
- command: dotnet run --project Tools/CI/NGO.Cookbook.csproj
1313
- command: |-
1414
if [ -n "$(git status --porcelain)" ]; then
1515
git status
1616
echo "Your repo is not clean - diff output:"
1717
git diff
1818
echo "You must run recipe generation after updating recipes to update the generated YAML!"
19-
echo "Run 'dotnet run --project Tools\CI\NGO.Cookbook.csproj' from the root of your repository to regenerate all job definitions created by wrench."
19+
echo "Run 'dotnet run --project Tools/CI/NGO.Cookbook.csproj' from the root of your repository to regenerate all job definitions created by wrench."
2020
exit 1
2121
fi
2222
variables:
@@ -26,5 +26,5 @@ test_-_wrench_jobs_up_to_date:
2626
cancel_old_ci: true
2727
metadata:
2828
Job Maintainers: '#rm-packageworks'
29-
Wrench: 0.10.31.0
29+
Wrench: 0.10.36.0
3030

0 commit comments

Comments
 (0)