Skip to content

Commit 0801b0e

Browse files
chore: backport of Wrench from release/1.12.0 branch into develop (#3172)
* Added setup necessary for release automation of NGO (#3141) * Corrected license file * Removed old files not conforming to pvp rules * Corrected typo in changelog * Added samples description to package.json while removing deprecated .samples.json * Inclusion of CI generation files * Changed Samples folder name to Samples~ * Added path field in package.json for samples * fix: removing timeouts from integration tests (#3167) Removing timesouts from our integration tests: - TestSendingWithGroupOverride - TestSendingWithGroupNotOverride - WhenManyObjectsAreSpawnedAtOnce_AllAreReceived( * fix: update universal rpc tests revert spawnmany timeout (#3168) * fix: adding extended timeout to all universal rpc tests (#3170) Adding extended timeout to all universal rpc tests * Extended timeout for validation jobs on editors lower than 6000 to 5h (#3173) --------- Co-authored-by: Noel Stephens <noel.stephens@unity3d.com>
1 parent 06a83bd commit 0801b0e

38 files changed

+2172
-166
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Auto-generated by Recipe Engine, do not modify manually.
2+
# This job is generated by the wrench recipe engine module.
3+
4+
# upm-ci validation tests for API Validation - netcode.gameobjects - 2021.3 - windows (2021.3 - Windows).
5+
api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
6+
name: API Validation - netcode.gameobjects - 2021.3 - windows
7+
agent:
8+
image: package-ci/win10:default
9+
type: Unity::VM
10+
flavor: b1.large
11+
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
13+
- command: 7z x -aoa wrench-localapv.zip
14+
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
15+
- command: python PythonScripts/print_machine_info.py
16+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
17+
timeout: 20
18+
retries: 10
19+
- command: unity-downloader-cli -u 2021.3 -c Editor --fast
20+
timeout: 10
21+
retries: 3
22+
- command: python PythonScripts/PackageJsonCondersor.py
23+
timeout: 1
24+
retries: 0
25+
- command: upm-ci package test -u .Editor --package-path com.unity.netcode.gameobjects --type vetting-tests || exit 0
26+
timeout: 30
27+
retries: 0
28+
- command: python PythonScripts/parse_upm_ci_results.py --package-path=com.unity.netcode.gameobjects
29+
timeout: 2
30+
retries: 0
31+
after:
32+
- 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"
34+
timeout: 10
35+
retries: 1
36+
artifacts:
37+
Crash Dumps:
38+
paths:
39+
- CrashDumps/**
40+
logs:
41+
paths:
42+
- '*.log'
43+
- '*.xml'
44+
- upm-ci~/test-results/**/*
45+
- upm-ci~/temp/*/Logs/**
46+
- upm-ci~/temp/*/Library/*.log
47+
- upm-ci~/temp/*/*.log
48+
- upm-ci~/temp/Builds/*.log
49+
browsable: onNonSuccess
50+
dependencies:
51+
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_netcode_gameobjects
52+
variables:
53+
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
54+
triggers:
55+
expression: push.branch match "^release/.*"
56+
cancel_old_ci: true
57+
metadata:
58+
Job Maintainers: '#rm-packageworks'
59+
Wrench: 0.10.31.0
60+

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Auto-generated by Recipe Engine, do not modify manually.
2+
# This job is generated by the wrench recipe engine module.
3+
4+
# Pack and Sign Netcode for GameObjects
5+
package_pack_-_netcode_gameobjects:
6+
name: Package Pack - netcode.gameobjects
7+
agent:
8+
image: package-ci/ubuntu-20.04:default
9+
type: Unity::VM
10+
flavor: b1.large
11+
commands:
12+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
13+
timeout: 20
14+
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
16+
- command: 7z x -aoa wrench-localapv.zip
17+
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
18+
- command: python PythonScripts/print_machine_info.py
19+
- command: upm-ci package pack --package-path com.unity.netcode.gameobjects
20+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.netcode.gameobjects_packages.json
21+
after:
22+
- 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
24+
timeout: 10
25+
retries: 1
26+
artifacts:
27+
packages:
28+
paths:
29+
- upm-ci~/packages/**/*
30+
variables:
31+
UPMCI_ACK_LARGE_PACKAGE: 1
32+
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
33+
metadata:
34+
Job Maintainers: '#rm-packageworks'
35+
Wrench: 0.10.31.0
36+

0 commit comments

Comments
 (0)