Skip to content

chore: Added Ci related folders to gitignore and updated Wrench #3281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ upm-ci~
utr
utr.bat
.download
Tools/CI/bin
Tools/CI/obj

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

# upm-ci validation tests for API Validation - netcode.gameobjects - 2021.3 - windows (2021.3 - Windows).
api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
Expand All @@ -9,7 +9,7 @@ api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
type: Unity::VM
flavor: b1.large
commands:
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-56_236616cc910608f3016a29947795c2e53f0c0dbfa45128d551397825ed65689e.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
Expand All @@ -30,7 +30,7 @@ api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
retries: 0
after:
- 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"
- command: cmd.exe /c "run_standalone_instability_detection-latest.bat 0.5.0 || exit 0"
- command: cmd.exe /c "run_standalone_instability_detection-latest.bat 0.5.1 || exit 0"
timeout: 10
retries: 1
artifacts:
Expand All @@ -50,11 +50,11 @@ api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
dependencies:
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_netcode_gameobjects
variables:
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
UPMPVP_CONTEXT_WRENCH: 0.10.36.0
triggers:
expression: push.branch match "^release/.*"
cancel_old_ci: true
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.31.0
Wrench: 0.10.36.0

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

# Pack and Sign Netcode for GameObjects
# Pack Netcode for GameObjects
package_pack_-_netcode_gameobjects:
name: Package Pack - netcode.gameobjects
agent:
Expand All @@ -12,15 +12,15 @@ package_pack_-_netcode_gameobjects:
- 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 https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-56_236616cc910608f3016a29947795c2e53f0c0dbfa45128d551397825ed65689e.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: upm-ci package pack --package-path com.unity.netcode.gameobjects
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.netcode.gameobjects_packages.json
after:
- 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
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.0 || exit 0
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
timeout: 10
retries: 1
artifacts:
Expand All @@ -29,8 +29,8 @@ package_pack_-_netcode_gameobjects:
- upm-ci~/packages/**/*
variables:
UPMCI_ACK_LARGE_PACKAGE: 1
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
UPMPVP_CONTEXT_WRENCH: 0.10.36.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.31.0
Wrench: 0.10.36.0

287 changes: 229 additions & 58 deletions .yamato/wrench/preview-a-p-v.yml

Large diffs are not rendered by default.

66 changes: 57 additions & 9 deletions .yamato/wrench/promotion-jobs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto-generated by Recipe Engine, do not modify manually.
# This job is generated by the wrench recipe engine module.
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb

# Publish Dry Run for netcode.gameobjects to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm
publish_dry_run_netcode_gameobjects:
Expand All @@ -9,7 +9,7 @@ publish_dry_run_netcode_gameobjects:
type: Unity::VM
flavor: b1.large
commands:
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-56_236616cc910608f3016a29947795c2e53f0c0dbfa45128d551397825ed65689e.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
Expand All @@ -19,7 +19,7 @@ publish_dry_run_netcode_gameobjects:
- command: python PythonScripts/run_publish_if_any_package_left.py --dry-run
after:
- 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
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.0 || exit 0
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
timeout: 10
retries: 1
artifacts:
Expand Down Expand Up @@ -125,15 +125,39 @@ publish_dry_run_netcode_gameobjects:
pvp-results:
location: results/pvp/validate-netcode.gameobjects-6000.1-windows
unzip: true
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_macos
specific_options:
UTR:
location: results/UTR/validate-netcode.gameobjects-6000.2-macos
unzip: true
pvp-results:
location: results/pvp/validate-netcode.gameobjects-6000.2-macos
unzip: true
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_ubuntu
specific_options:
UTR:
location: results/UTR/validate-netcode.gameobjects-6000.2-ubuntu
unzip: true
pvp-results:
location: results/pvp/validate-netcode.gameobjects-6000.2-ubuntu
unzip: true
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_windows
specific_options:
UTR:
location: results/UTR/validate-netcode.gameobjects-6000.2-windows
unzip: true
pvp-results:
location: results/pvp/validate-netcode.gameobjects-6000.2-windows
unzip: true
variables:
UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
UPMPVP_CONTEXT_WRENCH: 0.10.36.0
triggers:
expression: push.branch match "^release/.*"
cancel_old_ci: true
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.31.0
Wrench: 0.10.36.0

# Publish for netcode.gameobjects to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm
publish_netcode_gameobjects:
Expand All @@ -143,7 +167,7 @@ publish_netcode_gameobjects:
type: Unity::VM
flavor: b1.large
commands:
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-56_236616cc910608f3016a29947795c2e53f0c0dbfa45128d551397825ed65689e.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
Expand All @@ -153,7 +177,7 @@ publish_netcode_gameobjects:
- command: python PythonScripts/run_publish_if_any_package_left.py
after:
- 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
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.0 || exit 0
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
timeout: 10
retries: 1
artifacts:
Expand Down Expand Up @@ -259,10 +283,34 @@ publish_netcode_gameobjects:
pvp-results:
location: results/pvp/validate-netcode.gameobjects-6000.1-windows
unzip: true
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_macos
specific_options:
UTR:
location: results/UTR/validate-netcode.gameobjects-6000.2-macos
unzip: true
pvp-results:
location: results/pvp/validate-netcode.gameobjects-6000.2-macos
unzip: true
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_ubuntu
specific_options:
UTR:
location: results/UTR/validate-netcode.gameobjects-6000.2-ubuntu
unzip: true
pvp-results:
location: results/pvp/validate-netcode.gameobjects-6000.2-ubuntu
unzip: true
- path: .yamato/wrench/validation-jobs.yml#validate_-_netcode_gameobjects_-_6000_2_-_windows
specific_options:
UTR:
location: results/UTR/validate-netcode.gameobjects-6000.2-windows
unzip: true
pvp-results:
location: results/pvp/validate-netcode.gameobjects-6000.2-windows
unzip: true
variables:
UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1
UPMPVP_CONTEXT_WRENCH: 0.10.31.0
UPMPVP_CONTEXT_WRENCH: 0.10.36.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.31.0
Wrench: 0.10.36.0

8 changes: 4 additions & 4 deletions .yamato/wrench/recipe-regeneration.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto-generated by Recipe Engine, do not modify manually.
# This job is generated by the wrench recipe engine module.
# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb

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

Loading