Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
36442bf
Update MLA version
maryamziaa Dec 4, 2025
b9e9e43
Add CONTRIBUTING.md to the doc
maryamziaa Dec 4, 2025
525e371
Remove extra line
maryamziaa Dec 4, 2025
4616750
Fixing pre-commit
Codengineer Dec 16, 2025
6e0bd2c
Add timeout parameter.
maryamziaa Oct 30, 2025
cb224c1
Move timeout to colab
maryamziaa Oct 30, 2025
f06b41a
Bump to latest
maryamziaa Oct 30, 2025
bf55ef1
Remove upper bound limit
maryamziaa Oct 30, 2025
8554b46
Test
maryamziaa Oct 30, 2025
9aa8037
Change versions
maryamziaa Oct 30, 2025
dfceb72
Test
maryamziaa Oct 30, 2025
4bb7763
Increase cell timeout
maryamziaa Oct 30, 2025
13d3c49
Increase Unity timeout
maryamziaa Oct 30, 2025
977bdea
Set no_graphics to True
maryamziaa Oct 30, 2025
a46f1e1
Clean
maryamziaa Oct 30, 2025
758bdc4
Clean up
maryamziaa Oct 30, 2025
93de9e7
Bumping the version to 4.0.1
Codengineer Dec 17, 2025
98a76ae
Undo unnecessary changes.
maryamziaa Dec 18, 2025
ed72da1
Update colab
maryamziaa Dec 18, 2025
ac9ef2d
Remove no_graphics
maryamziaa Dec 18, 2025
a436428
Add CONTRIBUTING.md to the doc
maryamziaa Dec 4, 2025
df42e10
Remove extra line
maryamziaa Dec 4, 2025
8a97314
Fixing Issue #6268
Codengineer Dec 16, 2025
fd7485f
Fixing pre-commit
Codengineer Dec 16, 2025
71fab1f
Add timeout parameter.
maryamziaa Oct 30, 2025
a2ac80d
Move timeout to colab
maryamziaa Oct 30, 2025
5594142
Bump to latest
maryamziaa Oct 30, 2025
a31a86b
Remove upper bound limit
maryamziaa Oct 30, 2025
c12fce1
Test
maryamziaa Oct 30, 2025
641b708
Change versions
maryamziaa Oct 30, 2025
b8d5c02
Test
maryamziaa Oct 30, 2025
0758ada
Increase cell timeout
maryamziaa Oct 30, 2025
2b18135
Increase Unity timeout
maryamziaa Oct 30, 2025
a619f7a
Set no_graphics to True
maryamziaa Oct 30, 2025
e0c8116
Clean
maryamziaa Oct 30, 2025
0cfbc13
Clean up
maryamziaa Oct 30, 2025
fb073e1
Undo unnecessary changes.
maryamziaa Dec 18, 2025
ff41260
Update colab
maryamziaa Dec 18, 2025
25711a3
Remove no_graphics
maryamziaa Dec 18, 2025
63059ad
Merge remote-tracking branch 'origin/develop' into release/4.0.1
maryamziaa Jan 9, 2026
4fa0d8a
Registry enabled.
maryamziaa Jan 9, 2026
2c3749a
Merge remote-tracking branch 'origin/develop' into release/4.0.1
maryamziaa Jan 9, 2026
09abb37
Adding the Wrench Project and Recipe Engine
Codengineer Jan 9, 2026
75b6f53
Pre-commit fix.
maryamziaa Jan 9, 2026
b0ca4bd
Pre-commit checks.
maryamziaa Jan 9, 2026
9419ab3
Adding Wrench Cookbook files
Codengineer Jan 9, 2026
f2c6fef
Adding Tools repo to the original sparse checkout
Codengineer Jan 9, 2026
28efe7d
Debugging "Test - Wrench Jobs up to date"
Codengineer Jan 9, 2026
d91cec5
Adding back dependency on sign_macOS
Codengineer Jan 9, 2026
3075a10
Adding back dependency on sign_macOS
Codengineer Jan 9, 2026
5ec4353
Merge remote-tracking branch 'origin/release/4.0.1' into release/4.0.1
Codengineer Jan 9, 2026
3b717ef
Fix attempt
Codengineer Jan 9, 2026
55610c7
Revert "Fix attempt"
Codengineer Jan 10, 2026
8a62b0a
Adding Wrench C# project file and Solution
Codengineer Jan 10, 2026
d21efe3
Adding dependency on sign-macos in pack job
Codengineer Jan 10, 2026
1f0879a
Remove deprecated parameters (#6278)
maryamziaa Jan 12, 2026
9811ac8
fixing conflict with wrench
Codengineer Jan 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
*.csproj
*.unityproj
*.sln
# Allow C# projects and solutions in Tools directory
!Tools/**/*.csproj
!Tools/**/*.sln
*.suo
*.tmp
*.user
Expand Down Expand Up @@ -98,3 +101,6 @@ coverage.xml

# yamato-parser temporary output files:
.yamato/unfolded/

Tools/ci/obj/
Tools/ci/bin/
4 changes: 2 additions & 2 deletions .yamato/com.unity.ml-agents-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ pack:
triggers:
cancel_old_ci: true
dependencies:
- .yamato/com.unity.ml-agents-pack.yml#sign_macOS
- .yamato/com.unity.ml-agents-pack.yml#sign_macos

sign_macOS:
sign_macos:
name: Sign MacOS Shared Libraries
agent:
type: Unity::VM::osx
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash
# This is an auto-generated script. Do not edit manually!
set -x

set -e
if [ -f "infrastructure_instability_detection_standalone.zip" ]; then
echo "removed existing archive infrastructure_instability_detection_standalone.zip"
rm "infrastructure_instability_detection_standalone.zip" || true
fi

if [ -d "infrastructure_instability_detection_standalone" ]; then
echo "removed existing directory infrastructure_instability_detection_standalone/"
rm -rf "infrastructure_instability_detection_standalone" || true
fi

echo "downloading and extracting [email protected]"
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.0.0/ubuntu.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true

if [ -d "infrastructure_instability_detection" ]; then
echo "removing infrastructure_instability_detection folder to avoid name clash"
rm -rf infrastructure_instability_detection/ || true
fi

unzip -qo "infrastructure_instability_detection_standalone.zip" && rm "infrastructure_instability_detection_standalone.zip" || true

echo "downloading and extracting patterns"
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5 || true

if [ -d "patterns" ]; then
echo "removing patterns folder to avoid name clash"
rm -rf patterns/ || true
fi

unzip -q patterns.zip && rm patterns.zip || true

echo "running '$(pwd)/infrastructure_instability_detection'"
./infrastructure_instability_detection || true
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash
# This is an auto-generated script. Do not edit manually!
set -x

set -e
if [ -f "infrastructure_instability_detection_standalone.zip" ]; then
echo "removed existing archive infrastructure_instability_detection_standalone.zip"
rm "infrastructure_instability_detection_standalone.zip" || true
fi

if [ -d "infrastructure_instability_detection_standalone" ]; then
echo "removed existing directory infrastructure_instability_detection_standalone/"
rm -rf "infrastructure_instability_detection_standalone" || true
fi

echo "downloading and extracting [email protected]"
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.0.0/macos.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true

if [ -d "infrastructure_instability_detection" ]; then
echo "removing infrastructure_instability_detection folder to avoid name clash"
rm -rf infrastructure_instability_detection/ || true
fi

unzip -qo "infrastructure_instability_detection_standalone.zip" && rm "infrastructure_instability_detection_standalone.zip" || true

echo "downloading and extracting patterns"
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5 || true

if [ -d "patterns" ]; then
echo "removing patterns folder to avoid name clash"
rm -rf patterns/ || true
fi

unzip -q patterns.zip && rm patterns.zip || true

echo "running '$(pwd)/infrastructure_instability_detection'"
./infrastructure_instability_detection || true
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@echo on
rem This is an auto-generated script. Do not edit manually!

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...
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.0.0/windows.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5
IF EXIST "infrastructure_instability_detection" rmdir /s /q infrastructure_instability_detection
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"
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5
IF EXIST "patterns" rmdir /s /q patterns
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('patterns.zip', '.'); }" && DEL "patterns.zip"
infrastructure_instability_detection
exit /b 0
3 changes: 2 additions & 1 deletion .yamato/sparse-checkouts/upm-packages.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.github
.yamato
com.unity.ml-agents
com.unity.ml-agents
Tools
37 changes: 26 additions & 11 deletions .yamato/wrench/api-validation-jobs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Auto-generated by Recipe Engine, do not modify manually.
# This job is generated by the wrench recipe engine module, see find the docs here: .
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb
all_api_validation_jobs:
name: All API Validation Jobs
dependencies:
- path: .yamato/wrench/api-validation-jobs.yml#api_validation_-_ml-agents_-_6000_0_-_windows

# upm-ci validation tests for API Validation - ml-agents - 6000.0 - windows (6000.0 - Windows).
api_validation_-_ml-agents_-_6000_0_-_windows:
Expand All @@ -9,13 +13,14 @@ api_validation_-_ml-agents_-_6000_0_-_windows:
type: Unity::VM
flavor: b1.large
commands:
- command: curl %WRENCH_LOCAL_APV_DOWNLOAD_URL% -o wrench-localapv.zip
- command: 7z x wrench-localapv.zip
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-3-0_3978eda62a03e3dbc469ab77590d20f8832032d8e0b586550597b7f590baefec.zip -o wrench-localapv.zip
- command: 7z x -aoa wrench-localapv.zip
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
- command: python PythonScripts/print_machine_info.py
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
timeout: 20
retries: 10
- command: unity-downloader-cli -u 6000.0 -c Editor --fast
- command: unity-downloader-cli -u 6000.0/staging -c editor --path .Editor --fast
timeout: 10
retries: 3
- command: python PythonScripts/PackageJsonCondersor.py
Expand All @@ -27,21 +32,31 @@ api_validation_-_ml-agents_-_6000_0_-_windows:
- command: python PythonScripts/parse_upm_ci_results.py --package-path=com.unity.ml-agents
timeout: 2
retries: 0
after:
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
artifacts:
Crash Dumps:
paths:
- CrashDumps/**
packages:
logs:
paths:
- upm-ci~/**/*
- '*.log'
- '*.xml'
- upm-ci~/test-results/**/*
- upm-ci~/temp/*/Logs/**
- upm-ci~/temp/*/Library/*.log
- upm-ci~/temp/*/*.log
- upm-ci~/temp/Builds/*.log
browsable: onNonSuccess
dependencies:
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_ml-agents
variables:
UPMPVP_CONTEXT_WRENCH: 0.10.5.0
triggers:
expression: push.branch match "^release/.*"
cancel_old_ci: true
UNITY_LICENSING_SERVER_BASE_URL: http://unity-ci-licenses.hq.unity3d.com:8080/
UNITY_LICENSING_SERVER_DELETE_NUL: 0
UNITY_LICENSING_SERVER_DELETE_ULF: 0
UNITY_LICENSING_SERVER_TOOLSET: pro
UPMPVP_CONTEXT_WRENCH: 1.4.3.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.5.0
Wrench: 1.4.3.0

18 changes: 7 additions & 11 deletions .yamato/wrench/package-pack-jobs.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,30 @@
# Auto-generated by Recipe Engine, do not modify manually.
# This job is generated by the wrench recipe engine module, see find the docs here: .
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb

# Pack and Sign ML Agents
# Pack ML Agents
package_pack_-_ml-agents:
name: Package Pack - ml-agents
agent:
image: ml-agents/ubuntu-ci:v1.0.1
image: package-ci/ubuntu-20.04:default
type: Unity::VM
flavor: b1.large
commands:
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
timeout: 20
retries: 10
- command: curl $WRENCH_LOCAL_APV_DOWNLOAD_URL -o wrench-localapv.zip
- command: 7z x wrench-localapv.zip
- command: python PythonScripts/print_machine_info.py
- command: upm-ci package pack --package-path com.unity.ml-agents
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.ml-agents_packages.json
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
artifacts:
packages:
paths:
- upm-ci~/packages/**/*
dependencies:
- path: .yamato/com.unity.ml-agents-pack.yml#sign_macOS
- path: .yamato/com.unity.ml-agents-pack.yml#sign_macos
variables:
UPMCI_ACK_LARGE_PACKAGE: 1
UPMPVP_CONTEXT_WRENCH: 0.10.5.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.5.0


Wrench: 1.4.3.0

Loading