diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f18fe4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,66 @@ +[Ll]ibrary/ +[Tt]emp/ +[Oo]bj/ +[Bb]uild/ +[Bb]uilds/ +Assets/AssetStoreTools* +**/.idea/ + +# Visual Studio cache directory +.vs/ + +# Autogenerated VS/MD/Consulo solution and project files +ExportedObj/ +.consulo/ +*.csproj +*.csproj.meta +*.unityproj +*.sln +*.suo +*.tmp +*.user +*.userprefs +*.pidb +*.booproj +*.svd +*.pdb +*.opendb +*.dwlt + +# Unity3D generated meta files +*.pidb.meta +*.pdb.meta + +# Unity3D Generated File On Crash Reports +sysinfo.txt + +# Builds +*.apk +*.unitypackage +Projects/PublishAll/Logs +Projects/AllPackages/Logs +**/Logs + +EntityCache +EntityCache.meta +Projects/Hybrid/UserSettings +StreamingAssets.meta +SceneDependencyCache.meta +SceneDependencyCache/ + +**/Packages/packages-lock.json +**/ProjectSettings/VersionControlSettings.asset +**/ProjectSettings/PackageManagerSettings.asset +**/UserSettings/QuickSearch.settings +**/UserSettings/QuickSearch.index + +!Documentation~ +!Samples~/ +!Packages/com.unity.2d.psdimporter.tests/EditorTests/TypeAssets~/ +.DS_Store +.multitool + +#Packageworks +!Wrench/*.sln +!Wrench/*.csproj +Wrench/bin/ \ No newline at end of file diff --git a/.yamato/generated-scripts/infrastructure-instability-detection-linux.sh b/.yamato/generated-scripts/infrastructure-instability-detection-linux.sh new file mode 100644 index 0000000..2380121 --- /dev/null +++ b/.yamato/generated-scripts/infrastructure-instability-detection-linux.sh @@ -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 infrastructure_instability_detection_standalone@1.0.0" +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 diff --git a/.yamato/generated-scripts/infrastructure-instability-detection-mac.sh b/.yamato/generated-scripts/infrastructure-instability-detection-mac.sh new file mode 100644 index 0000000..e37062e --- /dev/null +++ b/.yamato/generated-scripts/infrastructure-instability-detection-mac.sh @@ -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 infrastructure_instability_detection_standalone@1.0.0" +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 diff --git a/.yamato/generated-scripts/infrastructure-instability-detection-win.cmd b/.yamato/generated-scripts/infrastructure-instability-detection-win.cmd new file mode 100644 index 0000000..137617b --- /dev/null +++ b/.yamato/generated-scripts/infrastructure-instability-detection-win.cmd @@ -0,0 +1,11 @@ +@echo on +rem This is an auto-generated script. Do not edit manually! + +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 diff --git a/.yamato/wrench/api-validation-jobs.yml b/.yamato/wrench/api-validation-jobs.yml index cafa5fd..5c8078e 100644 --- a/.yamato/wrench/api-validation-jobs.yml +++ b/.yamato/wrench/api-validation-jobs.yml @@ -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_-_2d_tilemap_extras_-_2021_1_-_windows # upm-ci validation tests for API Validation - 2d.tilemap.extras - 2021.1 - windows (2021.1 - Windows). api_validation_-_2d_tilemap_extras_-_2021_1_-_windows: @@ -9,8 +13,9 @@ api_validation_-_2d_tilemap_extras_-_2021_1_-_windows: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 @@ -28,10 +33,7 @@ api_validation_-_2d_tilemap_extras_-_2021_1_-_windows: timeout: 2 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" - timeout: 10 - retries: 1 + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd artifacts: Crash Dumps: paths: @@ -49,11 +51,8 @@ api_validation_-_2d_tilemap_extras_-_2021_1_-_windows: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 - triggers: - expression: push.branch match "^release/.*" - cancel_old_ci: true + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 diff --git a/.yamato/wrench/package-pack-jobs.yml b/.yamato/wrench/package-pack-jobs.yml index a148e18..c01557d 100644 --- a/.yamato/wrench/package-pack-jobs.yml +++ b/.yamato/wrench/package-pack-jobs.yml @@ -1,7 +1,7 @@ # 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 2D Tilemap Extras +# Pack 2D Tilemap Extras package_pack_-_2d_tilemap_extras: name: Package Pack - 2d.tilemap.extras agent: @@ -12,9 +12,6 @@ package_pack_-_2d_tilemap_extras: - 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-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -o wrench-localapv.zip - - command: 7z x wrench-localapv.zip - - command: python PythonScripts/print_machine_info.py - command: git clone $UNITY_2D_REPO_GIT --no-checkout ../.unity/2d - command: cd ../.unity/2d && git fetch origin $GIT_BRANCH - command: cd ../.unity/2d && rm -f .git/index.lock @@ -27,20 +24,15 @@ package_pack_-_2d_tilemap_extras: - command: upm-ci package pack --package-path . - command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.2d.tilemap.extras_packages.json - command: mv upm-ci~/temp/packages/* upm-ci~/packages - - command: python PythonScripts/PackageJsonCondersor.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 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh artifacts: packages: paths: - upm-ci~/packages/**/* variables: UPMCI_ACK_LARGE_PACKAGE: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 diff --git a/.yamato/wrench/preview-a-p-v.yml b/.yamato/wrench/preview-a-p-v.yml index 7334c91..61110bb 100644 --- a/.yamato/wrench/preview-a-p-v.yml +++ b/.yamato/wrench/preview-a-p-v.yml @@ -1,5 +1,5 @@ # 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 # Parent Preview APV Job. all_preview_apv_jobs: @@ -8,12 +8,21 @@ all_preview_apv_jobs: - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_2021_3_-_macos - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_2021_3_-_ubuntu - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_2021_3_-_windows - triggers: - expression: push.branch match "^release/.*" - cancel_old_ci: true + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_2022_3_-_macos + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_2022_3_-_ubuntu + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_2022_3_-_windows + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_0_-_macos + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_0_-_ubuntu + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_0_-_windows + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_1_-_macos + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_1_-_ubuntu + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_1_-_windows + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_2_-_macos + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_2_-_ubuntu + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_2_-_windows metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 # Functional tests for dependents found in the latest 2021.3 manifest (MacOS). preview_apv_-_2021_3_-_macos: @@ -23,8 +32,9 @@ preview_apv_-_2021_3_-_macos: type: Unity::VM::osx flavor: b1.xlarge commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 @@ -35,10 +45,7 @@ preview_apv_-_2021_3_-_macos: - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=2021.3 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' 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 macos 0.5.0 || exit 0 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh artifacts: Crash Dumps: paths: @@ -58,6 +65,7 @@ preview_apv_-_2021_3_-_macos: PreviewAPVResults: paths: - PreviewApvArtifacts~/** + - APVTest/**/manifest.json pvp-results: paths: - upm-ci~/pvp/**/* @@ -65,10 +73,10 @@ preview_apv_-_2021_3_-_macos: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 # Functional tests for dependents found in the latest 2021.3 manifest (Ubuntu). preview_apv_-_2021_3_-_ubuntu: @@ -78,8 +86,9 @@ preview_apv_-_2021_3_-_ubuntu: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 @@ -90,10 +99,7 @@ preview_apv_-_2021_3_-_ubuntu: - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=2021.3 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' 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 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh artifacts: Crash Dumps: paths: @@ -113,6 +119,7 @@ preview_apv_-_2021_3_-_ubuntu: PreviewAPVResults: paths: - PreviewApvArtifacts~/** + - APVTest/**/manifest.json pvp-results: paths: - upm-ci~/pvp/**/* @@ -120,10 +127,10 @@ preview_apv_-_2021_3_-_ubuntu: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 # Functional tests for dependents found in the latest 2021.3 manifest (Windows). preview_apv_-_2021_3_-_windows: @@ -133,8 +140,10 @@ preview_apv_-_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-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -o wrench-localapv.zip - - command: 7z x wrench-localapv.zip + - command: gsudo reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 @@ -145,10 +154,659 @@ preview_apv_-_2021_3_-_windows: - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=2021.3 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: python PythonScripts/editor_manifest_validator.py --version=2021.3 --wrench-config=.yamato/wrench/wrench_config.json 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: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 2022.3 manifest (MacOS). +preview_apv_-_2022_3_-_macos: + name: Preview APV - 2022.3 - macos + agent: + image: package-ci/macos-13:default + type: Unity::VM::osx + flavor: b1.xlarge + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 2022.3 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=2022.3 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 2022.3 manifest (Ubuntu). +preview_apv_-_2022_3_-_ubuntu: + name: Preview APV - 2022.3 - ubuntu + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 2022.3 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=2022.3 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 2022.3 manifest (Windows). +preview_apv_-_2022_3_-_windows: + name: Preview APV - 2022.3 - windows + agent: + image: package-ci/win10:default + type: Unity::VM + flavor: b1.large + commands: + - command: gsudo reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 2022.3 -c Editor --fast timeout: 10 - retries: 1 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=2022.3 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/editor_manifest_validator.py --version=2022.3 --wrench-config=.yamato/wrench/wrench_config.json + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.0 manifest (MacOS). +preview_apv_-_6000_0_-_macos: + name: Preview APV - 6000.0 - macos + agent: + image: package-ci/macos-13:default + type: Unity::VM::osx + flavor: b1.xlarge + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.0 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.0 manifest (Ubuntu). +preview_apv_-_6000_0_-_ubuntu: + name: Preview APV - 6000.0 - ubuntu + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.0 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.0 manifest (Windows). +preview_apv_-_6000_0_-_windows: + name: Preview APV - 6000.0 - windows + agent: + image: package-ci/win10:default + type: Unity::VM + flavor: b1.large + commands: + - command: gsudo reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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 + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.0 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/editor_manifest_validator.py --version=6000.0 --wrench-config=.yamato/wrench/wrench_config.json + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.1 manifest (MacOS). +preview_apv_-_6000_1_-_macos: + name: Preview APV - 6000.1 - macos + agent: + image: package-ci/macos-13:default + type: Unity::VM::osx + flavor: b1.xlarge + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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.1 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.1 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.1 manifest (Ubuntu). +preview_apv_-_6000_1_-_ubuntu: + name: Preview APV - 6000.1 - ubuntu + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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.1 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.1 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.1 manifest (Windows). +preview_apv_-_6000_1_-_windows: + name: Preview APV - 6000.1 - windows + agent: + image: package-ci/win10:default + type: Unity::VM + flavor: b1.large + commands: + - command: gsudo reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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.1 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.1 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/editor_manifest_validator.py --version=6000.1 --wrench-config=.yamato/wrench/wrench_config.json + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.2 manifest (MacOS). +preview_apv_-_6000_2_-_macos: + name: Preview APV - 6000.2 - macos + agent: + image: package-ci/macos-13:default + type: Unity::VM::osx + flavor: b1.xlarge + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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.2 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.2 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.2 manifest (Ubuntu). +preview_apv_-_6000_2_-_ubuntu: + name: Preview APV - 6000.2 - ubuntu + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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.2 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.2 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + logs: + paths: + - '*.log' + - '*.xml' + - upm-ci~/test-results/**/* + - upm-ci~/temp/*/Logs/** + - upm-ci~/temp/*/Library/*.log + - upm-ci~/temp/*/*.log + - upm-ci~/temp/Builds/*.log + packages: + paths: + - upm-ci~/packages/**/* + PreviewAPVResults: + paths: + - PreviewApvArtifacts~/** + - APVTest/**/manifest.json + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + +# Functional tests for dependents found in the latest 6000.2 manifest (Windows). +preview_apv_-_6000_2_-_windows: + name: Preview APV - 6000.2 - windows + agent: + image: package-ci/win10:default + type: Unity::VM + flavor: b1.large + commands: + - command: gsudo reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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.2 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.2 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/editor_manifest_validator.py --version=6000.2 --wrench-config=.yamato/wrench/wrench_config.json + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd artifacts: Crash Dumps: paths: @@ -168,6 +826,7 @@ preview_apv_-_2021_3_-_windows: PreviewAPVResults: paths: - PreviewApvArtifacts~/** + - APVTest/**/manifest.json pvp-results: paths: - upm-ci~/pvp/**/* @@ -175,8 +834,8 @@ preview_apv_-_2021_3_-_windows: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 diff --git a/.yamato/wrench/promotion-jobs.yml b/.yamato/wrench/promotion-jobs.yml index 36cfb61..a651601 100644 --- a/.yamato/wrench/promotion-jobs.yml +++ b/.yamato/wrench/promotion-jobs.yml @@ -1,5 +1,5 @@ # 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 # Publish for 2d.tilemap.extras to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm publish_2d_tilemap_extras: @@ -9,15 +9,16 @@ publish_2d_tilemap_extras: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple + - command: python PythonScripts/report_valid_editors.py - command: python PythonScripts/ignore_existing_package_failure.py + - 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 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh artifacts: logs: paths: @@ -73,12 +74,108 @@ publish_2d_tilemap_extras: pvp-results: location: results/pvp/validate-2d.tilemap.extras-2021.3-windows unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_2022_3_-_macos + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-2022.3-macos + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-2022.3-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_2022_3_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-2022.3-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-2022.3-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_2022_3_-_windows + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-2022.3-windows + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-2022.3-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_0_-_macos + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.0-macos + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.0-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_0_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.0-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.0-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_0_-_windows + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.0-windows + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.0-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_1_-_macos + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.1-macos + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.1-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_1_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.1-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.1-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_1_-_windows + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.1-windows + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.1-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_2_-_macos + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.2-macos + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.2-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_2_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.2-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.2-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_2_-_windows + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.2-windows + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.2-windows + unzip: true variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 # Publish Dry Run for 2d.tilemap.extras to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm publish_dry_run_2d_tilemap_extras: @@ -88,15 +185,16 @@ publish_dry_run_2d_tilemap_extras: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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-pvp publish --packages "upm-ci~/packages/*.tgz" --evidence results --dry-run + - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple + - command: python PythonScripts/report_valid_editors.py + - command: python PythonScripts/ignore_existing_package_failure.py + - 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 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh artifacts: logs: paths: @@ -152,13 +250,106 @@ publish_dry_run_2d_tilemap_extras: pvp-results: location: results/pvp/validate-2d.tilemap.extras-2021.3-windows unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_2022_3_-_macos + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-2022.3-macos + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-2022.3-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_2022_3_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-2022.3-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-2022.3-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_2022_3_-_windows + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-2022.3-windows + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-2022.3-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_0_-_macos + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.0-macos + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.0-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_0_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.0-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.0-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_0_-_windows + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.0-windows + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.0-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_1_-_macos + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.1-macos + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.1-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_1_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.1-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.1-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_1_-_windows + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.1-windows + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.1-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_2_-_macos + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.2-macos + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.2-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_2_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.2-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.2-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_2d_tilemap_extras_-_6000_2_-_windows + specific_options: + UTR: + location: results/UTR/validate-2d.tilemap.extras-6000.2-windows + unzip: true + pvp-results: + location: results/pvp/validate-2d.tilemap.extras-6000.2-windows + unzip: true variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 - triggers: - expression: push.branch match "^release/.*" - cancel_old_ci: true + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 diff --git a/.yamato/wrench/publish-trigger.yml b/.yamato/wrench/publish-trigger.yml new file mode 100644 index 0000000..2366c70 --- /dev/null +++ b/.yamato/wrench/publish-trigger.yml @@ -0,0 +1,12 @@ +# Auto-generated by Recipe Engine, do not modify manually. +# This job is generated by the wrench recipe engine module, see find the docs here: http://Go/ii2fb +all_promotion_related_jobs_promotiontrigger: + name: All Promotion Related Jobs PromotionTrigger + dependencies: + - path: .yamato/wrench/api-validation-jobs.yml#all_api_validation_jobs + - path: .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs + - path: .yamato/wrench/promotion-jobs.yml#publish_dry_run_2d_tilemap_extras + triggers: + expression: push.branch match "^release/.*" + cancel_old_ci: true + diff --git a/.yamato/wrench/recipe-regeneration.yml b/.yamato/wrench/recipe-regeneration.yml new file mode 100644 index 0000000..80843f9 --- /dev/null +++ b/.yamato/wrench/recipe-regeneration.yml @@ -0,0 +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: http://Go/ii2fb + +# Test that Generated Wrench Jobs are up to date. +test_-_wrench_jobs_up_to_date: + name: Test - Wrench Jobs up to date + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: dotnet run --project Wrench/TilemapExtras.Cookbook.csproj + - command: |- + if [ -n "$(git status --porcelain -- .yamato/wrench)" ]; 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 Wrench/TilemapExtras.Cookbook.csproj' from the root of your repository to regenerate all job definitions created by wrench." + exit 1 + fi + variables: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + triggers: + expression: push.branch match "^release/.*" + cancel_old_ci: true + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + diff --git a/.yamato/wrench/validation-jobs.yml b/.yamato/wrench/validation-jobs.yml index 3525905..531031b 100644 --- a/.yamato/wrench/validation-jobs.yml +++ b/.yamato/wrench/validation-jobs.yml @@ -1,5 +1,5 @@ # 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 # PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 2021.1 - macos (2021.1 - MacOS). validate_-_2d_tilemap_extras_-_2021_1_-_macos: @@ -9,8 +9,9 @@ validate_-_2d_tilemap_extras_-_2021_1_-_macos: type: Unity::VM::osx flavor: b1.xlarge commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2021.1 -c Editor --fast timeout: 10 @@ -20,20 +21,17 @@ validate_-_2d_tilemap_extras_-_2021_1_-_macos: retries: 1 - command: echo No internal packages to add. - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp - timeout: 20 + timeout: 40 retries: 0 - - command: upm-pvp require "PVP-160-1" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" - timeout: 30 + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 retries: 1 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 macos 0.5.0 || exit 0 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh artifacts: Crash Dumps: paths: @@ -60,10 +58,10 @@ validate_-_2d_tilemap_extras_-_2021_1_-_macos: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 labels: - Packages:2d.tilemap.extras @@ -75,8 +73,9 @@ validate_-_2d_tilemap_extras_-_2021_1_-_ubuntu: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2021.1 -c Editor --fast timeout: 10 @@ -86,20 +85,17 @@ validate_-_2d_tilemap_extras_-_2021_1_-_ubuntu: retries: 1 - command: echo No internal packages to add. - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp - timeout: 20 + timeout: 40 retries: 0 - - command: upm-pvp require "PVP-160-1" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" - timeout: 30 + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 retries: 1 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 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh artifacts: Crash Dumps: paths: @@ -126,10 +122,10 @@ validate_-_2d_tilemap_extras_-_2021_1_-_ubuntu: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 labels: - Packages:2d.tilemap.extras @@ -141,8 +137,9 @@ validate_-_2d_tilemap_extras_-_2021_1_-_windows: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2021.1 -c Editor --fast timeout: 10 @@ -152,18 +149,17 @@ validate_-_2d_tilemap_extras_-_2021_1_-_windows: retries: 1 - command: echo No internal packages to add. - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp - timeout: 20 + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 retries: 0 - - command: echo Skipping check for PVP-160-1 as there is a bug on Windows. https://jira.unity3d.com/browse/PETS-1462 - command: echo No additional PVP profiles to declared to check. - - command: UnifiedTestRunner.exe --testproject=test-2d.tilemap.extras --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" - timeout: 30 + - command: UnifiedTestRunner.exe --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 retries: 1 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" - timeout: 10 - retries: 1 + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd artifacts: Crash Dumps: paths: @@ -190,10 +186,10 @@ validate_-_2d_tilemap_extras_-_2021_1_-_windows: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 labels: - Packages:2d.tilemap.extras @@ -205,8 +201,9 @@ validate_-_2d_tilemap_extras_-_2021_3_-_macos: type: Unity::VM::osx flavor: b1.xlarge commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2021.3 -c Editor --fast timeout: 10 @@ -216,20 +213,17 @@ validate_-_2d_tilemap_extras_-_2021_3_-_macos: retries: 1 - command: echo No internal packages to add. - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp - timeout: 20 + timeout: 40 retries: 0 - - command: upm-pvp require "PVP-160-1" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" - timeout: 30 + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 retries: 1 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 macos 0.5.0 || exit 0 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh artifacts: Crash Dumps: paths: @@ -256,10 +250,10 @@ validate_-_2d_tilemap_extras_-_2021_3_-_macos: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 labels: - Packages:2d.tilemap.extras @@ -271,8 +265,9 @@ validate_-_2d_tilemap_extras_-_2021_3_-_ubuntu: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2021.3 -c Editor --fast timeout: 10 @@ -282,20 +277,17 @@ validate_-_2d_tilemap_extras_-_2021_3_-_ubuntu: retries: 1 - command: echo No internal packages to add. - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp - timeout: 20 + timeout: 40 retries: 0 - - command: upm-pvp require "PVP-160-1" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" - timeout: 30 + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 retries: 1 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 - timeout: 10 - retries: 1 + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh artifacts: Crash Dumps: paths: @@ -322,10 +314,10 @@ validate_-_2d_tilemap_extras_-_2021_3_-_ubuntu: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 labels: - Packages:2d.tilemap.extras @@ -337,8 +329,9 @@ validate_-_2d_tilemap_extras_-_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-33_105495e06e2db0212292b17be163941e922098743472bf73bdc0678491b98575.zip -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-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2021.3 -c Editor --fast timeout: 10 @@ -348,18 +341,785 @@ validate_-_2d_tilemap_extras_-_2021_3_-_windows: retries: 1 - command: echo No internal packages to add. - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp - timeout: 20 + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner.exe --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 2022.3 - macos (2022.3 - MacOS). +validate_-_2d_tilemap_extras_-_2022_3_-_macos: + name: Validate - 2d.tilemap.extras - 2022.3 - macos + agent: + image: package-ci/macos-13:default + type: Unity::VM::osx + flavor: b1.xlarge + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2022.3 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 2022.3 - ubuntu (2022.3 - Ubuntu). +validate_-_2d_tilemap_extras_-_2022_3_-_ubuntu: + name: Validate - 2d.tilemap.extras - 2022.3 - ubuntu + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2022.3 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 2022.3 - windows (2022.3 - Windows). +validate_-_2d_tilemap_extras_-_2022_3_-_windows: + name: Validate - 2d.tilemap.extras - 2022.3 - windows + agent: + image: package-ci/win10:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 2022.3 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner.exe --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.0 - macos (6000.0 - MacOS). +validate_-_2d_tilemap_extras_-_6000_0_-_macos: + name: Validate - 2d.tilemap.extras - 6000.0 - macos + agent: + image: package-ci/macos-13:default + type: Unity::VM::osx + flavor: b1.xlarge + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.0 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 retries: 0 - - command: echo Skipping check for PVP-160-1 as there is a bug on Windows. https://jira.unity3d.com/browse/PETS-1462 - command: echo No additional PVP profiles to declared to check. - - command: UnifiedTestRunner.exe --testproject=test-2d.tilemap.extras --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" - timeout: 30 + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 retries: 1 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: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.0 - ubuntu (6000.0 - Ubuntu). +validate_-_2d_tilemap_extras_-_6000_0_-_ubuntu: + name: Validate - 2d.tilemap.extras - 6000.0 - ubuntu + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.0 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor timeout: 10 retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.0 - windows (6000.0 - Windows). +validate_-_2d_tilemap_extras_-_6000_0_-_windows: + name: Validate - 2d.tilemap.extras - 6000.0 - windows + agent: + image: package-ci/win10:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.0 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner.exe --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.1 - macos (6000.1 - MacOS). +validate_-_2d_tilemap_extras_-_6000_1_-_macos: + name: Validate - 2d.tilemap.extras - 6000.1 - macos + agent: + image: package-ci/macos-13:default + type: Unity::VM::osx + flavor: b1.xlarge + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.1 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.1 - ubuntu (6000.1 - Ubuntu). +validate_-_2d_tilemap_extras_-_6000_1_-_ubuntu: + name: Validate - 2d.tilemap.extras - 6000.1 - ubuntu + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.1 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.1 - windows (6000.1 - Windows). +validate_-_2d_tilemap_extras_-_6000_1_-_windows: + name: Validate - 2d.tilemap.extras - 6000.1 - windows + agent: + image: package-ci/win10:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.1 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner.exe --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.2 - macos (6000.2 - MacOS). +validate_-_2d_tilemap_extras_-_6000_2_-_macos: + name: Validate - 2d.tilemap.extras - 6000.2 - macos + agent: + image: package-ci/macos-13:default + type: Unity::VM::osx + flavor: b1.xlarge + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.2 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.2 - ubuntu (6000.2 - Ubuntu). +validate_-_2d_tilemap_extras_-_6000_2_-_ubuntu: + name: Validate - 2d.tilemap.extras - 6000.2 - ubuntu + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.2 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-2d.tilemap.extras/Logs/** + - test-2d.tilemap.extras/Library/*.log + - test-2d.tilemap.extras/*.log + - test-2d.tilemap.extras/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.42.0 + labels: + - Packages:2d.tilemap.extras + +# PVP Editor and Playmode tests for Validate - 2d.tilemap.extras - 6000.2 - windows (6000.2 - Windows). +validate_-_2d_tilemap_extras_-_6000_2_-_windows: + name: Validate - 2d.tilemap.extras - 6000.2 - windows + agent: + image: package-ci/win10:default + type: Unity::VM + flavor: b1.large + commands: + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-58_ab06748e39f9b01f55b979c0c06d7c1f787e07cbca4dc6ae5eef274fd195612a.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: unity-downloader-cli -u 6000.2 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-2d.tilemap.extras --packages "upm-ci~/packages/*.tgz" --unity .Editor + timeout: 10 + retries: 1 + - command: echo No internal packages to add. + - command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp + timeout: 40 + retries: 0 + - command: upm-pvp require "pkgprom-promote -PVP-29-2 rme" --results upm-ci~/pvp --exemptions upm-ci~/pvp/failures.json + timeout: 5 + retries: 0 + - command: echo No additional PVP profiles to declared to check. + - command: UnifiedTestRunner.exe --testproject=test-2d.tilemap.extras --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 40 + retries: 1 + after: + - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd artifacts: Crash Dumps: paths: @@ -386,10 +1146,10 @@ validate_-_2d_tilemap_extras_-_2021_3_-_windows: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_2d_tilemap_extras variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.14.0 + UPMPVP_CONTEXT_WRENCH: 0.10.42.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.14.0 + Wrench: 0.10.42.0 labels: - Packages:2d.tilemap.extras diff --git a/.yamato/wrench/wrench_config.json b/.yamato/wrench/wrench_config.json index f4dbce0..15c38ad 100644 --- a/.yamato/wrench/wrench_config.json +++ b/.yamato/wrench/wrench_config.json @@ -1,18 +1,22 @@ { - "project_path": "Wrench", - "schema_version": 0.5, + "schema_version": 0.7, "packages": { "com.unity.2d.tilemap.extras": { "directory": "./", "prePackCommands": [], - "preTestCommands": {}, + "preTestCommands": { + "MacOS": [], + "Ubuntu": [], + "Windows": [] + }, "InternalOnly": false, "NeverPublish": false, - "MaxEditorVersion": "2021.3", + "MaxEditorVersion": "", "coverageEnabled": false, "coverageCommands": [ "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:ASSEMBLY_NAME;pathReplacePatterns:@*,,**/PackageCache/,;sourcePaths:YAMATO_SOURCE_DIR/Packages;" - ] + ], + "dependantsToIgnoreInPreviewApv": {} } }, "releasing_packages": [ @@ -27,6 +31,7 @@ }, "publishing_job": ".yamato/wrench/promotion-jobs.yml#publish_2d_tilemap_extras", "branch_pattern": "ReleaseSlash", - "wrench_version": "0.10.14.0", - "pvp_exemption_path": ".yamato/wrench/pvp-exemptions.json" + "wrench_version": "0.10.42.0", + "pvp_exemption_path": ".yamato/wrench/pvp-exemptions.json", + "cs_project_path": "Wrench/TilemapExtras.Cookbook.csproj" } \ No newline at end of file diff --git a/Wrench/Program.cs b/Wrench/Program.cs new file mode 100644 index 0000000..bfac8ec --- /dev/null +++ b/Wrench/Program.cs @@ -0,0 +1,21 @@ +using TilemapExtras.Cookbook.Settings; +using RecipeEngine; +using RecipeEngine.Modules.Wrench.Helpers; + + +// ReSharper disable once CheckNamespace +public static class Program +{ + public static int Main(string[] args) + { + var settings = new TilemapExtrasSettings(); + + // ReSharper disable once UnusedVariable + var engine = EngineFactory + .Create() + .ScanAll() + .WithWrenchModule(settings.Wrench) + .GenerateAsync().Result; + return engine; + } +} diff --git a/Wrench/Settings/TilemapExtrasSettings.cs b/Wrench/Settings/TilemapExtrasSettings.cs new file mode 100644 index 0000000..6f190e3 --- /dev/null +++ b/Wrench/Settings/TilemapExtrasSettings.cs @@ -0,0 +1,30 @@ +using RecipeEngine.Api.Settings; +using RecipeEngine.Modules.Wrench.Models; +using RecipeEngine.Modules.Wrench.Settings; + +namespace TilemapExtras.Cookbook.Settings; + +public class TilemapExtrasSettings : AnnotatedSettingsBase +{ + // Path from the root of the repository where packages are located. + readonly string[] PackagesRootPaths = {"."}; + + // update this to list all packages in this repo that you want to release. + Dictionary PackageOptions = new() + { + { + "com.unity.2d.tilemap.extras", + new PackageOptions() { ReleaseOptions = new ReleaseOptions() { IsReleasing = true } } + } + }; + + public TilemapExtrasSettings() + { + Wrench = new WrenchSettings( + PackagesRootPaths, + PackageOptions + ); + } + + public WrenchSettings Wrench { get; private set; } +} diff --git a/Wrench/TilemapExtras-recipes.sln b/Wrench/TilemapExtras-recipes.sln new file mode 100644 index 0000000..6ceb742 --- /dev/null +++ b/Wrench/TilemapExtras-recipes.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TilemapExtras.Cookbook", "TilemapExtras.Cookbook.csproj", "{A5A71435-C891-4C78-989C-2713DAA7B3B8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A5A71435-C891-4C78-989C-2713DAA7B3B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A5A71435-C891-4C78-989C-2713DAA7B3B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A5A71435-C891-4C78-989C-2713DAA7B3B8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A5A71435-C891-4C78-989C-2713DAA7B3B8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/Wrench/TilemapExtras.Cookbook.csproj b/Wrench/TilemapExtras.Cookbook.csproj new file mode 100644 index 0000000..3c9167f --- /dev/null +++ b/Wrench/TilemapExtras.Cookbook.csproj @@ -0,0 +1,14 @@ + + + + Exe + net8.0 + enable + enable + + + + + + + diff --git a/Wrench/global.json b/Wrench/global.json new file mode 100644 index 0000000..2ddda36 --- /dev/null +++ b/Wrench/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "8.0.0", + "rollForward": "latestMinor", + "allowPrerelease": false + } +} \ No newline at end of file diff --git a/Wrench/nuget.config b/Wrench/nuget.config new file mode 100644 index 0000000..de6af57 --- /dev/null +++ b/Wrench/nuget.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Wrench/onboard.py b/Wrench/onboard.py new file mode 100644 index 0000000..6f51867 --- /dev/null +++ b/Wrench/onboard.py @@ -0,0 +1,149 @@ +# Description: This script is used to onboard a project onto Wrench +import argparse +import json +import os +import shutil +import subprocess + +TEMPLATE_CSPROJ = "TEMPLATE.Cookbook.csproj" +TEMPLATE_SLN = "TEMPLATE-recipes.sln" + + +def get_args(): + parser = argparse.ArgumentParser(description="Onboard a project onto Wrench") + parser.add_argument("--settings-name", required=True, help="The name of the settings file", + dest="settings_name") + return parser.parse_args() + + +def delete_git_folder(): + print("Deleting .git folder") + if os.path.isfile(".gitignore"): + os.remove(".gitignore") + if os.path.exists(".git"): + shutil.rmtree(".git", ignore_errors=True) + + +def get_git_root_dir(): + git_dir = subprocess.run(["git", "rev-parse", "--show-toplevel"], stdout=subprocess.PIPE).stdout + return git_dir.decode("utf-8").strip() + + +def find_package_json_files(root_dir, initial=True): + #walk the directory recursively and find all package.json files + rtn_list = set() + for root, dirs, files in os.walk(root_dir): + for file in files: + if file == "package.json": + if initial: + file_location = file + else: + file_location = os.path.join(root, file) + # validate the package.json file + with open(os.path.join(root, file_location), "r") as f: + data = json.loads(f.read()) + if "unity" in data and "name" in data: + rtn_list.add(data["name"]) + for directory in dirs: + rtn_list.update(find_package_json_files(os.path.join(root, directory), False)) + + return rtn_list + + +def create_package_option(name, first): + initial_char="" + initial_tab = "" + if not first: + initial_char = ",\n" + initial_tab = " " + return f"{initial_char}{initial_tab}{{\n \"{name}\",\n new PackageOptions() {{ ReleaseOptions = new ReleaseOptions() {{ IsReleasing = true }} }}\n }}" + + +def update_template_variables(packages): + template_var = "TEMPLATESettings" + settings = get_args() + settings_content = open(os.path.join("Settings", template_var+".cs")).read() + # replace the template settings with the actual settings + settings_content = settings_content.replace("TEMPLATESettings", f"{settings.settings_name}Settings") + settings_content = settings_content.replace('PACKAGES_ROOTS', '.') + + package_replace_string = str() + first = True + for package in packages: + package_replace_string += create_package_option(package, first) + first = False + settings_content = settings_content.replace('//"PACKAGES_TO_RELEASE"', package_replace_string) + settings_content = settings_content.replace('TEMPLATE.Cookbook.Settings', settings.settings_name+".Cookbook.Settings") + + # Write the updated settings file + with open(os.path.join("Settings", settings.settings_name+"Settings.cs"), "w") as f: + f.write(settings_content) + # Update the Program.cs file + program_content = open("Program.cs").read() + with open("Program.cs", "w") as f: + program_content = program_content.replace('using TEMPLATE.Cookbook.Settings;', f"using {settings.settings_name}.Cookbook.Settings;") + program_content = program_content.replace("TEMPLATE.Cookbook", settings.settings_name) + program_content = program_content.replace('PACKAGES_ROOT', '.') + program_content = program_content.replace('TEMPLATESettings', settings.settings_name+"Settings") + f.write(program_content) + # delete the template file + os.remove(os.path.join("Settings", template_var+".cs")) + # update csproj file + csproj_content = open(TEMPLATE_CSPROJ).read() + with open(TEMPLATE_CSPROJ.replace("TEMPLATE", settings.settings_name), "w") as f: + f.write(csproj_content) + os.remove(TEMPLATE_CSPROJ) + # update sln file + sln_content = open(TEMPLATE_SLN).read() + with open(TEMPLATE_SLN.replace("TEMPLATE", settings.settings_name), "w") as f: + sln_content = sln_content.replace("TEMPLATE", settings.settings_name) + f.write(sln_content) + os.remove(TEMPLATE_SLN) + + +def update_shell_scripts(root_dir): + split_root=os.path.normpath(root_dir).split(os.sep) + split_cwd=os.getcwd().split(os.sep) + + relative_path = os.path.relpath(os.getcwd(), root_dir) + csproj_path = os.path.join(relative_path, f"{get_args().settings_name}.Cookbook.csproj") + + path_diff = len(split_cwd) - len(split_root) + cd_string = str() + for i in range(path_diff): + cd_string += "../" + + bash_content = open("regenerate.bat").read() + bash_content = bash_content.replace("STEPS_TO_ROOT", cd_string) + bash_content = bash_content.replace("PATH_TO_CSPROJ", csproj_path) + with open("regenerate.bat", "w") as f: + f.write(bash_content) + + shell_content = open("regenerate.sh").read() + shell_content = shell_content.replace("STEPS_TO_ROOT", cd_string) + shell_content = shell_content.replace("PATH_TO_CSPROJ", csproj_path) + with open("regenerate.sh", "w") as f: + f.write(shell_content) + + +def main(): + print("Starting process of onboarding") + # delete git folder + delete_git_folder() + # get root folder + root_dir = get_git_root_dir() + # find all appropriate package.json files + package_files = find_package_json_files(root_dir) + packages = set() + # process out any testing packages + for package in package_files: + if ".tests" in package: + continue + packages.add(package) + # Replace Template naming with actual naming + update_template_variables(packages) + update_shell_scripts(root_dir) + + +if "__main__" in __name__: + main() \ No newline at end of file diff --git a/Wrench/regenerate.bat b/Wrench/regenerate.bat new file mode 100644 index 0000000..3bcf50a --- /dev/null +++ b/Wrench/regenerate.bat @@ -0,0 +1,2 @@ +cd %~dp0../ +dotnet run --project Wrench/TilemapExtras.Cookbook.csproj \ No newline at end of file diff --git a/Wrench/regenerate.sh b/Wrench/regenerate.sh new file mode 100755 index 0000000..7b33aba --- /dev/null +++ b/Wrench/regenerate.sh @@ -0,0 +1,2 @@ +cd $(dirname "$0")/../ +dotnet run --project Wrench/TilemapExtras.Cookbook.csproj \ No newline at end of file