84 строки
5.7 KiB
YAML
84 строки
5.7 KiB
YAML
|
|
# 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).
|
|
|
|
|
|
---
|
|
|
|
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.1987114
|
|
flavor: m1.mac
|
|
model: 2018-i3-macos11
|
|
variables:
|
|
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
|
|
- 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: |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
|
|
artifacts:
|
|
logs:
|
|
paths:
|
|
- "**/test-results/**"
|
|
- "TestProjects/PostProcessing_Tests/Logs/*.log"
|
|
dependencies:
|
|
- path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX
|
|
rerun: always
|
|
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.1987114
|
|
flavor: m1.mac
|
|
model: 2018-i3-macos11
|
|
variables:
|
|
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
|
|
- 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: |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
|
|
artifacts:
|
|
logs:
|
|
paths:
|
|
- "**/test-results/**"
|
|
- "TestProjects/PostProcessing_Tests/Logs/*.log"
|
|
dependencies:
|
|
- path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX
|
|
rerun: always
|