* [CI] [trunk] Updated editor to 987fc056da9f5838f095e2a8f365bab2ced7e858

* [CI] [trunk] Updated editor to b26a29229761f19f970e317e1293a20ce58aed3c

* [CI] [trunk] Updated editor to 16ab843503b1033c14ea1590bd2c1922b6ac1e8a

* Delete all unused CI configs

* Override CUSTOM-REVISION setter

* Fix wrong merge

* Tryfix template jobs

* Use correct bokken images across the board

* Add model for ppv2 osx jobs

* Simplify postprocessing jobs

* Fix ppv2 osx

* Tryfix editor location for ppv2 osx

---------

Co-authored-by: noreply@unity3d.com <noreply@unity3d.com>
This commit is contained in:
Théo Penavaire 2024-08-20 14:01:51 +02:00 коммит произвёл GitHub
Родитель 3163bf4d3a
Коммит 344fe7e962
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
28 изменённых файлов: 187 добавлений и 3011 удалений

Просмотреть файл

@ -2,16 +2,13 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
graphics_repo_nightly_trunk:
name: Templates and PPV2 on trunk
name: Graphics repo nightly on trunk on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UTR_VERSION: "current"
triggers:
@ -23,19 +20,3 @@ graphics_repo_nightly_trunk:
rerun: on_new_revision
- path: .yamato/all-postprocessing.yml#PostProcessing_trunk
rerun: on_new_revision
- path: .yamato/all-urp_template.yml#URP_Template_trunk
rerun: on_new_revision
graphics_repo_nightly_CUSTOM-REVISION:
name: Templates and PPV2 on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/_templates.yml#all_template_ci_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/all-postprocessing.yml#PostProcessing_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/all-urp_template.yml#URP_Template_CUSTOM-REVISION
rerun: on_new_revision

Просмотреть файл

@ -1,2 +0,0 @@
cache:
flags: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP_trunk --extra-editor-arg="-adb2" --extra-editor-arg="-enableCacheServer" --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com" --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerWaitForUploadCompletion"

Просмотреть файл

@ -1,35 +0,0 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
editor-pinning-update:
name: Update pinned editor versions
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
variables:
CI: true
commands:
- sudo apt update
- sudo apt-get install python3 python3-pip unity-downloader-cli -y
- python3 -m pip config set global.index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- python3 -m pip install ruamel.yaml
- sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- git config --global user.name "noreply@unity3d.com"
- git config --global user.email "noreply@unity3d.com"
- git checkout $GIT_BRANCH
- git clone git@github.cds.internal.unity3d.com:unity/gfx-sdet-tools.git
- cd gfx-sdet-tools && git rev-parse HEAD
- python3 gfx-sdet-tools/scripts/update_revisions.py --track trunk --unity-branch $ONO_BRANCH_TRUNK --api-key $CDS_GITHUB_SERVICE_TOKEN --commit-and-push --nr-commits-to-retrieve 1 --vcs git
triggers:
recurring:
- branch: master
frequency: 21 ? * 7 # At 9pm every Saturday - must happen before the ABV (abv.metafile). 2hrs before is arbitrary

Просмотреть файл

@ -2,8 +2,6 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
@ -11,11 +9,11 @@ editor:priming:trunk:Win:
name: '[trunk,Win] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
@ -27,37 +25,14 @@ editor:priming:trunk:Win:
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o windows --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
paths:
- "unity_revision.txt"
editor:priming:CUSTOM-REVISION:Win:
name: '[CUSTOM-REVISION,Win] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: custom_revision_not_set
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- sudo apt update
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o windows --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
unity_revision.zip:
paths:
- "unity_revision.txt"
editor:priming:test_min_editor:Win:
name: '[Min_Editor,Win] Editor priming'
agent:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
variables:
DISPLAY: ":0"
@ -80,11 +55,11 @@ editor:priming:trunk:OSX:
name: '[trunk,OSX] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
@ -96,37 +71,14 @@ editor:priming:trunk:OSX:
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o macos --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
paths:
- "unity_revision.txt"
editor:priming:CUSTOM-REVISION:OSX:
name: '[CUSTOM-REVISION,OSX] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: custom_revision_not_set
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- sudo apt update
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o macos --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
unity_revision.zip:
paths:
- "unity_revision.txt"
editor:priming:test_min_editor:OSX:
name: '[Min_Editor,OSX] Editor priming'
agent:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
variables:
DISPLAY: ":0"
@ -149,11 +101,11 @@ editor:priming:trunk:Linux:
name: '[trunk,Linux] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
@ -165,37 +117,14 @@ editor:priming:trunk:Linux:
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o linux --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
paths:
- "unity_revision.txt"
editor:priming:CUSTOM-REVISION:Linux:
name: '[CUSTOM-REVISION,Linux] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: custom_revision_not_set
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- sudo apt update
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o linux --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
unity_revision.zip:
paths:
- "unity_revision.txt"
editor:priming:test_min_editor:Linux:
name: '[Min_Editor,Linux] Editor priming'
agent:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
variables:
DISPLAY: ":0"

Просмотреть файл

@ -1,5 +0,0 @@
trunk:
updated_at_UTC: '2024-08-16 21:36:00.535092'
changeset:
id: 16ab843503b1033c14ea1590bd2c1922b6ac1e8a
date: '2024-08-16T08:05:54'

Просмотреть файл

@ -2,8 +2,6 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
@ -11,10 +9,10 @@ pre_pack_hdrp_template_Win_trunk:
name: Pre-Pack HDRP Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win11:v4
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template-hd -batchmode -quit -logFile ./Editor.log
dependencies:
@ -32,7 +30,7 @@ pack_hdrp_template_Win_trunk:
name: Pack HDRP Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
@ -46,14 +44,14 @@ test_hdrp_template_Win_trunk:
name: Test HDRP Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win11:v4
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_hdrp_template_Win_trunk
- .yamato/_editor_priming.yml#editor:priming:trunk:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template-hd
artifacts:
@ -64,7 +62,7 @@ pre_pack_hdrp_template_OSX_trunk:
name: Pre-Pack HDRP Template OSX trunk
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
image: package-ci/macos-13:v4
flavor: m1.mac
commands:
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
@ -84,7 +82,7 @@ pack_hdrp_template_OSX_trunk:
name: Pack HDRP Template OSX trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
@ -98,7 +96,7 @@ test_hdrp_template_OSX_trunk:
name: Test HDRP Template OSX trunk
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
image: package-ci/macos-13:v4
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_hdrp_template_OSX_trunk
@ -114,7 +112,7 @@ test_hdrp_template_OSX_trunk:
publish_hdrp_template_trunk:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
name: Publish HDRP Template trunk
commands:
@ -133,7 +131,7 @@ publish_hdrp_template_trunk:
publish_hdrp_template_trunk_dry_run:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
name: Publish HDRP Template trunk Dry Run
commands:
@ -149,164 +147,14 @@ publish_hdrp_template_trunk_dry_run:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
pre_pack_hdrp_template_Win_CUSTOM-REVISION:
name: Pre-Pack HDRP Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template-hd -batchmode -quit -logFile ./Editor.log
dependencies:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
artifacts:
primed:
paths:
- "com.unity.template-hd/Library/Artifacts/**"
- "com.unity.template-hd/Library/ArtifactDB"
- "com.unity.template-hd/Library/SourceAssetDB"
logs:
paths:
- "Editor.log"
pack_hdrp_template_Win_CUSTOM-REVISION:
name: Pack HDRP Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template pack --project-path com.unity.template-hd
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
test_hdrp_template_Win_CUSTOM-REVISION:
name: Test HDRP Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_hdrp_template_Win_CUSTOM-REVISION
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template-hd
artifacts:
logs:
paths:
- "**/test-results/**"
variables:
CUSTOM_REVISION: custom_revision_not_set
pre_pack_hdrp_template_OSX_CUSTOM-REVISION:
name: Pre-Pack HDRP Template OSX CUSTOM-REVISION
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
flavor: m1.mac
commands:
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor/Unity.app/Contents/MacOS/Unity -projectPath com.unity.template-hd -batchmode -quit -logFile ./Editor.log
dependencies:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
artifacts:
primed:
paths:
- "com.unity.template-hd/Library/Artifacts/**"
- "com.unity.template-hd/Library/ArtifactDB"
- "com.unity.template-hd/Library/SourceAssetDB"
logs:
paths:
- "Editor.log"
pack_hdrp_template_OSX_CUSTOM-REVISION:
name: Pack HDRP Template OSX CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template pack --project-path com.unity.template-hd
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
test_hdrp_template_OSX_CUSTOM-REVISION:
name: Test HDRP Template OSX CUSTOM-REVISION
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_hdrp_template_OSX_CUSTOM-REVISION
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u $(pwd)/.Editor/Unity.app/Contents/MacOS/Unity --project-path com.unity.template-hd
artifacts:
logs:
paths:
- "**/test-results/**"
variables:
CUSTOM_REVISION: custom_revision_not_set
publish_hdrp_template_CUSTOM-REVISION:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
name: Publish HDRP Template CUSTOM-REVISION
variables:
CUSTOM_REVISION: custom_revision_not_set
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template publish --project-path com.unity.template-hd
dependencies:
- .yamato/_templates.yml#test_hdrp_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_hdrp_template_OSX_CUSTOM-REVISION
- .yamato/_templates.yml#pack_hdrp_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#pack_hdrp_template_OSX_CUSTOM-REVISION
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
publish_hdrp_template_CUSTOM-REVISION_dry_run:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
name: Publish HDRP Template CUSTOM-REVISION Dry Run
variables:
CUSTOM_REVISION: custom_revision_not_set
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template publish --project-path com.unity.template-hd --dry-run
dependencies:
- .yamato/_templates.yml#test_hdrp_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_hdrp_template_OSX_CUSTOM-REVISION
- .yamato/_templates.yml#pack_hdrp_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#pack_hdrp_template_OSX_CUSTOM-REVISION
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
pre_pack_hdrp_blank_template_Win_trunk:
name: Pre-Pack HDRP Blank Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win11:v4
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template.hdrp-blank -batchmode -quit -logFile ./Editor.log
dependencies:
@ -324,7 +172,7 @@ pack_hdrp_blank_template_Win_trunk:
name: Pack HDRP Blank Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
@ -338,14 +186,14 @@ test_hdrp_blank_template_Win_trunk:
name: Test HDRP Blank Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win11:v4
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_hdrp_blank_template_Win_trunk
- .yamato/_editor_priming.yml#editor:priming:trunk:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template.hdrp-blank
artifacts:
@ -356,7 +204,7 @@ pre_pack_hdrp_blank_template_OSX_trunk:
name: Pre-Pack HDRP Blank Template OSX trunk
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
image: package-ci/macos-13:v4
flavor: m1.mac
commands:
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
@ -376,7 +224,7 @@ pack_hdrp_blank_template_OSX_trunk:
name: Pack HDRP Blank Template OSX trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
@ -390,7 +238,7 @@ test_hdrp_blank_template_OSX_trunk:
name: Test HDRP Blank Template OSX trunk
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
image: package-ci/macos-13:v4
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_hdrp_blank_template_OSX_trunk
@ -406,7 +254,7 @@ test_hdrp_blank_template_OSX_trunk:
publish_hdrp_blank_template_trunk:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
name: Publish HDRP Blank Template trunk
commands:
@ -425,7 +273,7 @@ publish_hdrp_blank_template_trunk:
publish_hdrp_blank_template_trunk_dry_run:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
name: Publish HDRP Blank Template trunk Dry Run
commands:
@ -441,164 +289,14 @@ publish_hdrp_blank_template_trunk_dry_run:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
pre_pack_hdrp_blank_template_Win_CUSTOM-REVISION:
name: Pre-Pack HDRP Blank Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template.hdrp-blank -batchmode -quit -logFile ./Editor.log
dependencies:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
artifacts:
primed:
paths:
- "com.unity.template.hdrp-blank/Library/Artifacts/**"
- "com.unity.template.hdrp-blank/Library/ArtifactDB"
- "com.unity.template.hdrp-blank/Library/SourceAssetDB"
logs:
paths:
- "Editor.log"
pack_hdrp_blank_template_Win_CUSTOM-REVISION:
name: Pack HDRP Blank Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template pack --project-path com.unity.template.hdrp-blank
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
test_hdrp_blank_template_Win_CUSTOM-REVISION:
name: Test HDRP Blank Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_hdrp_blank_template_Win_CUSTOM-REVISION
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template.hdrp-blank
artifacts:
logs:
paths:
- "**/test-results/**"
variables:
CUSTOM_REVISION: custom_revision_not_set
pre_pack_hdrp_blank_template_OSX_CUSTOM-REVISION:
name: Pre-Pack HDRP Blank Template OSX CUSTOM-REVISION
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
flavor: m1.mac
commands:
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor/Unity.app/Contents/MacOS/Unity -projectPath com.unity.template.hdrp-blank -batchmode -quit -logFile ./Editor.log
dependencies:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
artifacts:
primed:
paths:
- "com.unity.template.hdrp-blank/Library/Artifacts/**"
- "com.unity.template.hdrp-blank/Library/ArtifactDB"
- "com.unity.template.hdrp-blank/Library/SourceAssetDB"
logs:
paths:
- "Editor.log"
pack_hdrp_blank_template_OSX_CUSTOM-REVISION:
name: Pack HDRP Blank Template OSX CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template pack --project-path com.unity.template.hdrp-blank
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
test_hdrp_blank_template_OSX_CUSTOM-REVISION:
name: Test HDRP Blank Template OSX CUSTOM-REVISION
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_hdrp_blank_template_OSX_CUSTOM-REVISION
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u $(pwd)/.Editor/Unity.app/Contents/MacOS/Unity --project-path com.unity.template.hdrp-blank
artifacts:
logs:
paths:
- "**/test-results/**"
variables:
CUSTOM_REVISION: custom_revision_not_set
publish_hdrp_blank_template_CUSTOM-REVISION:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
name: Publish HDRP Blank Template CUSTOM-REVISION
variables:
CUSTOM_REVISION: custom_revision_not_set
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template publish --project-path com.unity.template.hdrp-blank
dependencies:
- .yamato/_templates.yml#test_hdrp_blank_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_hdrp_blank_template_OSX_CUSTOM-REVISION
- .yamato/_templates.yml#pack_hdrp_blank_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#pack_hdrp_blank_template_OSX_CUSTOM-REVISION
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
publish_hdrp_blank_template_CUSTOM-REVISION_dry_run:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
name: Publish HDRP Blank Template CUSTOM-REVISION Dry Run
variables:
CUSTOM_REVISION: custom_revision_not_set
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template publish --project-path com.unity.template.hdrp-blank --dry-run
dependencies:
- .yamato/_templates.yml#test_hdrp_blank_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_hdrp_blank_template_OSX_CUSTOM-REVISION
- .yamato/_templates.yml#pack_hdrp_blank_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#pack_hdrp_blank_template_OSX_CUSTOM-REVISION
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
pre_pack_universal_template_Win_trunk:
name: Pre-Pack Universal Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win11:v4
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template-universal -batchmode -quit -logFile ./Editor.log
dependencies:
@ -616,7 +314,7 @@ pack_universal_template_Win_trunk:
name: Pack Universal Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
@ -630,14 +328,14 @@ test_universal_template_Win_trunk:
name: Test Universal Template Win trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win11:v4
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_universal_template_Win_trunk
- .yamato/_editor_priming.yml#editor:priming:trunk:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template-universal
artifacts:
@ -648,7 +346,7 @@ pre_pack_universal_template_OSX_trunk:
name: Pre-Pack Universal Template OSX trunk
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
image: package-ci/macos-13:v4
flavor: m1.mac
commands:
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
@ -668,7 +366,7 @@ pack_universal_template_OSX_trunk:
name: Pack Universal Template OSX trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
@ -682,7 +380,7 @@ test_universal_template_OSX_trunk:
name: Test Universal Template OSX trunk
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
image: package-ci/macos-13:v4
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_universal_template_OSX_trunk
@ -698,7 +396,7 @@ test_universal_template_OSX_trunk:
publish_universal_template_trunk:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
name: Publish Universal Template trunk
commands:
@ -717,7 +415,7 @@ publish_universal_template_trunk:
publish_universal_template_trunk_dry_run:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
name: Publish Universal Template trunk Dry Run
commands:
@ -733,161 +431,11 @@ publish_universal_template_trunk_dry_run:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
pre_pack_universal_template_Win_CUSTOM-REVISION:
name: Pre-Pack Universal Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template-universal -batchmode -quit -logFile ./Editor.log
dependencies:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
artifacts:
primed:
paths:
- "com.unity.template-universal/Library/Artifacts/**"
- "com.unity.template-universal/Library/ArtifactDB"
- "com.unity.template-universal/Library/SourceAssetDB"
logs:
paths:
- "Editor.log"
pack_universal_template_Win_CUSTOM-REVISION:
name: Pack Universal Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template pack --project-path com.unity.template-universal
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
test_universal_template_Win_CUSTOM-REVISION:
name: Test Universal Template Win CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_universal_template_Win_CUSTOM-REVISION
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template-universal
artifacts:
logs:
paths:
- "**/test-results/**"
variables:
CUSTOM_REVISION: custom_revision_not_set
pre_pack_universal_template_OSX_CUSTOM-REVISION:
name: Pre-Pack Universal Template OSX CUSTOM-REVISION
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
flavor: m1.mac
commands:
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor/Unity.app/Contents/MacOS/Unity -projectPath com.unity.template-universal -batchmode -quit -logFile ./Editor.log
dependencies:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
artifacts:
primed:
paths:
- "com.unity.template-universal/Library/Artifacts/**"
- "com.unity.template-universal/Library/ArtifactDB"
- "com.unity.template-universal/Library/SourceAssetDB"
logs:
paths:
- "Editor.log"
pack_universal_template_OSX_CUSTOM-REVISION:
name: Pack Universal Template OSX CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template pack --project-path com.unity.template-universal
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
test_universal_template_OSX_CUSTOM-REVISION:
name: Test Universal Template OSX CUSTOM-REVISION
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_universal_template_OSX_CUSTOM-REVISION
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u $(pwd)/.Editor/Unity.app/Contents/MacOS/Unity --project-path com.unity.template-universal
artifacts:
logs:
paths:
- "**/test-results/**"
variables:
CUSTOM_REVISION: custom_revision_not_set
publish_universal_template_CUSTOM-REVISION:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
name: Publish Universal Template CUSTOM-REVISION
variables:
CUSTOM_REVISION: custom_revision_not_set
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template publish --project-path com.unity.template-universal
dependencies:
- .yamato/_templates.yml#test_universal_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_universal_template_OSX_CUSTOM-REVISION
- .yamato/_templates.yml#pack_universal_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#pack_universal_template_OSX_CUSTOM-REVISION
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
publish_universal_template_CUSTOM-REVISION_dry_run:
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
name: Publish Universal Template CUSTOM-REVISION Dry Run
variables:
CUSTOM_REVISION: custom_revision_not_set
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template publish --project-path com.unity.template-universal --dry-run
dependencies:
- .yamato/_templates.yml#test_universal_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_universal_template_OSX_CUSTOM-REVISION
- .yamato/_templates.yml#pack_universal_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#pack_universal_template_OSX_CUSTOM-REVISION
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/**/*"
all_template_ci_trunk:
name: Pack and test all templates - trunk
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
dependencies:
- .yamato/_templates.yml#test_hdrp_template_Win_trunk
@ -900,22 +448,3 @@ all_template_ci_trunk:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package izon -t
- upm-ci package izon -d
all_template_ci_CUSTOM-REVISION:
name: Pack and test all templates - CUSTOM-REVISION
agent:
type: Unity::VM
image: package-ci/win10:v4.30.0
flavor: b1.large
dependencies:
- .yamato/_templates.yml#test_hdrp_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_hdrp_blank_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_universal_template_Win_CUSTOM-REVISION
- .yamato/_templates.yml#test_hdrp_template_OSX_CUSTOM-REVISION
- .yamato/_templates.yml#test_hdrp_blank_template_OSX_CUSTOM-REVISION
- .yamato/_templates.yml#test_universal_template_OSX_CUSTOM-REVISION
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package izon -t
- upm-ci package izon -d
variables:
CUSTOM_REVISION: custom_revision_not_set

Просмотреть файл

@ -2,16 +2,13 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
PR_PostProcessing_trunk:
name: PR PostProcessing on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
@ -32,8 +29,7 @@ PR_PostProcessing_trunk:
Extra_PostProcessing_trunk:
name: Extra PostProcessing on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
@ -44,8 +40,7 @@ Extra_PostProcessing_trunk:
PostProcessing_trunk:
name: PostProcessing on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
@ -53,49 +48,3 @@ PostProcessing_trunk:
rerun: on_new_revision
- path: .yamato/all-postprocessing.yml#Extra_PostProcessing_trunk
rerun: on_new_revision
PR_PostProcessing_CUSTOM-REVISION:
name: PR PostProcessing on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/postprocessing-win-dx11.yml#PostProcessing_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/postprocessing-win-dx11.yml#PostProcessing_Win_DX11_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/postprocessing-win-dx12.yml#PostProcessing_Win_DX12_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/postprocessing-win-vulkan.yml#PostProcessing_Win_Vulkan_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/postprocessing-osx-metal.yml#PostProcessing_OSX_Metal_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/postprocessing-linux-vulkan.yml#PostProcessing_Linux_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/postprocessing-linux-vulkan.yml#PostProcessing_Linux_Vulkan_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Extra_PostProcessing_CUSTOM-REVISION:
name: Extra PostProcessing on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/postprocessing-win-dx12.yml#PostProcessing_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/postprocessing-win-vulkan.yml#PostProcessing_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
PostProcessing_CUSTOM-REVISION:
name: PostProcessing on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-postprocessing.yml#PR_PostProcessing_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/all-postprocessing.yml#Extra_PostProcessing_CUSTOM-REVISION
rerun: on_new_revision

Просмотреть файл

@ -1,101 +0,0 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
PR_URP_Template_trunk:
name: PR URP_Template on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/urp_template-win-dx11.yml#URP_Template_Win_DX11_Standalone_mono_Linear_trunk
rerun: on_new_revision
- path: .yamato/urp_template-win-dx11.yml#URP_Template_Win_DX11_playmode_mono_Linear_trunk
rerun: on_new_revision
- path: .yamato/urp_template-win-dx12.yml#URP_Template_Win_DX12_playmode_mono_Linear_trunk
rerun: on_new_revision
- path: .yamato/urp_template-win-vulkan.yml#URP_Template_Win_Vulkan_playmode_mono_Linear_trunk
rerun: on_new_revision
- path: .yamato/urp_template-osx-metal.yml#URP_Template_OSX_Metal_playmode_mono_Linear_trunk
rerun: on_new_revision
- path: .yamato/urp_template-linux-vulkan.yml#URP_Template_Linux_Vulkan_Standalone_mono_Linear_trunk
rerun: on_new_revision
- path: .yamato/urp_template-linux-vulkan.yml#URP_Template_Linux_Vulkan_playmode_mono_Linear_trunk
rerun: on_new_revision
Extra_URP_Template_trunk:
name: Extra URP_Template on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/urp_template-win-dx12.yml#URP_Template_Win_DX12_Standalone_mono_Linear_trunk
rerun: on_new_revision
- path: .yamato/urp_template-win-vulkan.yml#URP_Template_Win_Vulkan_Standalone_mono_Linear_trunk
rerun: on_new_revision
URP_Template_trunk:
name: URP_Template on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-urp_template.yml#PR_URP_Template_trunk
rerun: on_new_revision
- path: .yamato/all-urp_template.yml#Extra_URP_Template_trunk
rerun: on_new_revision
PR_URP_Template_CUSTOM-REVISION:
name: PR URP_Template on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/urp_template-win-dx11.yml#URP_Template_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/urp_template-win-dx11.yml#URP_Template_Win_DX11_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/urp_template-win-dx12.yml#URP_Template_Win_DX12_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/urp_template-win-vulkan.yml#URP_Template_Win_Vulkan_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/urp_template-osx-metal.yml#URP_Template_OSX_Metal_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/urp_template-linux-vulkan.yml#URP_Template_Linux_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/urp_template-linux-vulkan.yml#URP_Template_Linux_Vulkan_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Extra_URP_Template_CUSTOM-REVISION:
name: Extra URP_Template on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/urp_template-win-dx12.yml#URP_Template_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/urp_template-win-vulkan.yml#URP_Template_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
URP_Template_CUSTOM-REVISION:
name: URP_Template on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-urp_template.yml#PR_URP_Template_CUSTOM-REVISION
rerun: on_new_revision
- path: .yamato/all-urp_template.yml#Extra_URP_Template_CUSTOM-REVISION
rerun: on_new_revision

Просмотреть файл

@ -11,20 +11,9 @@ editors: # applied for all yml files
rerun_strategy: on_new_revision
ono_branch_var: ONO_BRANCH_TRUNK
editor_pinning:
enabled: True
enabled: False
nr_commits_to_retrieve: 1
allow_triggers: True
variables:
CACHE_ARGS: '{{cache.flags}}'
- track: CUSTOM-REVISION
name: CUSTOM-REVISION
rerun_strategy: on_new_revision
editor_pinning:
enabled: False
fast: False
allow_triggers: False
variables:
CACHE_ARGS: '{{cache.flags}}'
build_configs:
- name: il2cpp_apiNet2
scripting_backend: IL2CPP
@ -50,8 +39,8 @@ color_spaces:
test_platforms:
- type: Standalone
allow_cache: False
disable_split_build_run_for: [OSX_Metal]
utr_flags:
- [OSX_Metal]: '%CACHE_ARGS%'
- [all]: --suite=playmode
- [all]: --timeout=1200
# - [all]: --reruncount=2
@ -60,9 +49,8 @@ test_platforms:
- [Linux_OpenGlCore, Linux_Vulkan]: --platform=StandaloneLinux64
- [OSX_OpenGlCore, OSX_Metal]: --platform=StandaloneOSX
- [iPhone_Metal]: --platform=iOS
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --platform=Android
- [Android_OpenGLES3, Android_Vulkan, iPhone_Metal,Win_DX11, Win_DX12, Win_Vulkan, Win_, Linux_OpenGlCore, Linux_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan, OSX_OpenGlCore]: --player-load-path=players
- [Win_DX11, Win_DX12, Win_Vulkan, Win_, Linux_OpenGlCore, Linux_Vulkan, OSX_OpenGlCore]: --player-load-path=players
- [all]: --artifacts_path=TestProjects/<PROJECT_FOLDER>/test-results
- [OSX_Metal]: --artifacts_path=/Users/bokken/Graphics/TestProjects/<PROJECT_FOLDER>/test-results
@ -72,12 +60,10 @@ test_platforms:
- [OSX_Metal]: --scripting-backend=<SCRIPTING_BACKEND>
- [OSX_Metal]: --testfilter=%TEST_FILTER%
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --architecture=ARM64
- [OSX_Metal]: --testproject=/Users/bokken/Graphics/TestProjects/<PROJECT_FOLDER>
- [Win_DX11, Win_DX12, Win_Vulkan, Win_, Linux_OpenGlCore, Linux_Vulkan]: --player-connection-ip=auto
utr_flags_build:
- [all]: '%CACHE_ARGS%'
- [all]: --testfilter=%TEST_FILTER%
- [all]: --suite=playmode
- [all]: --build-only
@ -86,57 +72,29 @@ test_platforms:
- [Win_DX11, Win_DX12, Win_Vulkan, Win_]: --platform=StandaloneWindows64
- [Linux_OpenGlCore, Linux_Vulkan]: --platform=StandaloneLinux64
- [OSX_OpenGlCore, OSX_Metal]: --platform=StandaloneOSX
- [iPhone_Metal]: --platform=iOS
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --platform=Android
- [all]: --testproject=./TestProjects/<PROJECT_FOLDER>
- [all]: --editor-location=.Editor
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --editor-location=./WindowsEditor
- [XRQuest_Vulkan, XRQuest_OpenGLES3]: --extra-editor-arg="-enabledxrtargets=OculusXRSDK"
- [all]: --artifacts_path=TestProjects/<PROJECT_FOLDER>/test-results
- [Android_OpenGLES3, Android_Vulkan, iPhone_Metal, Win_DX11, Win_DX12, Win_Vulkan, Win_, Linux_OpenGlCore, Linux_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan, OSX_OpenGlCore]: --player-save-path=players
- [Win_DX11, Win_DX12, Win_Vulkan, Win_, Linux_OpenGlCore, Linux_Vulkan]: --player-save-path=players
- [all]: --timeout=1200
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --timeout=2700
- [iPhone]: --timeout=1800
### The method and values live in /com.unity.testframework.graphics/.../Editor/SetupProject.cs
- [Win_DX11]: --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d11" --extra-editor-arg="<COLORSPACE>"
- [Win_DX12]: --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d12" --extra-editor-arg="<COLORSPACE>"
- [Win_Vulkan, Linux_Vulkan, Android_Vulkan, XRQuest_Vulkan]: --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="<COLORSPACE>"
- [Android_OpenGLES3, XRQuest_OpenGLES3]: --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="gles3" --extra-editor-arg="<COLORSPACE>"
- [iPhone_Metal]: --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="metal" --extra-editor-arg="<COLORSPACE>"
- [Win_Vulkan, Linux_Vulkan]: --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="<COLORSPACE>"
- [Win_DX11]: --extra-editor-arg="-playergraphicsapi=Direct3D11"
- [Win_DX12]: --extra-editor-arg="-playergraphicsapi=Direct3D12"
- [Win_Vulkan, Linux_Vulkan, Android_Vulkan, XRQuest_Vulkan]: --extra-editor-arg="-playergraphicsapi=Vulkan"
- [Android_OpenGLES3, XRQuest_OpenGLES3]: --extra-editor-arg="-playergraphicsapi=OpenGLES3"
- [iPhone_Metal, OSX_Metal]: --extra-editor-arg="-playergraphicsapi=Metal"
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --architecture=ARM64
- [Win_Vulkan, Linux_Vulkan]: --extra-editor-arg="-playergraphicsapi=Vulkan"
commands:
- [Android_OpenGLES3, Android_Vulkan]: <shared.platform.commands.connect_bokken>
- [all]: <shared.platform.commands.setup_utr>
- [OSX_Metal]: <shared.platform.commands.unity_downloader_cli>
- [all]: <shared.platform.commands.call_utr>
env_vars:
- [OSX_Metal]: YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME'
- [OSX_Metal]: YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME'
- [OSX_Metal]: YAMATO_JOB_ID='$YAMATO_JOB_ID'
- [OSX_Metal]: YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME'
- [OSX_Metal]: YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID'
- [OSX_Metal]: GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL'
- [OSX_Metal]: GIT_BRANCH='$GIT_BRANCH'
- [OSX_Metal]: GIT_REVISION='$GIT_REVISION'
- [OSX_Metal]: GIT_COMMIT_TIME='$GIT_COMMIT_TIME'
- [Android_OpenGLES3, Android_Vulkan]: <shared.platform.commands.kill_server>
commands_build:
- [all]: <shared.platform.commands.setup_utr>
- [all]: <shared.platform.commands.unity_downloader_cli>
- [all]: <shared.platform.commands.call_utr>
env_vars:
- [OSX_Metal]: YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME'
@ -148,11 +106,24 @@ test_platforms:
- [OSX_Metal]: GIT_BRANCH='$GIT_BRANCH'
- [OSX_Metal]: GIT_REVISION='$GIT_REVISION'
- [OSX_Metal]: GIT_COMMIT_TIME='$GIT_COMMIT_TIME'
- [OSX_Metal]: UTR_VERSION='$UTR_VERSION'
commands_build:
- [all]: <shared.platform.commands.unity_downloader_cli>
- [all]: <shared.platform.commands.setup_utr>
- [all]: <shared.platform.commands.call_utr>
env_vars:
- [OSX_Metal]: YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME'
- [OSX_Metal]: YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME'
- [OSX_Metal]: YAMATO_JOB_ID='$YAMATO_JOB_ID'
- [OSX_Metal]: YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME'
- [OSX_Metal]: YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID'
- [OSX_Metal]: GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL'
- [OSX_Metal]: GIT_BRANCH='$GIT_BRANCH'
- [OSX_Metal]: GIT_REVISION='$GIT_REVISION'
- [OSX_Metal]: GIT_COMMIT_TIME='$GIT_COMMIT_TIME'
after:
- [OSX_OpenGlCore, OSX_Metal, iPhone_Metal, Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan, Linux_OpenGlCore, Linux_Vulkan]: <shared.platform.commands.log_parser>
- [OSX_OpenGlCore, OSX_Metal, Linux_OpenGlCore, Linux_Vulkan]: <shared.platform.commands.log_parser>
after_build:
- [OSX_OpenGlCore, iPhone_Metal, Linux_OpenGlCore, Linux_Vulkan]: <shared.platform.commands.log_parser>
- [OSX_OpenGlCore, Linux_OpenGlCore, Linux_Vulkan]: <shared.platform.commands.log_parser>
- type: playmode
allow_cache: False
utr_flags:
@ -167,8 +138,7 @@ test_platforms:
- [OSX_Metal]: --testproject=/Users/bokken/Graphics/TestProjects/<PROJECT_FOLDER>
- [all]: --editor-location=.Editor
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --editor-location=./WindowsEditor
- [OSX_Metal]: --editor-location=/Users/bokken/.Editor
- [OSX_Metal]: --editor-location=/Users/bokken/Graphics/.Editor
- [all]: --artifacts_path=TestProjects/<PROJECT_FOLDER>/test-results
- [OSX_Metal]: --artifacts_path=/Users/bokken/Graphics/TestProjects/<PROJECT_FOLDER>/test-results
@ -178,8 +148,8 @@ test_platforms:
- [Win_Vulkan, Linux_Vulkan]: --extra-editor-arg="-force-vulkan"
- [Linux_OpenGlCore]: --extra-editor-arg="-force-glcore"
commands:
- [all]: <shared.platform.commands.setup_utr>
- [all]: <shared.platform.commands.unity_downloader_cli>
- [all]: <shared.platform.commands.setup_utr>
- [all]: <shared.platform.commands.call_utr>
env_vars:
- [OSX_Metal]: YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME'
@ -191,9 +161,8 @@ test_platforms:
- [OSX_Metal]: GIT_BRANCH='$GIT_BRANCH'
- [OSX_Metal]: GIT_REVISION='$GIT_REVISION'
- [OSX_Metal]: GIT_COMMIT_TIME='$GIT_COMMIT_TIME'
- [OSX_Metal]: UTR_VERSION='$UTR_VERSION'
after:
- [OSX_OpenGlCore, OSX_Metal, iPhone_Metal, Linux_OpenGlCore, Linux_Vulkan, Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: <shared.platform.commands.log_parser>
- [OSX_OpenGlCore, OSX_Metal, Linux_OpenGlCore, Linux_Vulkan]: <shared.platform.commands.log_parser>
- type: editmode
allow_cache: False
@ -205,14 +174,11 @@ test_platforms:
- [all]: --scripting-backend=<SCRIPTING_BACKEND>
- [all]: --platform=editmode
- [all]: --extra-editor-arg="-colorspace=<COLORSPACE>"
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --platform=Android
- [iPhone_Metal]: --platform=iOS
- [all]: --testproject=./TestProjects/<PROJECT_FOLDER>
- [OSX_Metal]: --testproject=/Users/bokken/Graphics/TestProjects/<PROJECT_FOLDER>
- [all]: --editor-location=.Editor
- [Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: --editor-location=./WindowsEditor
- [OSX_Metal]: --editor-location=/Users/bokken/.Editor
- [all]: --artifacts_path=TestProjects/<PROJECT_FOLDER>/test-results
@ -226,12 +192,11 @@ test_platforms:
- [Win_DX11]: --extra-editor-arg="-playergraphicsapi=Direct3D11"
- [Win_DX12]: --extra-editor-arg="-playergraphicsapi=Direct3D12"
- [Win_Vulkan, Linux_Vulkan, Android_Vulkan, XRQuest_Vulkan]: --extra-editor-arg="-playergraphicsapi=Vulkan"
- [Android_OpenGLES3, XRQuest_OpenGLES3]: --extra-editor-arg="-playergraphicsapi=OpenGLES3"
- [iPhone_Metal, OSX_Metal]: --extra-editor-arg="-playergraphicsapi=Metal"
- [Win_Vulkan, Linux_Vulkan]: --extra-editor-arg="-playergraphicsapi=Vulkan"
- [OSX_Metal]: --extra-editor-arg="-playergraphicsapi=Metal"
commands:
- [all]: <shared.platform.commands.setup_utr>
- [all]: <shared.platform.commands.unity_downloader_cli>
- [all]: <shared.platform.commands.setup_utr>
- [all]: <shared.platform.commands.call_utr>
env_vars:
- [OSX_Metal]: YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME'
@ -243,9 +208,8 @@ test_platforms:
- [OSX_Metal]: GIT_BRANCH='$GIT_BRANCH'
- [OSX_Metal]: GIT_REVISION='$GIT_REVISION'
- [OSX_Metal]: GIT_COMMIT_TIME='$GIT_COMMIT_TIME'
- [OSX_Metal]: UTR_VERSION='$UTR_VERSION'
after:
- [OSX_OpenGlCore, OSX_Metal, iPhone_Metal, Linux_OpenGlCore, Linux_Vulkan, Android_OpenGLES3, Android_Vulkan, XRQuest_OpenGLES3, XRQuest_Vulkan]: <shared.platform.commands.log_parser>
- [OSX_OpenGlCore, OSX_Metal, Linux_OpenGlCore, Linux_Vulkan]: <shared.platform.commands.log_parser>
platforms:
Win:
@ -257,19 +221,19 @@ platforms:
agents_project:
default:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.large
standalone_build:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.xlarge
editmode:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.large
agent_package:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win11:v4
flavor: b1.large
copycmd: copy upm-ci~\packages\*.tgz .Editor\Data\Resources\PackageManager\Editor
editorpath: .\.Editor
@ -279,25 +243,11 @@ platforms:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
call_utr:
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr <UTR_FLAGS>
call_utr_without_git:
- command: utr <UTR_FLAGS>
call_utr_and_exit_0:
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr <UTR_FLAGS> & exit 0
unity_downloader_cli:
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli <EDITOR_REVISION_CMD> <COMPONENTS> --wait --published-only
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
log_parser:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
@ -312,36 +262,22 @@ platforms:
agents_project_Metal:
default:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
image: automation-tooling/macos-11:v2.1987114
flavor: m1.mac
model: 2018-i3-macos11
agents_project_OpenGLCore:
default:
type: Unity::VM::osx
image: automation-tooling/macos-11:v2.1225910
image: automation-tooling/macos-11:v2.1987114
flavor: m1.mac
model: 2018-i3-macos11
agent_package:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
image: package-ci/macos-13:v4
flavor: m1.mac
copycmd: cp ./upm-ci~/packages/*.tgz ./.Editor/Unity.app/Contents/Resources/PackageManager/Editor
editorpath: "$(pwd)/.Editor/Unity.app/Contents/MacOS/Unity"
commands:
[Metal]:
setup_remote_ssh_keys_for_github_cds:
- command: sed -i '' 's/172\.28\.218\.\*/172\.28\.224\.\*/g' ~/.ssh/config
- command: ssh bokken@$BOKKEN_DEVICE_IP "chmod 600 ~/.ssh/*"
- command: |
ssh bokken@$BOKKEN_DEVICE_IP "echo \"
host github.cds.internal.unity3d.com
HostName github.cds.internal.unity3d.com
IdentityFile /Users/bokken/.ssh/id_rsa_cds_github
StrictHostKeyChecking no
User git\" >> ~/.ssh/config"
- command: echo $GITHUB_CDS_SSH_PRIVKEY | base64 -D -i - -o id_rsa_cds_github
- command: scp id_rsa_cds_github bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_cds_github && rm id_rsa_cds_github
- command: ssh bokken@$BOKKEN_DEVICE_IP "chmod 400 ~/.ssh/*"
setup_utr:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
@ -350,25 +286,15 @@ platforms:
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
unity_downloader_cli:
- pip3 install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
call_utr:
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; <env_vars> ~/Graphics/utr <UTR_FLAGS> "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/<PROJECT_FOLDER>/test-results/ TestProjects/<PROJECT_FOLDER>
exit $UTR_RESULT
call_utr_without_git:
- command: |5-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; <env_vars> ~/Graphics/utr <UTR_FLAGS> "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/<PROJECT_FOLDER>/test-results/ TestProjects/<PROJECT_FOLDER>
exit $UTR_RESULT
unity_downloader_cli:
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli <EDITOR_REVISION_CMD> -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; <env_vars> ~/Graphics/utr <UTR_FLAGS> "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/<PROJECT_FOLDER>/test-results/ TestProjects/<PROJECT_FOLDER>
exit $UTR_RESULT
log_parser:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
@ -378,19 +304,11 @@ platforms:
retries: 2
- chmod +x utr
call_utr:
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
./utr <UTR_FLAGS>
retries: 2
call_utr_without_git:
- command: ./utr <UTR_FLAGS>
retries: 2
unity_downloader_cli:
- command: brew tap --force-auto-update unity/unity git@github.cds.internal.unity3d.com:unity/homebrew-unity.git
- command: brew install unity-downloader-cli
retries: 2
- command: unity-downloader-cli <EDITOR_REVISION_CMD> -c editor -c il2cpp --wait --published-only
retries: 2
- pip3 install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
log_parser:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
@ -427,10 +345,6 @@ platforms:
- command: sudo mv 2560x1440.bin /etc/edid.txt
- command: sudo pkill Xorg && sudo systemctl restart gdm3
call_utr:
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr <UTR_FLAGS>
call_utr_without_git:
- command: DISPLAY=:0.0 ./utr <UTR_FLAGS>
unity_downloader_cli:
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
@ -439,31 +353,30 @@ platforms:
- command: sudo apt update
- command: sudo apt install unity-downloader-cli
retries: 2
- command: sudo unity-downloader-cli <EDITOR_REVISION_CMD> -c editor -c il2cpp --wait --published-only
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
log_parser:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
non_project_agents:
package_ci_ubuntu_large:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.large
package_ci_ubuntu_xlarge:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.xlarge
package_ci_ubuntu_small:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
package_ci_win_large:
type: Unity::VM
image: package-ci/win10:v4.30.0
image: package-ci/win10:v4
flavor: b1.large
package_ci_mac:
type: Unity::VM::osx
image: package-ci/macos-13:v4.30.0
image: package-ci/macos-13:v4
flavor: m1.mac

Просмотреть файл

@ -1,47 +1,3 @@
editor_priming_agent: package_ci_ubuntu_small
editor_pin_agent: package_ci_ubuntu_small
editor_priming_config:
use_predefined_variables: True
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
skip_checkout: true
commands:
- sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- sudo apt update
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o <PLATFORM_OS> --wait --skip-download <COMPONENTS> > unity_revision.txt
add_artifacts:
- artifacts.revisions.paths: "unity_revision.txt"
# EDITOR PINNING
editor_versions_file: .yamato/_latest_editor_versions_TRACK.metafile
editor_pinning_config:
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
use_predefined_variables: True
commands:
- sudo apt update
- sudo apt-get install python3 python3-pip unity-downloader-cli -y
- python3 -m pip config set global.index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- python3 -m pip install ruamel.yaml
- sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- git config --global user.name "noreply@unity3d.com"
- git config --global user.email "noreply@unity3d.com"
- git checkout $GIT_BRANCH
- git clone git@github.cds.internal.unity3d.com:unity/gfx-sdet-tools.git
- cd gfx-sdet-tools && git rev-parse HEAD
- python3 gfx-sdet-tools/scripts/update_revisions.py --track trunk --unity-branch $ONO_BRANCH_TRUNK --api-key $CDS_GITHUB_SERVICE_TOKEN --commit-and-push --nr-commits-to-retrieve 1 --vcs git
triggers:
recurring:
- branch: master
frequency: 21 ? * 7 # At 9pm every Saturday - must happen before the ABV (abv.metafile). 2hrs before is arbitrary

Просмотреть файл

@ -2,13 +2,14 @@ project:
name: ABV
jobs:
- name: Templates and PPV2
- name: Graphics repo nightly on trunk
job_id: graphics_repo_nightly
dependencies:
- .yamato/_templates.yml#all_template_ci_<TRACK>
- .yamato/all-postprocessing.yml#PostProcessing_<TRACK>
- .yamato/all-urp_template.yml#URP_Template_<TRACK>
triggers:
recurring:
- branch: master
frequency: 23 ? * 7 # At 11pm every Saturday
- branch: master
frequency: 23 ? * 7 # At 11pm every Saturday
allow_on:
- trunk

Просмотреть файл

@ -19,25 +19,6 @@ platforms:
- name: mono
color_spaces:
- Linear
agents_project:
default:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
editmode:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
standalone:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
standalone_build:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
- name: OSX
apis:
- name: Metal

Просмотреть файл

@ -1,124 +0,0 @@
project:
name: URP_Template
folder: Template_Tests
reuse_blocks:
unity_downloader_cli:
- [all]: <shared.platform.commands.setup_utr>
- [Win_DX11, Win_DX12, Win_Vulkan]:
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli <EDITOR_REVISION_CMD> -c editor --wait --published-only
retries: 2
- [all, \!Win_DX11, \!Win_DX12, \!Win_Vulkan]: <shared.platform.commands.unity_downloader_cli>
- [all]: <shared.platform.commands.call_utr>
test_platforms:
- type: playmode
allow_cache: False
- type: Standalone
allow_cache: False
utr_flags:
- [OSX_Metal]: --timeout=2400
commands_build:
- <reuse_blocks.unity_downloader_cli>
platforms:
- name: Win
apis:
- name: DX11
- name: DX12
- name: Vulkan
build_configs:
- name: mono
color_spaces:
- Linear
agents_project:
default:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
editmode:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
standalone:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
standalone_build:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
- name: OSX
apis:
- name: Metal
exclude_test_platforms:
- name: editmode
build_configs:
- name: mono
color_spaces:
- Linear
- name: Linux
apis:
- name: Vulkan
build_configs:
- name: mono
color_spaces:
- Linear
jobs:
- name: PR <PROJECT_NAME>
dependencies:
- platform: Win
api: DX11
build_config: mono
color_space: Linear
test_platforms:
- Standalone
- playmode
- platform: Win
api: DX12
build_config: mono
color_space: Linear
test_platforms:
- playmode
- platform: Win
api: Vulkan
build_config: mono
color_space: Linear
test_platforms:
- playmode
- platform: OSX
api: Metal
build_config: mono
color_space: Linear
test_platforms:
- playmode
- platform: Linux
api: Vulkan
build_config: mono
color_space: Linear
test_platforms:
- Standalone
- playmode
- name: Extra <PROJECT_NAME>
dependencies:
- platform: Win
api: DX12
build_config: mono
color_space: Linear
test_platforms:
- Standalone
- platform: Win
api: Vulkan
build_config: mono
color_space: Linear
test_platforms:
- Standalone
- name: <PROJECT_NAME>
dependencies:
- <PROJECT_ALL_YML_FILE>#PR_<PROJECT_NAME>_<TRACK>
- <PROJECT_ALL_YML_FILE>#Extra_<PROJECT_NAME>_<TRACK>

Просмотреть файл

@ -2,8 +2,6 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
@ -14,15 +12,11 @@ PostProcessing_Linux_Vulkan_playmode_mono_Linear_trunk:
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
@ -31,9 +25,10 @@ PostProcessing_Linux_Vulkan_playmode_mono_Linear_trunk:
retries: 2
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/PostProcessing_Tests
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/PostProcessing_Tests
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
@ -52,8 +47,7 @@ PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk:
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
@ -61,9 +55,7 @@ PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
- command: DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
@ -84,15 +76,11 @@ Build_PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk:
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
@ -101,9 +89,10 @@ Build_PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk:
retries: 2
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneLinux64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneLinux64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
@ -118,114 +107,3 @@ Build_PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk:
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Linux
rerun: on_new_revision
PostProcessing_Linux_Vulkan_playmode_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on Linux_Vulkan_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- command: sudo apt update
- command: sudo apt install unity-downloader-cli
retries: 2
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/PostProcessing_Tests
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Linux
rerun: on_new_revision
PostProcessing_Linux_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on Linux_Vulkan_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Linux
rerun: on_new_revision
- path: .yamato/postprocessing-linux-vulkan.yml#Build_PostProcessing_Linux_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_PostProcessing_Linux_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
name: Build PostProcessing on Linux_Vulkan_mono_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- command: sudo apt update
- command: sudo apt install unity-downloader-cli
retries: 2
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneLinux64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Linux
rerun: on_new_revision

Просмотреть файл

@ -2,8 +2,6 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
@ -11,16 +9,17 @@ PostProcessing_OSX_Metal_playmode_mono_Linear_trunk:
name: PostProcessing on OSX_Metal_playmode_mono_Linear on version trunk
agent:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
image: automation-tooling/macos-11:v2.1987114
flavor: m1.mac
model: 2018-i3-macos11
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- pip3 install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- chmod +x utr
@ -28,17 +27,11 @@ PostProcessing_OSX_Metal_playmode_mono_Linear_trunk:
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' UTR_VERSION='$UTR_VERSION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results --editor-location=/Users/bokken/.Editor --extra-editor-arg="-colorspace=Linear" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results/ TestProjects/PostProcessing_Tests
exit $UTR_RESULT
- command: |2-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results --editor-location=/Users/bokken/Graphics/.Editor --extra-editor-arg="-colorspace=Linear" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results/ TestProjects/PostProcessing_Tests
exit $UTR_RESULT
after:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
@ -54,16 +47,17 @@ PostProcessing_OSX_Metal_Standalone_mono_Linear_trunk:
name: PostProcessing on OSX_Metal_Standalone_mono_Linear on version trunk
agent:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
image: automation-tooling/macos-11:v2.1987114
flavor: m1.mac
model: 2018-i3-macos11
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- pip3 install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- chmod +x utr
@ -71,17 +65,11 @@ PostProcessing_OSX_Metal_Standalone_mono_Linear_trunk:
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests --timeout=2400 "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results/ TestProjects/PostProcessing_Tests
exit $UTR_RESULT
- command: |2-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests --timeout=2400 "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results/ TestProjects/PostProcessing_Tests
exit $UTR_RESULT
after:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
@ -93,89 +81,3 @@ PostProcessing_OSX_Metal_Standalone_mono_Linear_trunk:
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX
rerun: on_new_revision
PostProcessing_OSX_Metal_playmode_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on OSX_Metal_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
flavor: m1.mac
model: 2018-i3-macos11
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- chmod +x utr
- command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' UTR_VERSION='$UTR_VERSION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results --editor-location=/Users/bokken/.Editor --extra-editor-arg="-colorspace=Linear" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results/ TestProjects/PostProcessing_Tests
exit $UTR_RESULT
after:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
rerun: on_new_revision
PostProcessing_OSX_Metal_Standalone_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on OSX_Metal_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
flavor: m1.mac
model: 2018-i3-macos11
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- chmod +x utr
- command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests --timeout=2400 "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results/ TestProjects/PostProcessing_Tests
exit $UTR_RESULT
after:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
rerun: on_new_revision

Просмотреть файл

@ -2,8 +2,6 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
@ -11,28 +9,21 @@ PostProcessing_Win_DX11_playmode_mono_Linear_trunk:
name: PostProcessing on Win_DX11_playmode_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d11" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d11" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
artifacts:
logs:
paths:
@ -45,24 +36,17 @@ PostProcessing_Win_DX11_Standalone_mono_Linear_trunk:
name: PostProcessing on Win_DX11_Standalone_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
@ -77,27 +61,21 @@ Build_PostProcessing_Win_DX11_Standalone_mono_Linear_trunk:
name: Build PostProcessing on Win_DX11_mono_Linear_Standalone_build_Player on version trunk
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d11" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D11" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d11" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D11" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
artifacts:
logs:
paths:
@ -109,105 +87,3 @@ Build_PostProcessing_Win_DX11_Standalone_mono_Linear_trunk:
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
PostProcessing_Win_DX11_playmode_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on Win_DX11_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d11" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
PostProcessing_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on Win_DX11_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
- path: .yamato/postprocessing-win-dx11.yml#Build_PostProcessing_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_PostProcessing_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION:
name: Build PostProcessing on Win_DX11_mono_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d11" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D11" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision

Просмотреть файл

@ -2,8 +2,6 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
@ -11,28 +9,21 @@ PostProcessing_Win_DX12_playmode_mono_Linear_trunk:
name: PostProcessing on Win_DX12_playmode_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d12" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d12" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
artifacts:
logs:
paths:
@ -45,24 +36,17 @@ PostProcessing_Win_DX12_Standalone_mono_Linear_trunk:
name: PostProcessing on Win_DX12_Standalone_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
@ -77,27 +61,21 @@ Build_PostProcessing_Win_DX12_Standalone_mono_Linear_trunk:
name: Build PostProcessing on Win_DX12_mono_Linear_Standalone_build_Player on version trunk
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d12" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D12" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d12" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D12" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
artifacts:
logs:
paths:
@ -109,105 +87,3 @@ Build_PostProcessing_Win_DX12_Standalone_mono_Linear_trunk:
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
PostProcessing_Win_DX12_playmode_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on Win_DX12_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d12" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
PostProcessing_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on Win_DX12_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
- path: .yamato/postprocessing-win-dx12.yml#Build_PostProcessing_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_PostProcessing_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION:
name: Build PostProcessing on Win_DX12_mono_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d12" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D12" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision

Просмотреть файл

@ -2,8 +2,6 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
@ -11,28 +9,21 @@ PostProcessing_Win_Vulkan_playmode_mono_Linear_trunk:
name: PostProcessing on Win_Vulkan_playmode_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
artifacts:
logs:
paths:
@ -45,24 +36,17 @@ PostProcessing_Win_Vulkan_Standalone_mono_Linear_trunk:
name: PostProcessing on Win_Vulkan_Standalone_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
@ -77,27 +61,21 @@ Build_PostProcessing_Win_Vulkan_Standalone_mono_Linear_trunk:
name: Build PostProcessing on Win_Vulkan_mono_Linear_Standalone_build_Player on version trunk
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
image: automation-tooling/win10-21H1:v2.2309361
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
artifacts:
logs:
paths:
@ -109,105 +87,3 @@ Build_PostProcessing_Win_Vulkan_Standalone_mono_Linear_trunk:
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
PostProcessing_Win_Vulkan_playmode_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on Win_Vulkan_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
PostProcessing_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
name: PostProcessing on Win_Vulkan_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
model: rtx2080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
- path: .yamato/postprocessing-win-vulkan.yml#Build_PostProcessing_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_PostProcessing_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
name: Build PostProcessing on Win_Vulkan_mono_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/PostProcessing_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision

Просмотреть файл

@ -1,58 +0,0 @@
#!/usr/bin/python
# From a set of packages (root of the repository), retrieve all package.json files.
# Collect all unityRelease fields and verify that all package ship with the same one (ie the minimum compatible editor version)
# Store the version in unity_revision.txt
import sys, glob, os, subprocess, json, urllib.request, logging
SUPPORTED_PACKAGES=[
"com.unity.shadergraph",
"com.unity.render-pipelines.core",
"com.unity.render-pipelines.high-definition",
"com.unity.render-pipelines.high-definition-config",
"com.unity.render-pipelines.universal",
"com.unity.visualeffectgraph"
]
def retrieve_unity_release(working_dir):
unity_release = ""
for directory in SUPPORTED_PACKAGES:
package_file_path = os.path.join(working_dir, directory, "package.json")
with open(package_file_path) as package_file:
package_data = json.load(package_file)
tmp_unity_release = package_data["unity"] + "." + package_data["unityRelease"]
if unity_release != "" and unity_release != tmp_unity_release:
logging.error('%s is requiring %s as the minimum version while other packages are using %s.', directory, tmp_unity_release, unity_release)
raise Exception('[ERROR] Not all packages are requiring the same minimum unity version (package.json > unityRelease).')
else:
unity_release = tmp_unity_release
return unity_release
def store_version(tmp_revision_file_path, unity_release):
tmp_revision_file = open(tmp_revision_file_path, "w")
tmp_revision_file.write(unity_release)
tmp_revision_file.close()
def main(tmp_revision_file_path):
logging.info('RUNNING: git rev-parse --show-toplevel')
working_dir = subprocess.check_output(["git", "rev-parse", "--show-toplevel"])
working_dir = working_dir.decode('utf-8').rstrip()
logging.info('Working directory: %s', working_dir)
unity_release = retrieve_unity_release(working_dir)
logging.info('Unity release used by all the packages: %s', unity_release)
store_version(os.path.join(working_dir, tmp_revision_file_path), unity_release)
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(message)s')
if len(sys.argv) < 2:
logging.error('Usage: python3 %s [tmp_unity_revision_file_path]', sys.argv[0])
exit(1)
sys.exit(main(sys.argv[1]))

Просмотреть файл

@ -1,68 +0,0 @@
# Taken from https://github.com/Unity-Technologies/dots/blob/master/Tools/CI/util/subprocess_helpers.py
"""
Helper functions around subprocess
"""
import logging
import subprocess
def run_cmd(cmd, cwd=None):
"""Runs a command and returns its output as an UTF-8 string.
NOTICE: The output normally ends with a newline that might need to be stripped.
NOTICE: This does not return any stderr if the command succeeds, only on
non-zero exit code when the error is raised.
Args:
cmd: Command line as a string or a list (if any item contains spaces).
cwd: Working directory to run the command in. If omitted the
interpreter's working dir will be used.
Raises: subprocess.CalledProcessError similar to subprocess.check_output.
"""
if isinstance(cmd, str):
cmd = cmd.split()
assert isinstance(cmd, list), 'cmd must be of list type, but was "{}"'.format(type(cmd))
logging.info(" Running: {0} (cwd: {1})".format(' '.join(cmd), cwd))
return subprocess.check_output(cmd, cwd=cwd, universal_newlines=True)
def npm_cmd(cmd, registry=None, cwd=None):
"""Runs a npm command and returns its output as an UTF-8 string.
NOTICE: The command shall not include 'npm', since it will be added.
NOTICE: The output normally ends with a newline that might need to be stripped.
Args:
cmd: Command line as a string or a list (if any item contains spaces).
registry: NPM registry to use, if specified (otherwise default will be used).
cwd: Working directory to run the command in. If omitted the
interpreter's working dir will be used.
Raises: subprocess.CalledProcessError similar to subprocess.check_output.
"""
if isinstance(cmd, str):
cmd = cmd.split()
assert isinstance(cmd, list), 'cmd must be of list type, but was "{}"'.format(type(cmd))
assert cmd[0] != 'npm', 'Please omit "npm" from the command: {0}'.format(' '.join(cmd))
commands = ['npm'] + cmd[:] # Use a new list to avoid modifying passed object.
if registry:
commands.append(['--registry', registry])
logging.info(" Running: {0} (cwd: {1})".format(' '.join(commands), cwd))
return subprocess.check_output(commands, cwd=cwd, universal_newlines=True,
stderr=subprocess.STDOUT)
def git_cmd(cmd, cwd=None):
"""Runs a git command and returns its output as an UTF-8 string.
NOTICE: The command shall not include 'git', since it will be added.
NOTICE: The output normally ends with a newline that might need to be stripped.
Args:
cmd: Command line as a string or a list (if any item contains spaces).
cwd: Working directory to run the command in. If omitted the
interpreter's working dir will be used.
Raises: subprocess.CalledProcessError similar to subprocess.check_output.
"""
if isinstance(cmd, str):
cmd = cmd.split()
assert isinstance(cmd, list), 'cmd must be of list type, but was "{}"'.format(type(cmd))
assert cmd[0] != 'git', 'Please omit "git" from the command: {0}'.format(' '.join(cmd))
commands = ['git'] + cmd[:] # Use a new list to avoid modifying passed object.
logging.info(" Running: {0} (cwd: {1})".format(' '.join(commands), cwd))
return subprocess.check_output(commands, cwd=cwd, universal_newlines=True,
stderr=subprocess.STDOUT)

Просмотреть файл

@ -1,13 +0,0 @@
import ruamel.yaml
from collections import OrderedDict
yaml = ruamel.yaml.YAML()
def load_yml(filepath):
'''Returns either yml content of a file, or an empty dict {} if file is empty'''
with open(filepath) as f:
yml_body = yaml.load(f)
return yml_body if yml_body else {}
def ordereddict_to_dict(d):
'''Handles dumping nested dictionaries'''
return {k: ordereddict_to_dict(v) for k, v in d.items()} if isinstance(d, OrderedDict) else d

Просмотреть файл

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83e02fabe049f0b9006bee3a6c7c685ecdc08bb31fe85578ee907a7670096a4e
size 334410

Просмотреть файл

@ -1,11 +0,0 @@
### Yaml-generation
All .ymls in this repository starting with `# This file is generated by ...` are generated by the yaml-generation package.
To set up yaml-generation locally, follow the steps in https://github.cds.internal.unity3d.com/unity/ant-yaml-generation.
All other .ymls (without the above-mentioned header) are added manually, support liquid syntax, and don't require the script above.
### Test architecture
The current architecture corresponds to the structure below:
![alt text](figures/test_architecture.jpg)

Просмотреть файл

@ -1,231 +0,0 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
URP_Template_Linux_Vulkan_playmode_mono_Linear_trunk:
name: URP_Template on Linux_Vulkan_playmode_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- command: sudo apt update
- command: sudo apt install unity-downloader-cli
retries: 2
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/Template_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/Template_Tests
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Linux
rerun: on_new_revision
URP_Template_Linux_Vulkan_Standalone_mono_Linear_trunk:
name: URP_Template on Linux_Vulkan_Standalone_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/Template_Tests/test-results --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Linux
rerun: on_new_revision
- path: .yamato/urp_template-linux-vulkan.yml#Build_URP_Template_Linux_Vulkan_Standalone_mono_Linear_trunk
rerun: on_new_revision
Build_URP_Template_Linux_Vulkan_Standalone_mono_Linear_trunk:
name: Build URP_Template on Linux_Vulkan_mono_Linear_Standalone_build_Player on version trunk
agent:
type: Unity::VM
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- command: sudo apt update
- command: sudo apt install unity-downloader-cli
retries: 2
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/Template_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneLinux64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/Template_Tests --timeout=1200
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Linux
rerun: on_new_revision
URP_Template_Linux_Vulkan_playmode_mono_Linear_CUSTOM-REVISION:
name: URP_Template on Linux_Vulkan_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- command: sudo apt update
- command: sudo apt install unity-downloader-cli
retries: 2
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/Template_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/Template_Tests
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Linux
rerun: on_new_revision
URP_Template_Linux_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
name: URP_Template on Linux_Vulkan_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/Template_Tests/test-results --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Linux
rerun: on_new_revision
- path: .yamato/urp_template-linux-vulkan.yml#Build_URP_Template_Linux_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_URP_Template_Linux_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
name: Build URP_Template on Linux_Vulkan_mono_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: desktop/ubuntu-20.04-desktop:v2.1348791
flavor: b1.xlarge
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- command: chmod +x utr
- command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}*
- command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add -
- command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list"
- command: sudo apt update
- command: sudo apt install unity-downloader-cli
retries: 2
- command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/Template_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneLinux64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/Template_Tests --timeout=1200
after:
- command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Linux
rerun: on_new_revision

Просмотреть файл

@ -1,181 +0,0 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
URP_Template_OSX_Metal_playmode_mono_Linear_trunk:
name: URP_Template on OSX_Metal_playmode_mono_Linear on version trunk
agent:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
flavor: m1.mac
model: 2018-i3-macos11
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- chmod +x utr
- command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' UTR_VERSION='$UTR_VERSION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/Template_Tests/test-results --editor-location=/Users/bokken/.Editor --extra-editor-arg="-colorspace=Linear" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/Template_Tests "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/Template_Tests/test-results/ TestProjects/Template_Tests
exit $UTR_RESULT
after:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX
rerun: on_new_revision
URP_Template_OSX_Metal_Standalone_mono_Linear_trunk:
name: URP_Template on OSX_Metal_Standalone_mono_Linear on version trunk
agent:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
flavor: m1.mac
model: 2018-i3-macos11
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- chmod +x utr
- command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/Template_Tests/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/Template_Tests --timeout=2400 "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/Template_Tests/test-results/ TestProjects/Template_Tests
exit $UTR_RESULT
after:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX
rerun: on_new_revision
URP_Template_OSX_Metal_playmode_mono_Linear_CUSTOM-REVISION:
name: URP_Template on OSX_Metal_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
flavor: m1.mac
model: 2018-i3-macos11
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- chmod +x utr
- command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' UTR_VERSION='$UTR_VERSION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/Template_Tests/test-results --editor-location=/Users/bokken/.Editor --extra-editor-arg="-colorspace=Linear" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/Template_Tests "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/Template_Tests/test-results/ TestProjects/Template_Tests
exit $UTR_RESULT
after:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
rerun: on_new_revision
URP_Template_OSX_Metal_Standalone_mono_Linear_CUSTOM-REVISION:
name: URP_Template on OSX_Metal_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::metal::macmini
image: automation-tooling/macos-11:v2.1225910
flavor: m1.mac
model: 2018-i3-macos11
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
retries: 2
- chmod +x utr
- command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/
retries: 2
- command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
retries: 2
- command: ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP ".Editor/Unity.app/Contents/MacOS/Unity -version"
- command: |5-
export GIT_REVISIONDATE=`git rev-parse HEAD | git show -s --format=%cI`
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/Template_Tests/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/Template_Tests --timeout=2400 "
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/Template_Tests/test-results/ TestProjects/Template_Tests
exit $UTR_RESULT
after:
- command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX
rerun: on_new_revision

Просмотреть файл

@ -1,213 +0,0 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
URP_Template_Win_DX11_playmode_mono_Linear_trunk:
name: URP_Template on Win_DX11_playmode_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d11" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
URP_Template_Win_DX11_Standalone_mono_Linear_trunk:
name: URP_Template on Win_DX11_Standalone_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
- path: .yamato/urp_template-win-dx11.yml#Build_URP_Template_Win_DX11_Standalone_mono_Linear_trunk
rerun: on_new_revision
Build_URP_Template_Win_DX11_Standalone_mono_Linear_trunk:
name: Build URP_Template on Win_DX11_mono_Linear_Standalone_build_Player on version trunk
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d11" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D11" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
URP_Template_Win_DX11_playmode_mono_Linear_CUSTOM-REVISION:
name: URP_Template on Win_DX11_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d11" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
URP_Template_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION:
name: URP_Template on Win_DX11_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
- path: .yamato/urp_template-win-dx11.yml#Build_URP_Template_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_URP_Template_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION:
name: Build URP_Template on Win_DX11_mono_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d11" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D11" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision

Просмотреть файл

@ -1,213 +0,0 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
URP_Template_Win_DX12_playmode_mono_Linear_trunk:
name: URP_Template on Win_DX12_playmode_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d12" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
URP_Template_Win_DX12_Standalone_mono_Linear_trunk:
name: URP_Template on Win_DX12_Standalone_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
- path: .yamato/urp_template-win-dx12.yml#Build_URP_Template_Win_DX12_Standalone_mono_Linear_trunk
rerun: on_new_revision
Build_URP_Template_Win_DX12_Standalone_mono_Linear_trunk:
name: Build URP_Template on Win_DX12_mono_Linear_Standalone_build_Player on version trunk
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d12" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D12" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
URP_Template_Win_DX12_playmode_mono_Linear_CUSTOM-REVISION:
name: URP_Template on Win_DX12_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d12" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
URP_Template_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION:
name: URP_Template on Win_DX12_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
- path: .yamato/urp_template-win-dx12.yml#Build_URP_Template_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_URP_Template_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION:
name: Build URP_Template on Win_DX12_mono_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d12" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D12" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision

Просмотреть файл

@ -1,213 +0,0 @@
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
URP_Template_Win_Vulkan_playmode_mono_Linear_trunk:
name: URP_Template on Win_Vulkan_playmode_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
URP_Template_Win_Vulkan_Standalone_mono_Linear_trunk:
name: URP_Template on Win_Vulkan_Standalone_mono_Linear on version trunk
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
- path: .yamato/urp_template-win-vulkan.yml#Build_URP_Template_Win_Vulkan_Standalone_mono_Linear_trunk
rerun: on_new_revision
Build_URP_Template_Win_Vulkan_Standalone_mono_Linear_trunk:
name: Build URP_Template on Win_Vulkan_mono_Linear_Standalone_build_Player on version trunk
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Win
rerun: on_new_revision
URP_Template_Win_Vulkan_playmode_mono_Linear_CUSTOM-REVISION:
name: URP_Template on Win_Vulkan_playmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
URP_Template_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
name: URP_Template on Win_Vulkan_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
model: gtx1080
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision
- path: .yamato/urp_template-win-vulkan.yml#Build_URP_Template_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_URP_Template_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
name: Build URP_Template on Win_Vulkan_mono_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: automation-tooling/win10-21H1:v2.1577390
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/Template_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/Template_Tests --timeout=1200
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/Template_Tests/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
rerun: on_new_revision