From 800a97d23c9a110f47d4f639ba3b9aeab9354b74 Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Mon, 18 Nov 2024 14:23:20 +0100 Subject: [PATCH 1/7] initial setup --- .gitignore | 3 + .yamato/wrench/api-validation-jobs.yml | 60 ++ .yamato/wrench/package-pack-jobs.yml | 36 + .yamato/wrench/preview-a-p-v.yml | 698 ++++++++++++++++ .yamato/wrench/promotion-jobs.yml | 316 +++++++ .yamato/wrench/validation-jobs.yml | 998 +++++++++++++++++++++++ .yamato/wrench/wrench_config.json | 37 + Tools/CI/Program.cs | 21 + Tools/CI/Settings/InputSystemSettings.cs | 30 + Tools/CI/global.json | 7 + Tools/CI/nuget.config | 6 + Tools/CI/onboard.py | 149 ++++ Tools/CI/regenerate.bat | 2 + Tools/CI/regenerate.sh | 2 + 14 files changed, 2365 insertions(+) create mode 100644 .yamato/wrench/api-validation-jobs.yml create mode 100644 .yamato/wrench/package-pack-jobs.yml create mode 100644 .yamato/wrench/preview-a-p-v.yml create mode 100644 .yamato/wrench/promotion-jobs.yml create mode 100644 .yamato/wrench/validation-jobs.yml create mode 100644 .yamato/wrench/wrench_config.json create mode 100644 Tools/CI/Program.cs create mode 100644 Tools/CI/Settings/InputSystemSettings.cs create mode 100644 Tools/CI/global.json create mode 100644 Tools/CI/nuget.config create mode 100644 Tools/CI/onboard.py create mode 100644 Tools/CI/regenerate.bat create mode 100644 Tools/CI/regenerate.sh diff --git a/.gitignore b/.gitignore index 7f12203655..697146b457 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,9 @@ Packages/com.unity.inputsystem/**/*.api.meta Packages/com.unity.package-manager-ui/ Packages/com.unity.package-manager-doctools/ +Tools/CI/[Bb]in +Tools/CI/[Oo]bj + .Editor .bin .download diff --git a/.yamato/wrench/api-validation-jobs.yml b/.yamato/wrench/api-validation-jobs.yml new file mode 100644 index 0000000000..c54267e025 --- /dev/null +++ b/.yamato/wrench/api-validation-jobs.yml @@ -0,0 +1,60 @@ +# Auto-generated by Recipe Engine, do not modify manually. +# This job is generated by the wrench recipe engine module, see find the docs here: https://internaldocs.unity.com/packageworks/wrench/gettingstarted/ + +# upm-ci validation tests for API Validation - inputsystem - 2019.4 - windows (2019.4 - Windows). +api_validation_-_inputsystem_-_2019_4_-_windows: + name: API Validation - inputsystem - 2019.4 - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 2019.4 -c Editor --fast + timeout: 10 + retries: 3 + - command: python PythonScripts/PackageJsonCondersor.py + timeout: 1 + retries: 0 + - command: upm-ci package test -u .Editor --package-path Packages/com.unity.inputsystem --type vetting-tests || exit 0 + timeout: 30 + retries: 0 + - command: python PythonScripts/parse_upm_ci_results.py --package-path=Packages/com.unity.inputsystem + 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 + 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 + browsable: onNonSuccess + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + triggers: + expression: push.branch match "^release/.*" + cancel_old_ci: true + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + diff --git a/.yamato/wrench/package-pack-jobs.yml b/.yamato/wrench/package-pack-jobs.yml new file mode 100644 index 0000000000..07795805af --- /dev/null +++ b/.yamato/wrench/package-pack-jobs.yml @@ -0,0 +1,36 @@ +# Auto-generated by Recipe Engine, do not modify manually. +# This job is generated by the wrench recipe engine module, see find the docs here: https://internaldocs.unity.com/packageworks/wrench/gettingstarted/ + +# Pack and Sign Input System +package_pack_-_inputsystem: + name: Package Pack - inputsystem + agent: + image: package-ci/ubuntu-20.04:default + type: Unity::VM + flavor: b1.large + commands: + - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm + timeout: 20 + retries: 10 + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: 7z x -aoa wrench-localapv.zip + - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple + - command: python PythonScripts/print_machine_info.py + - command: upm-ci package pack --package-path Packages/com.unity.inputsystem + - command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.inputsystem_packages.json + after: + - command: curl -s https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.sh --output run_standalone_instability_detection-latest.sh --retry 5 || exit 0 + - command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.0 || exit 0 + timeout: 10 + retries: 1 + artifacts: + packages: + paths: + - upm-ci~/packages/**/* + variables: + UPMCI_ACK_LARGE_PACKAGE: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + diff --git a/.yamato/wrench/preview-a-p-v.yml b/.yamato/wrench/preview-a-p-v.yml new file mode 100644 index 0000000000..e51942f09f --- /dev/null +++ b/.yamato/wrench/preview-a-p-v.yml @@ -0,0 +1,698 @@ +# Auto-generated by Recipe Engine, do not modify manually. +# This job is generated by the wrench recipe engine module, see find the docs here: https://internaldocs.unity.com/packageworks/wrench/gettingstarted/ + +# Parent Preview APV Job. +all_preview_apv_jobs: + name: All Preview APV Jobs + dependencies: + - 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 + - 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 + triggers: + expression: push.branch match "^release/.*" + cancel_old_ci: true + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + +# Functional tests for dependents found in the latest 2021.3 manifest (MacOS). +preview_apv_-_2021_3_-_macos: + name: Preview APV - 2021.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 2021.3 -c Editor --fast + timeout: 10 + retries: 3 + - 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + +# Functional tests for dependents found in the latest 2021.3 manifest (Ubuntu). +preview_apv_-_2021_3_-_ubuntu: + name: Preview APV - 2021.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 2021.3 -c Editor --fast + timeout: 10 + retries: 3 + - 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + +# Functional tests for dependents found in the latest 2021.3 manifest (Windows). +preview_apv_-_2021_3_-_windows: + name: Preview APV - 2021.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 2021.3 -c Editor --fast + timeout: 10 + retries: 3 + - 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" + timeout: 10 + retries: 1 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: python PythonScripts/editor_manifest_validator.py --version=2022.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" + timeout: 10 + retries: 1 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.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: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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: 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 + 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~/** + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + diff --git a/.yamato/wrench/promotion-jobs.yml b/.yamato/wrench/promotion-jobs.yml new file mode 100644 index 0000000000..0f0e0bbb4f --- /dev/null +++ b/.yamato/wrench/promotion-jobs.yml @@ -0,0 +1,316 @@ +# Auto-generated by Recipe Engine, do not modify manually. +# This job is generated by the wrench recipe engine module, see find the docs here: https://internaldocs.unity.com/packageworks/wrench/gettingstarted/ + +# Publish Dry Run for inputsystem to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm +publish_dry_run_inputsystem: + name: Publish Dry Run inputsystem + 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 --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 + artifacts: + logs: + paths: + - results/UTR/**/* + browsable: onNonSuccess + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2019_4_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2019.4-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2019.4-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2019_4_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2019.4-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2019.4-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2019_4_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2019.4-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2019.4-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2021_3_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2021.3-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2021.3-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2021_3_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2021.3-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2021.3-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2021_3_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2021.3-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2021.3-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2022_3_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2022.3-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2022.3-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2022_3_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2022.3-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2022.3-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2022_3_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2022.3-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2022.3-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_0_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.0-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.0-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_0_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.0-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.0-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_0_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.0-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.0-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_1_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.1-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.1-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_1_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.1-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.1-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_1_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.1-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.1-windows + unzip: true + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + triggers: + expression: push.branch match "^release/.*" + cancel_old_ci: true + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + +# Publish for inputsystem to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm +publish_inputsystem: + name: Publish inputsystem + 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 + artifacts: + logs: + paths: + - results/UTR/**/* + browsable: onNonSuccess + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2019_4_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2019.4-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2019.4-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2019_4_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2019.4-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2019.4-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2019_4_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2019.4-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2019.4-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2021_3_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2021.3-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2021.3-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2021_3_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2021.3-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2021.3-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2021_3_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2021.3-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2021.3-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2022_3_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2022.3-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2022.3-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2022_3_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2022.3-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2022.3-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_2022_3_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-2022.3-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-2022.3-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_0_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.0-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.0-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_0_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.0-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.0-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_0_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.0-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.0-windows + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_1_-_macos + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.1-macos + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.1-macos + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_1_-_ubuntu + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.1-ubuntu + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.1-ubuntu + unzip: true + - path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_1_-_windows + specific_options: + UTR: + location: results/UTR/validate-inputsystem-6000.1-windows + unzip: true + pvp-results: + location: results/pvp/validate-inputsystem-6000.1-windows + unzip: true + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + diff --git a/.yamato/wrench/validation-jobs.yml b/.yamato/wrench/validation-jobs.yml new file mode 100644 index 0000000000..30e51aceba --- /dev/null +++ b/.yamato/wrench/validation-jobs.yml @@ -0,0 +1,998 @@ +# Auto-generated by Recipe Engine, do not modify manually. +# This job is generated by the wrench recipe engine module, see find the docs here: https://internaldocs.unity.com/packageworks/wrench/gettingstarted/ + +# PVP Editor and Playmode tests for Validate - inputsystem - 2019.4 - macos (2019.4 - MacOS). +validate_-_inputsystem_-_2019_4_-_macos: + name: Validate - inputsystem - 2019.4 - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 2019.4 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 2019.4 - ubuntu (2019.4 - Ubuntu). +validate_-_inputsystem_-_2019_4_-_ubuntu: + name: Validate - inputsystem - 2019.4 - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 2019.4 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 2019.4 - windows (2019.4 - Windows). +validate_-_inputsystem_-_2019_4_-_windows: + name: Validate - inputsystem - 2019.4 - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 2019.4 -c Editor --fast + timeout: 10 + retries: 3 + - command: upm-pvp create-test-project test-inputsystem --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: 20 + 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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 2021.3 - macos (2021.3 - MacOS). +validate_-_inputsystem_-_2021_3_-_macos: + name: Validate - inputsystem - 2021.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 + retries: 3 + - command: upm-pvp create-test-project test-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 2021.3 - ubuntu (2021.3 - Ubuntu). +validate_-_inputsystem_-_2021_3_-_ubuntu: + name: Validate - inputsystem - 2021.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 + retries: 3 + - command: upm-pvp create-test-project test-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 2021.3 - windows (2021.3 - Windows). +validate_-_inputsystem_-_2021_3_-_windows: + name: Validate - inputsystem - 2021.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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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 + retries: 3 + - command: upm-pvp create-test-project test-inputsystem --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: 20 + 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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 2022.3 - macos (2022.3 - MacOS). +validate_-_inputsystem_-_2022_3_-_macos: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 2022.3 - ubuntu (2022.3 - Ubuntu). +validate_-_inputsystem_-_2022_3_-_ubuntu: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 2022.3 - windows (2022.3 - Windows). +validate_-_inputsystem_-_2022_3_-_windows: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + 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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 6000.0 - macos (6000.0 - MacOS). +validate_-_inputsystem_-_6000_0_-_macos: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 6000.0 - ubuntu (6000.0 - Ubuntu). +validate_-_inputsystem_-_6000_0_-_ubuntu: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 6000.0 - windows (6000.0 - Windows). +validate_-_inputsystem_-_6000_0_-_windows: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + 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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 6000.1 - macos (6000.1 - MacOS). +validate_-_inputsystem_-_6000_1_-_macos: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 6000.1 - ubuntu (6000.1 - Ubuntu). +validate_-_inputsystem_-_6000_1_-_ubuntu: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + retries: 0 + - command: upm-pvp require "PVP-160-1 PVP-101-2" --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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + +# PVP Editor and Playmode tests for Validate - inputsystem - 6000.1 - windows (6000.1 - Windows). +validate_-_inputsystem_-_6000_1_-_windows: + name: Validate - inputsystem - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.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-inputsystem --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: 20 + 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-inputsystem --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --artifacts_path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" + timeout: 30 + 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 + artifacts: + Crash Dumps: + paths: + - CrashDumps/** + packages: + paths: + - upm-ci~/packages/**/* + pvp-results: + paths: + - upm-ci~/pvp/**/* + browsable: onDemand + UTR: + paths: + - '*.log' + - '*.xml' + - artifacts/**/* + - test-inputsystem/Logs/** + - test-inputsystem/Library/*.log + - test-inputsystem/*.log + - test-inputsystem/Builds/*.log + - build/test-results/** + browsable: onDemand + dependencies: + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem + variables: + UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 + UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + metadata: + Job Maintainers: '#rm-packageworks' + Wrench: 0.10.25.0 + labels: + - Packages:inputsystem + diff --git a/.yamato/wrench/wrench_config.json b/.yamato/wrench/wrench_config.json new file mode 100644 index 0000000000..f9f2a5e222 --- /dev/null +++ b/.yamato/wrench/wrench_config.json @@ -0,0 +1,37 @@ +{ + "project_path": "Tools\\CI", + "schema_version": 0.6, + "packages": { + "com.unity.inputsystem": { + "directory": "Packages/com.unity.inputsystem/", + "prePackCommands": [], + "preTestCommands": { + "MacOS": [], + "Ubuntu": [], + "Windows": [] + }, + "InternalOnly": false, + "NeverPublish": false, + "MaxEditorVersion": "", + "coverageEnabled": false, + "coverageCommands": [ + "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:ASSEMBLY_NAME;pathReplacePatterns:@*,,**/PackageCache/,;sourcePaths:YAMATO_SOURCE_DIR/Packages;" + ], + "dependantsToIgnoreInPreviewApv": {} + } + }, + "releasing_packages": [ + "com.unity.inputsystem" + ], + "jobs_to_monitor": { + "com.unity.inputsystem": [ + ".yamato/wrench/api-validation-jobs.yml#api_validation_-_inputsystem_-_2019_4_-_windows", + ".yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs", + ".yamato/wrench/promotion-jobs.yml#publish_dry_run_inputsystem" + ] + }, + "publishing_job": ".yamato/wrench/promotion-jobs.yml#publish_inputsystem", + "branch_pattern": "ReleaseSlash", + "wrench_version": "0.10.25.0", + "pvp_exemption_path": ".yamato/wrench/pvp-exemptions.json" +} \ No newline at end of file diff --git a/Tools/CI/Program.cs b/Tools/CI/Program.cs new file mode 100644 index 0000000000..1cb1206d7a --- /dev/null +++ b/Tools/CI/Program.cs @@ -0,0 +1,21 @@ +using InputSystem.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 InputSystemSettings(); + + // ReSharper disable once UnusedVariable + var engine = EngineFactory + .Create() + .ScanAll() + .WithWrenchModule(settings.Wrench) + .GenerateAsync().Result; + return engine; + } +} diff --git a/Tools/CI/Settings/InputSystemSettings.cs b/Tools/CI/Settings/InputSystemSettings.cs new file mode 100644 index 0000000000..3b1da45816 --- /dev/null +++ b/Tools/CI/Settings/InputSystemSettings.cs @@ -0,0 +1,30 @@ +using RecipeEngine.Api.Settings; +using RecipeEngine.Modules.Wrench.Models; +using RecipeEngine.Modules.Wrench.Settings; + +namespace InputSystem.Cookbook.Settings; + +public class InputSystemSettings : AnnotatedSettingsBase +{ + // Path from the root of the repository where packages are located. + readonly string[] PackagesRootPaths = {"Packages"}; + + // update this to list all packages in this repo that you want to release. + Dictionary PackageOptions = new() + { + { + "com.unity.inputsystem", + new PackageOptions() { ReleaseOptions = new ReleaseOptions() { IsReleasing = true } } + } + }; + + public InputSystemSettings() + { + Wrench = new WrenchSettings( + PackagesRootPaths, + PackageOptions + ); + } + + public WrenchSettings Wrench { get; private set; } +} diff --git a/Tools/CI/global.json b/Tools/CI/global.json new file mode 100644 index 0000000000..3cb4f9622d --- /dev/null +++ b/Tools/CI/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "7.0.0", + "rollForward": "latestMinor", + "allowPrerelease": false + } +} diff --git a/Tools/CI/nuget.config b/Tools/CI/nuget.config new file mode 100644 index 0000000000..de6af57e8d --- /dev/null +++ b/Tools/CI/nuget.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tools/CI/onboard.py b/Tools/CI/onboard.py new file mode 100644 index 0000000000..6f5186742d --- /dev/null +++ b/Tools/CI/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/Tools/CI/regenerate.bat b/Tools/CI/regenerate.bat new file mode 100644 index 0000000000..7bcf0578f2 --- /dev/null +++ b/Tools/CI/regenerate.bat @@ -0,0 +1,2 @@ +cd %~dp0../../ +dotnet run --project Tools\CI\InputSystem.Cookbook.csproj \ No newline at end of file diff --git a/Tools/CI/regenerate.sh b/Tools/CI/regenerate.sh new file mode 100644 index 0000000000..4b114e7b49 --- /dev/null +++ b/Tools/CI/regenerate.sh @@ -0,0 +1,2 @@ +cd $(dirname "$0")/../../ +dotnet run --project Tools\CI\InputSystem.Cookbook.csproj \ No newline at end of file From 5857cf6063bc514af03a83adabf001d2f7e6dd5a Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Tue, 19 Nov 2024 12:24:18 +0100 Subject: [PATCH 2/7] Update promotion.yml --- .yamato/promotion.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/promotion.yml b/.yamato/promotion.yml index 82f8693c2b..a8e82c6e28 100644 --- a/.yamato/promotion.yml +++ b/.yamato/promotion.yml @@ -8,7 +8,7 @@ promote: image: package-ci/win10:default flavor: b1.large dependencies: - - .yamato/publish-samples.yml + - .yamato/publish-samples.yml#test_sample_projects variables: UPMCI_PROMOTION: 1 commands: From d9ab449f6bbf5896c2490043530fcbbea51be2ff Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Thu, 21 Nov 2024 21:44:00 +0100 Subject: [PATCH 3/7] add PVP exemption, update Wrench version --- .yamato/wrench/api-validation-jobs.yml | 6 +- .yamato/wrench/package-pack-jobs.yml | 6 +- .yamato/wrench/preview-a-p-v.yml | 74 +- .yamato/wrench/promotion-jobs.yml | 12 +- .yamato/wrench/pvp-exemptions.json | 1588 ++++++++++++++++++++++ .yamato/wrench/validation-jobs.yml | 170 +-- .yamato/wrench/wrench_config.json | 2 +- Tools/CI/Settings/InputSystemSettings.cs | 9 +- 8 files changed, 1734 insertions(+), 133 deletions(-) create mode 100644 .yamato/wrench/pvp-exemptions.json diff --git a/.yamato/wrench/api-validation-jobs.yml b/.yamato/wrench/api-validation-jobs.yml index c54267e025..b67215cbed 100644 --- a/.yamato/wrench/api-validation-jobs.yml +++ b/.yamato/wrench/api-validation-jobs.yml @@ -9,7 +9,7 @@ api_validation_-_inputsystem_-_2019_4_-_windows: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -50,11 +50,11 @@ api_validation_-_inputsystem_-_2019_4_-_windows: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 triggers: expression: push.branch match "^release/.*" cancel_old_ci: true metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 diff --git a/.yamato/wrench/package-pack-jobs.yml b/.yamato/wrench/package-pack-jobs.yml index 07795805af..52819bc970 100644 --- a/.yamato/wrench/package-pack-jobs.yml +++ b/.yamato/wrench/package-pack-jobs.yml @@ -12,7 +12,7 @@ package_pack_-_inputsystem: - 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -29,8 +29,8 @@ package_pack_-_inputsystem: - upm-ci~/packages/**/* variables: UPMCI_ACK_LARGE_PACKAGE: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 diff --git a/.yamato/wrench/preview-a-p-v.yml b/.yamato/wrench/preview-a-p-v.yml index e51942f09f..91331be521 100644 --- a/.yamato/wrench/preview-a-p-v.yml +++ b/.yamato/wrench/preview-a-p-v.yml @@ -22,7 +22,7 @@ all_preview_apv_jobs: cancel_old_ci: true metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 2021.3 manifest (MacOS). preview_apv_-_2021_3_-_macos: @@ -32,7 +32,7 @@ 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -75,10 +75,10 @@ preview_apv_-_2021_3_-_macos: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 2021.3 manifest (Ubuntu). preview_apv_-_2021_3_-_ubuntu: @@ -88,7 +88,7 @@ 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -131,10 +131,10 @@ preview_apv_-_2021_3_-_ubuntu: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 2021.3 manifest (Windows). preview_apv_-_2021_3_-_windows: @@ -144,7 +144,7 @@ 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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -187,10 +187,10 @@ preview_apv_-_2021_3_-_windows: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 2022.3 manifest (MacOS). preview_apv_-_2022_3_-_macos: @@ -200,7 +200,7 @@ preview_apv_-_2022_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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -243,10 +243,10 @@ preview_apv_-_2022_3_-_macos: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 2022.3 manifest (Ubuntu). preview_apv_-_2022_3_-_ubuntu: @@ -256,7 +256,7 @@ preview_apv_-_2022_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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -299,10 +299,10 @@ preview_apv_-_2022_3_-_ubuntu: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 2022.3 manifest (Windows). preview_apv_-_2022_3_-_windows: @@ -312,7 +312,7 @@ preview_apv_-_2022_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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -355,10 +355,10 @@ preview_apv_-_2022_3_-_windows: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 6000.0 manifest (MacOS). preview_apv_-_6000_0_-_macos: @@ -368,7 +368,7 @@ preview_apv_-_6000_0_-_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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -411,10 +411,10 @@ preview_apv_-_6000_0_-_macos: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 6000.0 manifest (Ubuntu). preview_apv_-_6000_0_-_ubuntu: @@ -424,7 +424,7 @@ preview_apv_-_6000_0_-_ubuntu: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -467,10 +467,10 @@ preview_apv_-_6000_0_-_ubuntu: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 6000.0 manifest (Windows). preview_apv_-_6000_0_-_windows: @@ -480,7 +480,7 @@ preview_apv_-_6000_0_-_windows: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -523,10 +523,10 @@ preview_apv_-_6000_0_-_windows: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 6000.1 manifest (MacOS). preview_apv_-_6000_1_-_macos: @@ -536,7 +536,7 @@ preview_apv_-_6000_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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -579,10 +579,10 @@ preview_apv_-_6000_1_-_macos: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 6000.1 manifest (Ubuntu). preview_apv_-_6000_1_-_ubuntu: @@ -592,7 +592,7 @@ preview_apv_-_6000_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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -635,10 +635,10 @@ preview_apv_-_6000_1_-_ubuntu: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Functional tests for dependents found in the latest 6000.1 manifest (Windows). preview_apv_-_6000_1_-_windows: @@ -648,7 +648,7 @@ preview_apv_-_6000_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-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -691,8 +691,8 @@ preview_apv_-_6000_1_-_windows: dependencies: - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem variables: - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 diff --git a/.yamato/wrench/promotion-jobs.yml b/.yamato/wrench/promotion-jobs.yml index 0f0e0bbb4f..6590d236de 100644 --- a/.yamato/wrench/promotion-jobs.yml +++ b/.yamato/wrench/promotion-jobs.yml @@ -9,7 +9,7 @@ publish_dry_run_inputsystem: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -151,13 +151,13 @@ publish_dry_run_inputsystem: unzip: true variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 triggers: expression: push.branch match "^release/.*" cancel_old_ci: true metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 # Publish for inputsystem to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm publish_inputsystem: @@ -167,7 +167,7 @@ publish_inputsystem: type: Unity::VM flavor: b1.large commands: - - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-46_5989adaa2e1fb763637fce73dc8dd932ee311a074f584a98fbd9fd05eb2b6f31.zip -o wrench-localapv.zip + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.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 @@ -309,8 +309,8 @@ publish_inputsystem: unzip: true variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 0.10.25.0 + UPMPVP_CONTEXT_WRENCH: 0.10.27.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 0.10.25.0 + Wrench: 0.10.27.0 diff --git a/.yamato/wrench/pvp-exemptions.json b/.yamato/wrench/pvp-exemptions.json new file mode 100644 index 0000000000..5c132789c7 --- /dev/null +++ b/.yamato/wrench/pvp-exemptions.json @@ -0,0 +1,1588 @@ +{ + "per_package": { + "com.unity.inputsystem@1": { + "exempts": { + "PVP-27-1": { + "errors": [ + "Samples~/InputDeviceTester/.sample.json: 3d9c0d91f50349d29637153ddec7f1d9", + "Samples~/SimpleDemo/.sample.json: 3d9c0d91f50349d29637153ddec7f1d9" + ] + }, + "PVP-33-1": { + "errors": [ + "Documentation~/.vscode/spellright.dict", + "Samples~/CustomComposite/.sample.json", + "Samples~/CustomDevice/.sample.json", + "Samples~/CustomDeviceUsages/.sample.json", + "Samples~/GamepadMouseCursor/.sample.json", + "Samples~/InGameHints/.sample.json", + "Samples~/InputDeviceTester/.sample.json", + "Samples~/InputRecorder/.sample.json", + "Samples~/OnScreenControls/.sample.json", + "Samples~/RebindingUI/.sample.json", + "Samples~/SimpleDemo/.sample.json", + "Samples~/SimpleMultiplayer/.sample.json", + "Samples~/TouchSamples/.sample.json", + "Samples~/UIvsGameInput/.sample.json", + "Samples~/UnityRemote/.sample.json", + "Samples~/Visualizers/.sample.json" + ] + }, + "PVP-38-1": { + "errors": [ + "InputSystem/Editor/AssetEditor/Resources/personal/actionTreeBackground.png.meta", + "InputSystem/Editor/AssetEditor/Resources/pro/actionTreeBackground.png.meta", + "InputSystem/Editor/AssetEditor/Resources/personal/actionTreeBackgroundWithoutBorder.png.meta", + "InputSystem/Editor/AssetEditor/Resources/pro/actionTreeBackgroundWithoutBorder.png.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/BindingPanelRowTemplate.uxml.meta", + "InputSystem/Editor/AssetEditor/Resources/blue.png.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/CompositeBindingPropertiesEditor.uxml.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/CompositePartBindingPropertiesEditor.uxml.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/ControlSchemeEditor.uxml.meta", + "InputSystem/Editor/AssetEditor/Resources/personal/foldoutBackground.png.meta", + "InputSystem/Editor/AssetEditor/Resources/pro/foldoutBackground.png.meta", + "InputSystem/Editor/AssetEditor/Resources/green.png.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionMapsTreeViewItem.uxml.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionsEditor.uxml.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionsEditorStyles.uss.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionsProjectSettings.uxml.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionsTreeViewItem.uxml.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/InputAssetEditorDark.uss.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/InputAssetEditorLight.uss.meta", + "InputSystem/Editor/UITKAssetEditor/Resources/NameAndParameterListViewItemTemplate.uxml.meta", + "InputSystem/Editor/AssetEditor/Resources/personal.meta", + "InputSystem/Editor/AssetEditor/Resources/pink.png.meta", + "InputSystem/Editor/AssetEditor/Resources/pro.meta", + "InputSystem/Editor/AssetEditor/Resources/personal/propertiesBackground.png.meta", + "InputSystem/Editor/AssetEditor/Resources/pro/propertiesBackground.png.meta", + "InputSystem/Editor/AssetEditor/Resources/yellow.png.meta", + "InputSystem/Editor/AssetEditor/Resources/personal/actionTreeBackground.png", + "InputSystem/Editor/AssetEditor/Resources/pro/actionTreeBackground.png", + "InputSystem/Editor/AssetEditor/Resources/personal/actionTreeBackgroundWithoutBorder.png", + "InputSystem/Editor/AssetEditor/Resources/pro/actionTreeBackgroundWithoutBorder.png", + "InputSystem/Editor/AssetEditor/Resources/blue.png", + "InputSystem/Editor/AssetEditor/Resources/personal/foldoutBackground.png", + "InputSystem/Editor/AssetEditor/Resources/pro/foldoutBackground.png", + "InputSystem/Editor/AssetEditor/Resources/green.png", + "InputSystem/Editor/AssetEditor/Resources/pink.png", + "InputSystem/Editor/AssetEditor/Resources/personal/propertiesBackground.png", + "InputSystem/Editor/AssetEditor/Resources/pro/propertiesBackground.png", + "InputSystem/Editor/AssetEditor/Resources/yellow.png", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionsEditorStyles.uss", + "InputSystem/Editor/UITKAssetEditor/Resources/InputAssetEditorDark.uss", + "InputSystem/Editor/UITKAssetEditor/Resources/InputAssetEditorLight.uss", + "InputSystem/Editor/UITKAssetEditor/Resources/BindingPanelRowTemplate.uxml", + "InputSystem/Editor/UITKAssetEditor/Resources/CompositeBindingPropertiesEditor.uxml", + "InputSystem/Editor/UITKAssetEditor/Resources/CompositePartBindingPropertiesEditor.uxml", + "InputSystem/Editor/UITKAssetEditor/Resources/ControlSchemeEditor.uxml", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionMapsTreeViewItem.uxml", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionsEditor.uxml", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionsProjectSettings.uxml", + "InputSystem/Editor/UITKAssetEditor/Resources/InputActionsTreeViewItem.uxml", + "InputSystem/Editor/UITKAssetEditor/Resources/NameAndParameterListViewItemTemplate.uxml" + ] + }, + "PVP-40-1": { + "errors": [ + "CHANGELOG.md: line 11: header must match regex: ^\\[(?.*)\\]( - (?\\d{4}-\\d{2}-\\d{2}))?$" + ] + }, + "PVP-91-3": { + "errors": [ + "Samples~/RebindingUI/Icons/PS4_Circle.png.meta: /ps4_circle.png.meta", + "Samples~/RebindingUI/Icons/PS4_Cross.png.meta: /ps4_cross.png.meta", + "Samples~/RebindingUI/Icons/PS4_Dpad_Down.png.meta: /ps4_dpad_down.png.meta", + "Samples~/RebindingUI/Icons/PS4_Dpad_Left.png.meta: /ps4_dpad_left.png.meta", + "Samples~/RebindingUI/Icons/PS4_Dpad_Right.png.meta: /ps4_dpad_right.png.meta", + "Samples~/RebindingUI/Icons/PS4_Dpad_Up.png.meta: /ps4_dpad_up.png.meta", + "Samples~/RebindingUI/Icons/PS4_Dpad.png.meta: /ps4_dpad.png.meta", + "Samples~/RebindingUI/Icons/PS4_L1.png.meta: /ps4_l1.png.meta", + "Samples~/RebindingUI/Icons/PS4_L2.png.meta: /ps4_l2.png.meta", + "Samples~/RebindingUI/Icons/PS4_Left_Stick.png.meta: /ps4_left_stick.png.meta", + "Samples~/RebindingUI/Icons/PS4_Options.png.meta: /ps4_options.png.meta", + "Samples~/RebindingUI/Icons/PS4_R1.png.meta: /ps4_r1.png.meta", + "Samples~/RebindingUI/Icons/PS4_R2.png.meta: /ps4_r2.png.meta", + "Samples~/RebindingUI/Icons/PS4_Right_Stick.png.meta: /ps4_right_stick.png.meta", + "Samples~/RebindingUI/Icons/PS4_Share.png.meta: /ps4_share.png.meta", + "Samples~/RebindingUI/Icons/PS4_Square.png.meta: /ps4_square.png.meta", + "Samples~/RebindingUI/Icons/PS4_Triangle.png.meta: /ps4_triangle.png.meta", + "Samples~/RebindingUI/Icons/PS4_Circle.png: /ps4_circle.png", + "Samples~/RebindingUI/Icons/PS4_Cross.png: /ps4_cross.png", + "Samples~/RebindingUI/Icons/PS4_Dpad_Down.png: /ps4_dpad_down.png", + "Samples~/RebindingUI/Icons/PS4_Dpad_Left.png: /ps4_dpad_left.png", + "Samples~/RebindingUI/Icons/PS4_Dpad_Right.png: /ps4_dpad_right.png", + "Samples~/RebindingUI/Icons/PS4_Dpad_Up.png: /ps4_dpad_up.png", + "Samples~/RebindingUI/Icons/PS4_Dpad.png: /ps4_dpad.png", + "Samples~/RebindingUI/Icons/PS4_L1.png: /ps4_l1.png", + "Samples~/RebindingUI/Icons/PS4_L2.png: /ps4_l2.png", + "Samples~/RebindingUI/Icons/PS4_Left_Stick.png: /ps4_left_stick.png", + "Samples~/RebindingUI/Icons/PS4_Options.png: /ps4_options.png", + "Samples~/RebindingUI/Icons/PS4_R1.png: /ps4_r1.png", + "Samples~/RebindingUI/Icons/PS4_R2.png: /ps4_r2.png", + "Samples~/RebindingUI/Icons/PS4_Right_Stick.png: /ps4_right_stick.png", + "Samples~/RebindingUI/Icons/PS4_Share.png: /ps4_share.png", + "Samples~/RebindingUI/Icons/PS4_Square.png: /ps4_square.png", + "Samples~/RebindingUI/Icons/PS4_Triangle.png: /ps4_triangle.png" + ] + }, + "PVP-92-3": { + "errors": [ + "InputSystem/Plugins/Switch/SwitchProControllerHID.cs: .Switch.", + "InputSystem/Plugins/Switch/SwitchProControllerHID.cs: .Switch\n", + "InputSystem/Plugins/Switch/SwitchSupportHID.cs: .Switch\n", + "Documentation~/Gamepad.md: .Switch." + ] + }, + "PVP-124-2": { + "errors": [ + "Tests/TestFixture/Unity.InputSystem.TestFramework.asmdef", + "Samples~/CustomComposite/.sample.json", + "Samples~/CustomDevice/.sample.json", + "Samples~/CustomDeviceUsages/.sample.json", + "Samples~/GamepadMouseCursor/.sample.json", + "Samples~/InGameHints/.sample.json", + "Samples~/InputDeviceTester/.sample.json", + "Samples~/InputRecorder/.sample.json", + "Samples~/OnScreenControls/.sample.json", + "Samples~/RebindingUI/.sample.json", + "Samples~/SimpleDemo/.sample.json", + "Samples~/SimpleMultiplayer/.sample.json", + "Samples~/TouchSamples/.sample.json", + "Samples~/UIvsGameInput/.sample.json", + "Samples~/UnityRemote/.sample.json", + "Samples~/Visualizers/.sample.json" + ] + }, + "PVP-130-1": { + "errors": [ + "InputSystem/Plugins/InputForUI/InputSystemForUI.asmdef: assembly name does not match filename: Unity.InputSystem.ForUI", + "Tests/TestFixture/Unity.InputSystem.TestFramework.asmdef: file is not valid JSON", + "Samples~/UIvsGameInput/Unity.InputSystem.UIvsGameInput.asmdef: assembly name does not match filename: UnityEngine.InputSystem.Samples.UIvsGameInput", + "Samples~/Visualizers/Unity.InputSystem.Visualizers.asmdef: assembly name does not match filename: InputSystem.Samples.Visualizers" + ] + }, + "PVP-131-1": { + "errors": [ + "Samples~/ProjectWideActions/ProjectWideActions.asmdef: assembly name does not start with \"Unity.\": ProjectWideActions", + "Tests/TestFixture/Unity.InputSystem.TestFramework.asmdef: file is not valid JSON", + "Samples~/UIvsGameInput/Unity.InputSystem.UIvsGameInput.asmdef: assembly name does not start with \"Unity.\": UnityEngine.InputSystem.Samples.UIvsGameInput", + "Samples~/Visualizers/Unity.InputSystem.Visualizers.asmdef: assembly name does not start with \"Unity.\": InputSystem.Samples.Visualizers" + ] + }, + "PVP-132-1": { + "errors": [ + "Tests/TestFixture/Unity.InputSystem.TestFramework.asmdef: file is not valid JSON" + ] + }, + "PVP-133-1": { + "errors": [ + "InputSystem/Plugins/InputForUI/InputSystemForUI.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory", + "Samples~/ProjectWideActions/ProjectWideActions.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory", + "InputSystem/Unity.InputSystem.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory", + "Samples~/InGameHints/Unity.InputSystem.InGameHints.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory", + "Tests/IntegrationTests/Unity.InputSystem.IntegrationTests.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory", + "Samples~/RebindingUI/Unity.InputSystem.RebindingUI.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory", + "Samples~/InputRecorder/Unity.InputSystem.Recorder.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory", + "Tests/TestFixture/Unity.InputSystem.TestFramework.asmdef: file is not valid JSON", + "Samples~/UIvsGameInput/Unity.InputSystem.UIvsGameInput.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory", + "Samples~/Visualizers/Unity.InputSystem.Visualizers.asmdef: runtime assembly definition file not inside \"Runtime\" or \"Tests/Runtime\" directory" + ] + }, + "PVP-150-1": { + "errors": [ + "UnityEngine.InputSystem.InputSystem: onLayoutChange: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void RegisterLayout(Type, string, InputDeviceMatcher?): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void RegisterLayout(string, string, InputDeviceMatcher?): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void RegisterLayoutOverride(string, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void RegisterLayoutBuilder(Func, string, string, InputDeviceMatcher?): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void RegisterPrecompiledLayout(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: string TryFindMatchingLayout(InputDeviceDescription): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: IEnumerable ListLayoutsBasedOn(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: InputControlLayout LoadLayout(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: InputControlLayout LoadLayout(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: string GetNameOfBaseLayout(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: bool IsFirstLayoutBasedOnSecond(string, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: bool IsFirstLayoutBasedOnSecond(string, string): empty tag", + "UnityEngine.InputSystem.InputSystem: void RegisterProcessor(Type, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void RegisterProcessor(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: onDeviceChange: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: onFindLayoutForDevice: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: InputDevice AddDevice(string, string, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: TDevice AddDevice(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: InputDevice AddDevice(InputDeviceDescription): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void AddDevice(InputDevice): empty tag", + "UnityEngine.InputSystem.InputSystem: void AddDevice(InputDevice): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: InputDevice GetDevice(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: InputDevice GetDevice(string): empty tag", + "UnityEngine.InputSystem.InputSystem: InputDevice GetDevice(Type): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: InputDevice GetDevice(Type): empty tag", + "UnityEngine.InputSystem.InputSystem: TDevice GetDevice(InternedString): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void EnableDevice(InputDevice): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void ResetDevice(InputDevice, bool): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void SetDeviceUsage(InputDevice, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void SetDeviceUsage(InputDevice, InternedString): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: InputControl FindControl(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: onEvent: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: onAnyButtonPress: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void QueueEvent(InputEventPtr): non-standard attribute 'cref' on ", + "UnityEngine.InputSystem.InputSystem: void QueueEvent(InputEventPtr): without required attribute 'name'", + "UnityEngine.InputSystem.InputSystem: void QueueEvent(InputEventPtr): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void QueueEvent(ref TEvent): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void QueueStateEvent(InputDevice, TState, double): empty tag", + "UnityEngine.InputSystem.InputSystem: void QueueStateEvent(InputDevice, TState, double): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputSystem: void QueueStateEvent(InputDevice, TState, double): empty tag", + "UnityEngine.InputSystem.InputSystem: void QueueDeltaStateEvent(InputControl, TDelta, double): empty tag", + "UnityEngine.InputSystem.InputSystem: void QueueDeltaStateEvent(InputControl, TDelta, double): empty tag", + "UnityEngine.InputSystem.InputSystem: void QueueDeltaStateEvent(InputControl, TDelta, double): empty tag", + "UnityEngine.InputSystem.Composites.AxisComposite: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Composites.AxisComposite: minValue: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Composites.AxisComposite: maxValue: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Processors.AxisDeadzoneProcessor: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Processors.AxisDeadzoneProcessor: empty tag", + "UnityEngine.InputSystem.Controls.ButtonControl: pressPoint: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Controls.ButtonControl: wasPressedThisFrame: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Composites.ButtonWithOneModifier: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Composites.ButtonWithTwoModifiers: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Processors.ClampProcessor: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Processors.ClampProcessor: empty tag", + "UnityEngine.InputSystem.Utilities.Vector2MagnitudeComparer: empty tag", + "UnityEngine.InputSystem.Utilities.Vector2MagnitudeComparer: mixed block and inline content in ; use instead of or wrap inline content in ", + "UnityEngine.InputSystem.Utilities.Vector3MagnitudeComparer: empty tag", + "UnityEngine.InputSystem.Utilities.Vector3MagnitudeComparer: mixed block and inline content in ; use instead of or wrap inline content in ", + "UnityEngine.InputSystem.DefaultInputActions: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Controls.DeltaControl: in top-level context; use instead", + "UnityEngine.InputSystem.Controls.DiscreteButtonControl: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.EnhancedTouch.EnhancedTouchSupport: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.LowLevel.GamepadState: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.Gamepad: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.HID.HID.UsagePage: text or XML content outside a top-level tag", + "UnityEngine.InputSystem.Interactions.HoldInteraction: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.IInputActionCollection2: int FindBinding(InputBinding, out InputAction): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.IInputInteraction: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.IInputInteraction: void Process(ref InputInteractionContext): empty tag", + "UnityEngine.InputSystem.IInputInteraction: void Process(ref InputInteractionContext): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.LowLevel.IInputStateCallbackReceiver: bool GetStateOffsetForEvent(InputControl, InputEventPtr, ref uint): empty tag", + "UnityEngine.InputSystem.InputAction: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: processors: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: interactions: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: actionMap: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: bindingMask: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: controls: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: inProgress: in top-level context; use instead", + "UnityEngine.InputSystem.InputAction: started: in top-level context; use instead", + "UnityEngine.InputSystem.InputAction: canceled: in top-level context; use instead", + "UnityEngine.InputSystem.InputAction: performed: in top-level context; use instead", + "UnityEngine.InputSystem.InputAction: .ctor(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: .ctor(string, InputActionType, string, string, string, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: void Enable(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: TValue ReadValue(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: bool IsPressed(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: bool WasPressedThisFrame(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: bool WasReleasedThisFrame(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: bool WasPerformedThisFrame(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: bool WasCompletedThisFrame(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction: float GetTimeoutCompletionPercentage(): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction.CallbackContext: interaction: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction.CallbackContext: duration: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputAction.CallbackContext: void ReadValue(void*, int): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionAsset: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionAsset: devices: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionAsset: this[string]: unexpected ; use instead", + "UnityEngine.InputSystem.InputActionAsset: void LoadFromJson(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionAsset: InputActionAsset FromJson(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionAsset: InputAction FindAction(string, bool): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionAsset: bool IsUsableWithDevice(InputDevice): empty tag", + "UnityEngine.InputSystem.InputActionAsset: bool IsUsableWithDevice(InputDevice): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionMap: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionMap: devices: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionMap: this[string]: in top-level context; use instead", + "UnityEngine.InputSystem.InputActionMap: bool IsUsableWithDevice(InputDevice): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionMap: InputActionMap[] FromJson(string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: PrimitiveValue? GetParameterValue(InputAction, string, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: TValue? GetParameterValue(InputAction, Expression>, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyParameterOverride(InputAction, Expression>, TValue, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyParameterOverride(InputActionMap, Expression>, TValue, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyParameterOverride(InputActionAsset, Expression>, TValue, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyParameterOverride(InputActionMap, string, PrimitiveValue, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyParameterOverride(InputActionAsset, string, PrimitiveValue, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyParameterOverride(InputAction, string, PrimitiveValue, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: int GetBindingIndexForControl(InputAction, InputControl): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: string GetBindingDisplayString(InputAction, DisplayStringOptions, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: string GetBindingDisplayString(InputAction, InputBinding, DisplayStringOptions): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: string GetBindingDisplayString(InputAction, int, DisplayStringOptions): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: string GetBindingDisplayString(InputAction, int, out string, out string, DisplayStringOptions): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyBindingOverride(InputAction, string, string, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyBindingOverride(InputAction, InputBinding): in block context; use instead", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyBindingOverride(InputAction, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyBindingOverride(InputAction, int, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void ApplyBindingOverride(InputAction, int, string): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void RemoveBindingOverride(InputAction, InputBinding): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: int ApplyBindingOverridesOnMatchingControls(InputAction, InputControl): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: int ApplyBindingOverridesOnMatchingControls(InputActionMap, InputControl): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: string SaveBindingOverridesAsJson(IInputActionCollection2): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: string SaveBindingOverridesAsJson(InputAction): in block context; use instead", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void LoadBindingOverridesFromJson(IInputActionCollection2, string, bool): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: void LoadBindingOverridesFromJson(InputAction, string, bool): in block context (only allowed in top-level context)", + "UnityEngine.InputSystem.InputActionRebindingExtensions: RebindingOperation PerformInteractiveRebinding(InputAction, int): non-standard tag