Skip to content

Commit 0372c7f

Browse files
Merge branch 'master' into graphics/fix-xmlvalidation-docs-pp
1 parent 7181ed0 commit 0372c7f

21 files changed

+3836
-5
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/bin/bash
2+
# This is an auto-generated script. Do not edit manually!
3+
set -x
4+
5+
set -e
6+
if [ -f "infrastructure_instability_detection_standalone.zip" ]; then
7+
echo "removed existing archive infrastructure_instability_detection_standalone.zip"
8+
rm "infrastructure_instability_detection_standalone.zip" || true
9+
fi
10+
11+
if [ -d "infrastructure_instability_detection_standalone" ]; then
12+
echo "removed existing directory infrastructure_instability_detection_standalone/"
13+
rm -rf "infrastructure_instability_detection_standalone" || true
14+
fi
15+
16+
echo "downloading and extracting infrastructure_instability_detection_standalone@1.2.2"
17+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.2.2/ubuntu.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true
18+
19+
if [ -d "infrastructure_instability_detection" ]; then
20+
echo "removing infrastructure_instability_detection folder to avoid name clash"
21+
rm -rf infrastructure_instability_detection/ || true
22+
fi
23+
24+
unzip -qo "infrastructure_instability_detection_standalone.zip" && rm "infrastructure_instability_detection_standalone.zip" || true
25+
26+
echo "downloading and extracting patterns"
27+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5 || true
28+
29+
if [ -d "patterns" ]; then
30+
echo "removing patterns folder to avoid name clash"
31+
rm -rf patterns/ || true
32+
fi
33+
34+
unzip -q patterns.zip && rm patterns.zip || true
35+
36+
echo "running '$(pwd)/infrastructure_instability_detection'"
37+
./infrastructure_instability_detection || true
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/bin/bash
2+
# This is an auto-generated script. Do not edit manually!
3+
set -x
4+
5+
set -e
6+
if [ -f "infrastructure_instability_detection_standalone.zip" ]; then
7+
echo "removed existing archive infrastructure_instability_detection_standalone.zip"
8+
rm "infrastructure_instability_detection_standalone.zip" || true
9+
fi
10+
11+
if [ -d "infrastructure_instability_detection_standalone" ]; then
12+
echo "removed existing directory infrastructure_instability_detection_standalone/"
13+
rm -rf "infrastructure_instability_detection_standalone" || true
14+
fi
15+
16+
echo "downloading and extracting infrastructure_instability_detection_standalone@1.2.2"
17+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.2.2/macos.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true
18+
19+
if [ -d "infrastructure_instability_detection" ]; then
20+
echo "removing infrastructure_instability_detection folder to avoid name clash"
21+
rm -rf infrastructure_instability_detection/ || true
22+
fi
23+
24+
unzip -qo "infrastructure_instability_detection_standalone.zip" && rm "infrastructure_instability_detection_standalone.zip" || true
25+
26+
echo "downloading and extracting patterns"
27+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5 || true
28+
29+
if [ -d "patterns" ]; then
30+
echo "removing patterns folder to avoid name clash"
31+
rm -rf patterns/ || true
32+
fi
33+
34+
unzip -q patterns.zip && rm patterns.zip || true
35+
36+
echo "running '$(pwd)/infrastructure_instability_detection'"
37+
./infrastructure_instability_detection || true
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@echo on
2+
rem This is an auto-generated script. Do not edit manually!
3+
4+
if exist "%TEMP%\BugReporterCrashReportJson" for /f "delims=" %%i in ('dir /b /a-d "%TEMP%\BugReporterCrashReportJson\*.json"') do curl -X POST -H "Content-Type: application/json" -T "%TEMP%\BugReporterCrashReportJson\%%i" "https://internal-crash-collector.prd.cds.internal.unity3d.com/api/crash" || echo Failed to upload %%i. Ignoring...
5+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.2.2/windows.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5
6+
IF EXIST "infrastructure_instability_detection" rmdir /s /q infrastructure_instability_detection
7+
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('infrastructure_instability_detection_standalone.zip', '.'); }" && DEL "infrastructure_instability_detection_standalone.zip"
8+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5
9+
IF EXIST "patterns" rmdir /s /q patterns
10+
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('patterns.zip', '.'); }" && DEL "patterns.zip"
11+
infrastructure_instability_detection
12+
exit /b 0
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Auto-generated by Recipe Engine, do not modify manually.
2+
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb
3+
all_api_validation_jobs:
4+
name: All API Validation Jobs
5+
dependencies:
6+
- path: .yamato/wrench/api-validation-jobs.yml#api_validation_-_postprocessing_-_2019_4_-_win10
7+
8+
# upm-ci validation tests for API Validation - postprocessing - 2019.4 - win10 (2019.4 - Windows).
9+
api_validation_-_postprocessing_-_2019_4_-_win10:
10+
name: API Validation - postprocessing - 2019.4 - win10
11+
agent:
12+
image: package-ci/win10:v4
13+
type: Unity::VM
14+
flavor: b1.xlarge
15+
commands:
16+
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-3-0_3978eda62a03e3dbc469ab77590d20f8832032d8e0b586550597b7f590baefec.zip -o wrench-localapv.zip
17+
- command: 7z x -aoa wrench-localapv.zip
18+
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
19+
- command: python PythonScripts/print_machine_info.py
20+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
21+
timeout: 20
22+
retries: 10
23+
- command: unity-downloader-cli -u 2019.4 -c editor --path .Editor --fast
24+
timeout: 10
25+
retries: 3
26+
- command: python PythonScripts/PackageJsonCondersor.py
27+
timeout: 1
28+
retries: 0
29+
- command: upm-ci package test -u .Editor --package-path com.unity.postprocessing --type vetting-tests || exit 0
30+
timeout: 30
31+
retries: 0
32+
- command: python PythonScripts/parse_upm_ci_results.py --package-path=com.unity.postprocessing
33+
timeout: 2
34+
retries: 0
35+
after:
36+
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
37+
artifacts:
38+
Crash Dumps:
39+
paths:
40+
- CrashDumps/**
41+
logs:
42+
paths:
43+
- '*.log'
44+
- '*.xml'
45+
- upm-ci~/test-results/**/*
46+
- upm-ci~/temp/*/Logs/**
47+
- upm-ci~/temp/*/Library/*.log
48+
- upm-ci~/temp/*/*.log
49+
- upm-ci~/temp/Builds/*.log
50+
browsable: onNonSuccess
51+
dependencies:
52+
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_postprocessing
53+
variables:
54+
UNITY_LICENSING_SERVER_BASE_URL: http://unity-ci-licenses.hq.unity3d.com:8080/
55+
UNITY_LICENSING_SERVER_DELETE_NUL: 0
56+
UNITY_LICENSING_SERVER_DELETE_ULF: 0
57+
UNITY_LICENSING_SERVER_TOOLSET: pro
58+
UPMPVP_CONTEXT_WRENCH: 2.1.1.0
59+
metadata:
60+
Job Maintainers: '#rm-packageworks'
61+
Wrench: 2.1.1.0
62+
Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,228 @@
1+
# Auto-generated by Recipe Engine, do not modify manually.
2+
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb
3+
4+
# Pack Post Processing
5+
package_pack_-_postprocessing:
6+
name: Package Pack - postprocessing
7+
agent:
8+
image: package-ci/ubuntu-22.04:v4
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: upm-ci package pack --package-path com.unity.postprocessing
16+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.postprocessing_packages.json
17+
after:
18+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
19+
artifacts:
20+
packages:
21+
paths:
22+
- upm-ci~/packages/**/*
23+
variables:
24+
UPMCI_ACK_LARGE_PACKAGE: 1
25+
metadata:
26+
Job Maintainers: '#rm-packageworks'
27+
Wrench: 2.1.1.0
28+
29+
# Pack Scriptable Render Pipeline Core
30+
package_pack_-_render-pipelines_core:
31+
name: Package Pack - render-pipelines.core
32+
agent:
33+
image: package-ci/ubuntu-22.04:v4
34+
type: Unity::VM
35+
flavor: b1.large
36+
commands:
37+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
38+
timeout: 20
39+
retries: 10
40+
- command: upm-ci package pack --package-path Packages/com.unity.render-pipelines.core
41+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.render-pipelines.core_packages.json
42+
after:
43+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
44+
artifacts:
45+
packages:
46+
paths:
47+
- upm-ci~/packages/**/*
48+
variables:
49+
UPMCI_ACK_LARGE_PACKAGE: 1
50+
metadata:
51+
Job Maintainers: '#rm-packageworks'
52+
Wrench: 2.1.1.0
53+
54+
# Pack High Definition Render Pipeline
55+
package_pack_-_render-pipelines_high-definition:
56+
name: Package Pack - render-pipelines.high-definition
57+
agent:
58+
image: package-ci/ubuntu-22.04:v4
59+
type: Unity::VM
60+
flavor: b1.large
61+
commands:
62+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
63+
timeout: 20
64+
retries: 10
65+
- command: upm-ci package pack --package-path Packages/com.unity.render-pipelines.high-definition
66+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.render-pipelines.high-definition_packages.json
67+
after:
68+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
69+
artifacts:
70+
packages:
71+
paths:
72+
- upm-ci~/packages/**/*
73+
variables:
74+
UPMCI_ACK_LARGE_PACKAGE: 1
75+
metadata:
76+
Job Maintainers: '#rm-packageworks'
77+
Wrench: 2.1.1.0
78+
79+
# Pack High Definition Render Pipeline Config
80+
package_pack_-_render-pipelines_high-definition-config:
81+
name: Package Pack - render-pipelines.high-definition-config
82+
agent:
83+
image: package-ci/ubuntu-22.04:v4
84+
type: Unity::VM
85+
flavor: b1.large
86+
commands:
87+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
88+
timeout: 20
89+
retries: 10
90+
- command: upm-ci package pack --package-path Packages/com.unity.render-pipelines.high-definition-config
91+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.render-pipelines.high-definition-config_packages.json
92+
after:
93+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
94+
artifacts:
95+
packages:
96+
paths:
97+
- upm-ci~/packages/**/*
98+
variables:
99+
UPMCI_ACK_LARGE_PACKAGE: 1
100+
metadata:
101+
Job Maintainers: '#rm-packageworks'
102+
Wrench: 2.1.1.0
103+
104+
# Pack Universal Render Pipeline
105+
package_pack_-_render-pipelines_universal:
106+
name: Package Pack - render-pipelines.universal
107+
agent:
108+
image: package-ci/ubuntu-22.04:v4
109+
type: Unity::VM
110+
flavor: b1.large
111+
commands:
112+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
113+
timeout: 20
114+
retries: 10
115+
- command: upm-ci package pack --package-path Packages/com.unity.render-pipelines.universal
116+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.render-pipelines.universal_packages.json
117+
after:
118+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
119+
artifacts:
120+
packages:
121+
paths:
122+
- upm-ci~/packages/**/*
123+
variables:
124+
UPMCI_ACK_LARGE_PACKAGE: 1
125+
metadata:
126+
Job Maintainers: '#rm-packageworks'
127+
Wrench: 2.1.1.0
128+
129+
# Pack Universal Render Pipeline Config
130+
package_pack_-_render-pipelines_universal-config:
131+
name: Package Pack - render-pipelines.universal-config
132+
agent:
133+
image: package-ci/ubuntu-22.04:v4
134+
type: Unity::VM
135+
flavor: b1.large
136+
commands:
137+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
138+
timeout: 20
139+
retries: 10
140+
- command: upm-ci package pack --package-path Packages/com.unity.render-pipelines.universal-config
141+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.render-pipelines.universal-config_packages.json
142+
after:
143+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
144+
artifacts:
145+
packages:
146+
paths:
147+
- upm-ci~/packages/**/*
148+
variables:
149+
UPMCI_ACK_LARGE_PACKAGE: 1
150+
metadata:
151+
Job Maintainers: '#rm-packageworks'
152+
Wrench: 2.1.1.0
153+
154+
# Pack Shader Analysis
155+
package_pack_-_shaderanalysis:
156+
name: Package Pack - shaderanalysis
157+
agent:
158+
image: package-ci/ubuntu-22.04:v4
159+
type: Unity::VM
160+
flavor: b1.large
161+
commands:
162+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
163+
timeout: 20
164+
retries: 10
165+
- command: upm-ci package pack --package-path Packages/com.unity.shaderanalysis
166+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.shaderanalysis_packages.json
167+
after:
168+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
169+
artifacts:
170+
packages:
171+
paths:
172+
- upm-ci~/packages/**/*
173+
variables:
174+
UPMCI_ACK_LARGE_PACKAGE: 1
175+
metadata:
176+
Job Maintainers: '#rm-packageworks'
177+
Wrench: 2.1.1.0
178+
179+
# Pack Shader Graph
180+
package_pack_-_shadergraph:
181+
name: Package Pack - shadergraph
182+
agent:
183+
image: package-ci/ubuntu-22.04:v4
184+
type: Unity::VM
185+
flavor: b1.large
186+
commands:
187+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
188+
timeout: 20
189+
retries: 10
190+
- command: upm-ci package pack --package-path Packages/com.unity.shadergraph
191+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.shadergraph_packages.json
192+
after:
193+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
194+
artifacts:
195+
packages:
196+
paths:
197+
- upm-ci~/packages/**/*
198+
variables:
199+
UPMCI_ACK_LARGE_PACKAGE: 1
200+
metadata:
201+
Job Maintainers: '#rm-packageworks'
202+
Wrench: 2.1.1.0
203+
204+
# Pack Visual Effect Graph
205+
package_pack_-_visualeffectgraph:
206+
name: Package Pack - visualeffectgraph
207+
agent:
208+
image: package-ci/ubuntu-22.04:v4
209+
type: Unity::VM
210+
flavor: b1.large
211+
commands:
212+
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
213+
timeout: 20
214+
retries: 10
215+
- command: upm-ci package pack --package-path Packages/com.unity.visualeffectgraph
216+
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.visualeffectgraph_packages.json
217+
after:
218+
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
219+
artifacts:
220+
packages:
221+
paths:
222+
- upm-ci~/packages/**/*
223+
variables:
224+
UPMCI_ACK_LARGE_PACKAGE: 1
225+
metadata:
226+
Job Maintainers: '#rm-packageworks'
227+
Wrench: 2.1.1.0
228+

0 commit comments

Comments
 (0)