Skip to content

CHANGE: Remove 6000.1 from CI and fix UTR flag "--scripting-backend" #2225

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .yamato/config.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ editors:
run_tvos: false
- version: 6000.0
run_tvos: false
- version: 6000.1
run_tvos: false
- version: 6000.2
run_tvos: false
- version: trunk
Expand Down
4 changes: 2 additions & 2 deletions .yamato/upm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- move /Y .\Packages\com.unity.inputsystem\Samples .\Assets
- move /Y .\Packages\com.unity.inputsystem\Samples.meta .\Assets
# Now run our full test suite that sits in Assets/Tests by running UTR on our project.
- UnifiedTestRunner --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --clean-library --reruncount=1 --clean-library-on-rerun --suite=playmode {% if platform.name == "win" %} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} {% if platform.name == "win" and category.name == "functional" %}--enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Project --coverage-upload-options="reportsDir:upm-ci~/test-results/CodeCoverage/Project;name:{{platform.name}}_{{editor.version}}_project;flags:{{platform.name}}_{{editor.version}}_project" {% endif %}
- UnifiedTestRunner --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --clean-library --reruncount=1 --clean-library-on-rerun --suite=playmode {% if platform.name == "win" %} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend={{ platform.scripting-backend }} {% endif %} {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} {% if platform.name == "win" and category.name == "functional" %}--enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Project --coverage-upload-options="reportsDir:upm-ci~/test-results/CodeCoverage/Project;name:{{platform.name}}_{{editor.version}}_project;flags:{{platform.name}}_{{editor.version}}_project" {% endif %}
{% if platform.name == "win" and category.name == "functional" %}
# Delete the Package and Project reports & raw coverage data, to keep Artifacts.zip smaller
- rmdir /s/q "{{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Package"
Expand Down Expand Up @@ -87,7 +87,7 @@
- mv ./Packages/com.unity.inputsystem/Samples ./Assets
- mv ./Packages/com.unity.inputsystem/Samples.meta ./Assets
# Now run our full test suite that sits in Assets/Tests by running UTR on our project.
- UnifiedTestRunner --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --clean-library --reruncount=1 --clean-library-on-rerun --suite=playmode {% if platform.name == "mac" or platform.name == "linux"%} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} {% if category.name == "functional" and platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Project --coverage-upload-options="reportsDir:upm-ci~/test-results/CodeCoverage/Project;name:{{platform.name}}_{{editor.version}}_project;flags:{{platform.name}}_{{editor.version}}_project" {% endif %}
- UnifiedTestRunner --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --clean-library --reruncount=1 --clean-library-on-rerun --suite=playmode {% if platform.name == "mac" or platform.name == "linux"%} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend={{ platform.scripting-backend }} {% endif %} {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} {% if category.name == "functional" and platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Project --coverage-upload-options="reportsDir:upm-ci~/test-results/CodeCoverage/Project;name:{{platform.name}}_{{editor.version}}_project;flags:{{platform.name}}_{{editor.version}}_project" {% endif %}
{% if category.name == "functional" and platform.name == "mac" or platform.name == "linux"%}
# Delete the Package and Project reports & raw coverage data, to keep Artifacts.zip smaller
- rm -rf {{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package
Expand Down
166 changes: 0 additions & 166 deletions .yamato/wrench/preview-a-p-v.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ all_preview_apv_jobs:
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_0_-_macos
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_0_-_ubuntu
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_0_-_windows
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_1_-_macos
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_1_-_ubuntu
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_1_-_windows
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_2_-_macos
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_2_-_ubuntu
- path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_2_-_windows
Expand Down Expand Up @@ -516,169 +513,6 @@ preview_apv_-_6000_0_-_windows:
Job Maintainers: '#rm-packageworks'
Wrench: 0.12.2.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-68_53c92d3b34ce3f4b652c9785dd1530bdc5885f6523465d6969c3be91f9ccaaf1.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/staging -c editor --path .Editor --fast
timeout: 10
retries: 3
- command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.1 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~
- command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows'
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
artifacts:
Crash Dumps:
paths:
- CrashDumps/**
logs:
paths:
- '*.log'
- '*.xml'
- upm-ci~/test-results/**/*
- upm-ci~/temp/*/Logs/**
- upm-ci~/temp/*/Library/*.log
- upm-ci~/temp/*/*.log
- upm-ci~/temp/Builds/*.log
packages:
paths:
- upm-ci~/packages/**/*
PreviewAPVResults:
paths:
- PreviewApvArtifacts~/**
- APVTest/**/manifest.json
pvp-results:
paths:
- upm-ci~/pvp/**/*
browsable: onDemand
dependencies:
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem
variables:
UPMPVP_CONTEXT_WRENCH: 0.12.2.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.12.2.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-22.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-68_53c92d3b34ce3f4b652c9785dd1530bdc5885f6523465d6969c3be91f9ccaaf1.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/staging -c editor --path .Editor --fast
timeout: 10
retries: 3
- command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.1 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~
- command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows'
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
artifacts:
Crash Dumps:
paths:
- CrashDumps/**
logs:
paths:
- '*.log'
- '*.xml'
- upm-ci~/test-results/**/*
- upm-ci~/temp/*/Logs/**
- upm-ci~/temp/*/Library/*.log
- upm-ci~/temp/*/*.log
- upm-ci~/temp/Builds/*.log
packages:
paths:
- upm-ci~/packages/**/*
PreviewAPVResults:
paths:
- PreviewApvArtifacts~/**
- APVTest/**/manifest.json
pvp-results:
paths:
- upm-ci~/pvp/**/*
browsable: onDemand
dependencies:
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem
variables:
UPMPVP_CONTEXT_WRENCH: 0.12.2.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.12.2.0

# Functional tests for dependents found in the latest 6000.1 manifest (Windows).
preview_apv_-_6000_1_-_windows:
name: Preview APV - 6000.1 - windows
agent:
image: package-ci/win10:default
type: Unity::VM
flavor: b1.large
commands:
- command: gsudo reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-68_53c92d3b34ce3f4b652c9785dd1530bdc5885f6523465d6969c3be91f9ccaaf1.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/staging -c editor --path .Editor --fast
timeout: 10
retries: 3
- command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.1 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~
- command: python PythonScripts/editor_manifest_validator.py --version=6000.1 --wrench-config=.yamato/wrench/wrench_config.json
after:
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
artifacts:
Crash Dumps:
paths:
- CrashDumps/**
logs:
paths:
- '*.log'
- '*.xml'
- upm-ci~/test-results/**/*
- upm-ci~/temp/*/Logs/**
- upm-ci~/temp/*/Library/*.log
- upm-ci~/temp/*/*.log
- upm-ci~/temp/Builds/*.log
packages:
paths:
- upm-ci~/packages/**/*
PreviewAPVResults:
paths:
- PreviewApvArtifacts~/**
- APVTest/**/manifest.json
pvp-results:
paths:
- upm-ci~/pvp/**/*
browsable: onDemand
dependencies:
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem
variables:
UPMPVP_CONTEXT_WRENCH: 0.12.2.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.12.2.0

# Functional tests for dependents found in the latest 6000.2 manifest (MacOS).
preview_apv_-_6000_2_-_macos:
name: Preview APV - 6000.2 - macos
Expand Down
60 changes: 0 additions & 60 deletions .yamato/wrench/promotion-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,36 +116,6 @@ publish_dry_run_inputsystem:
unzip: true
packages:
ignore_artifact: 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
packages:
ignore_artifact: 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
packages:
ignore_artifact: 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
packages:
ignore_artifact: true
- path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_2_-_macos
specific_options:
UTR:
Expand Down Expand Up @@ -328,36 +298,6 @@ publish_inputsystem:
unzip: true
packages:
ignore_artifact: 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
packages:
ignore_artifact: 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
packages:
ignore_artifact: 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
packages:
ignore_artifact: true
- path: .yamato/wrench/validation-jobs.yml#validate_-_inputsystem_-_6000_2_-_macos
specific_options:
UTR:
Expand Down
Loading