Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0d098a0
Split build and execution for linux standalone tests
theopnv Aug 25, 2020
729cb77
Remove rtx2080 requirement for hdrp jobs not using a GPU
theopnv Aug 25, 2020
842f7c2
Merge branch 'master' into yamato/standalone-tests/split-build-execution
theopnv Aug 26, 2020
be588d5
Fix players path + Add extra utr args
theopnv Aug 26, 2020
44a91d9
Remove need for GPU in the build step of URP Hybrid Linux Standalone
theopnv Aug 26, 2020
92a7e58
Remove need for a GPU in the build step of URP Linux Vulkan standalone
theopnv Aug 26, 2020
cf1adda
Remove need for a GPU in the build step of VFX Standalones
theopnv Aug 26, 2020
54b9729
Move linux_split content in actual linux.py file
theopnv Aug 26, 2020
d3da711
Split build and execution for standalone smoke test
theopnv Aug 26, 2020
2ac620f
Remove old abv_smoke_test script
theopnv Aug 26, 2020
3ab7861
Add missing command to smoke test execution
theopnv Aug 26, 2020
a369928
Fix utr arguments for smoke test job
theopnv Aug 27, 2020
598d458
Manage smoke test through a metafile as other projects
theopnv Aug 27, 2020
d6b8798
Revert useless override_agents + Add global override for standalone_b…
theopnv Aug 27, 2020
10828ba
Same hardware for standalone and standalone build
theopnv Sep 1, 2020
29c22f0
Remove need for gtx1080
theopnv Sep 1, 2020
0019def
Add rtx2080
theopnv Sep 1, 2020
32160bc
Revert hardware requirement
theopnv Sep 1, 2020
74c73f0
Merge master into 'yamato/standalone-tests/split-build-execution'
theopnv Sep 10, 2020
7f4cec3
Move smoke tests back to nightly (instead of abv)
theopnv Sep 11, 2020
4f440fc
Merge branch 'master' into yamato/standalone-tests/split-build-execution
theopnv Oct 5, 2020
82d7e80
Fix linux standalone commands
theopnv Oct 5, 2020
58feecf
Fix linux commands 2
theopnv Oct 5, 2020
d06bdcb
Merge branch 'master' into yamato/standalone-tests/split-build-execution
theopnv Oct 7, 2020
a148b76
Merge branch 'master' into yamato/standalone-tests/split-build-execution
theopnv Oct 7, 2020
7da007d
Add file that was left outside of the merge
theopnv Oct 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 8 additions & 135 deletions .yamato/_abv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,6 @@
# Introduce any changes under .yamato/config/*.metafile files (for most cases) or under .yamato/ruamel/* within Python (more elaborate cases), and rerun build.py to regenerate all .yml files.
# Read more under .yamato/docs/readme.md

smoke_test_playmode_trunk:
name: SRP Smoke Test - playmode_trunk
agent:
type: Unity::VM::GPU
image: sdet/gamecode_win10:stable
flavor: b1.large
variables:
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- cd TestProjects/SRP_SmokeTest && unity-downloader-cli -u dc4a46d1cb369a5194a18beceb09063206b35c43 -c editor --wait --published-only
- cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results
artifacts:
logs:
paths:
- "**/test-results/**"
smoke_test_editmode_trunk:
name: SRP Smoke Test - editmode_trunk
agent:
type: Unity::VM
image: sdet/gamecode_win10:stable
flavor: b1.large
variables:
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- cd TestProjects/SRP_SmokeTest && unity-downloader-cli -u dc4a46d1cb369a5194a18beceb09063206b35c43 -c editor --wait --published-only
- cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results
artifacts:
logs:
paths:
- "**/test-results/**"
all_smoke_tests_trunk:
name: All Smoke Tests - trunk
dependencies:
- path: .yamato/_abv.yml#smoke_test_playmode_trunk
rerun: on-new-revision
- path: .yamato/_abv.yml#smoke_test_editmode_trunk
rerun: on-new-revision
all_project_ci_trunk:
name: _ABV for SRP repository - trunk
dependencies:
Expand All @@ -64,9 +23,11 @@ all_project_ci_nightly_trunk:
dependencies:
- path: .yamato/_abv.yml#all_project_ci_trunk
rerun: on-new-revision
- path: .yamato/_abv.yml#smoke_test_playmode_trunk
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_trunk
rerun: on-new-revision
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_trunk
rerun: on-new-revision
- path: .yamato/_abv.yml#smoke_test_editmode_trunk
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_trunk
rerun: on-new-revision
- path: .yamato/universal-android-opengles3.yml#Universal_Android_OpenGLES3_Standalone_trunk
rerun: on-new-revision
Expand Down Expand Up @@ -117,47 +78,6 @@ trunk_verification_trunk:
rerun: on-new-revision
- path: .yamato/vfx_urp-win-dx11.yml#VFX_URP_Win_DX11_playmode_trunk
rerun: on-new-revision
smoke_test_playmode_2020.2:
name: SRP Smoke Test - playmode_2020.2
agent:
type: Unity::VM::GPU
image: sdet/gamecode_win10:stable
flavor: b1.large
variables:
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- cd TestProjects/SRP_SmokeTest && unity-downloader-cli -u 1b1252580c6429d4be5b5e88fafea90645240c65 -c editor --wait --published-only
- cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results
artifacts:
logs:
paths:
- "**/test-results/**"
smoke_test_editmode_2020.2:
name: SRP Smoke Test - editmode_2020.2
agent:
type: Unity::VM
image: sdet/gamecode_win10:stable
flavor: b1.large
variables:
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- cd TestProjects/SRP_SmokeTest && unity-downloader-cli -u 1b1252580c6429d4be5b5e88fafea90645240c65 -c editor --wait --published-only
- cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results
artifacts:
logs:
paths:
- "**/test-results/**"
all_smoke_tests_2020.2:
name: All Smoke Tests - 2020.2
dependencies:
- path: .yamato/_abv.yml#smoke_test_playmode_2020.2
rerun: on-new-revision
- path: .yamato/_abv.yml#smoke_test_editmode_2020.2
rerun: on-new-revision
all_project_ci_2020.2:
name: _ABV for SRP repository - 2020.2
dependencies:
Expand All @@ -180,9 +100,11 @@ all_project_ci_nightly_2020.2:
dependencies:
- path: .yamato/_abv.yml#all_project_ci_2020.2
rerun: on-new-revision
- path: .yamato/_abv.yml#smoke_test_playmode_2020.2
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_2020.2
rerun: on-new-revision
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_2020.2
rerun: on-new-revision
- path: .yamato/_abv.yml#smoke_test_editmode_2020.2
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_2020.2
rerun: on-new-revision
- path: .yamato/universal-android-opengles3.yml#Universal_Android_OpenGLES3_Standalone_2020.2
rerun: on-new-revision
Expand Down Expand Up @@ -233,55 +155,6 @@ trunk_verification_2020.2:
rerun: on-new-revision
- path: .yamato/vfx_urp-win-dx11.yml#VFX_URP_Win_DX11_playmode_2020.2
rerun: on-new-revision
smoke_test_playmode_CUSTOM-REVISION:
name: SRP Smoke Test - playmode_CUSTOM-REVISION
agent:
type: Unity::VM::GPU
image: sdet/gamecode_win10:stable
flavor: b1.large
variables:
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
CUSTOM_REVISION: custom_revision_not_set
commands:
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only
- cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results
artifacts:
logs:
paths:
- "**/test-results/**"
dependencies:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:windows
smoke_test_editmode_CUSTOM-REVISION:
name: SRP Smoke Test - editmode_CUSTOM-REVISION
agent:
type: Unity::VM
image: sdet/gamecode_win10:stable
flavor: b1.large
variables:
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
CUSTOM_REVISION: custom_revision_not_set
commands:
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only
- cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results
artifacts:
logs:
paths:
- "**/test-results/**"
dependencies:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:windows
all_smoke_tests_CUSTOM-REVISION:
name: All Smoke Tests - CUSTOM-REVISION
dependencies:
- path: .yamato/_abv.yml#smoke_test_playmode_CUSTOM-REVISION
rerun: always
- path: .yamato/_abv.yml#smoke_test_editmode_CUSTOM-REVISION
rerun: always
variables:
CUSTOM_REVISION: custom_revision_not_set
all_project_ci_CUSTOM-REVISION:
name: _ABV for SRP repository - CUSTOM-REVISION
dependencies:
Expand Down
34 changes: 34 additions & 0 deletions .yamato/all-smoke_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

# This file is generated by .yamato/ruamel/build.py. Don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files (for most cases) or under .yamato/ruamel/* within Python (more elaborate cases), and rerun build.py to regenerate all .yml files.
# Read more under .yamato/docs/readme.md

All_Smoke_Test_trunk:
name: All Smoke_Test CI - trunk
dependencies:
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_trunk
rerun: on-new-revision
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_trunk
rerun: on-new-revision
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_trunk
rerun: on-new-revision
All_Smoke_Test_2020.2:
name: All Smoke_Test CI - 2020.2
dependencies:
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_2020.2
rerun: on-new-revision
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_2020.2
rerun: on-new-revision
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_2020.2
rerun: on-new-revision
All_Smoke_Test_CUSTOM-REVISION:
name: All Smoke_Test CI - CUSTOM-REVISION
dependencies:
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_CUSTOM-REVISION
rerun: always
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_CUSTOM-REVISION
rerun: always
- path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_CUSTOM-REVISION
rerun: always
variables:
CUSTOM_REVISION: custom_revision_not_set
4 changes: 4 additions & 0 deletions .yamato/config/__shared.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ platforms:
type: Unity::VM
image: cds-ops/ubuntu-18.04-base:stable
flavor: b1.large
standalone_build:
type: Unity::VM
image: cds-ops/ubuntu-18.04-base:stable
flavor: b1.xlarge
Android:
name: Android
os: android
Expand Down
17 changes: 8 additions & 9 deletions .yamato/config/_abv.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ nightly:
allowed_editors: # specify the editor versions for which to create nightly jobs
- trunk
- 2020.2
extra_dependencies: # additional project jobs to run nightly (in addition to ABV and smoke tests)
extra_dependencies: # additional project jobs to run nightly (in addition to ABV)
- project: Smoke_Test
platform: Win
api: DX11
test_platforms:
- playmode
- editmode
- Standalone
- project: Universal
platform: Android
api: OpenGLES3
Expand Down Expand Up @@ -53,14 +60,6 @@ nightly:
test_platforms:
- editmode
- playmode
smoke_test: # specifications for smoke tests
folder: SRP_SmokeTest
agent: sdet_win_large # used for editmode
agent_gpu: sdet_win_large_gpu # used for non-editmode
test_platforms:
# - type: Standalone
- type: playmode
- type: editmode
trunk_verification: # jobs to include in trunk verification job
dependencies:
- project: Universal
Expand Down
1 change: 0 additions & 1 deletion .yamato/config/hdrp.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ platforms:
type: Unity::VM
image: graphics-foundation/win10-dxr:stable
flavor: b1.xlarge
model: rtx2080
- name: OSX
apis:
- Metal
Expand Down
20 changes: 20 additions & 0 deletions .yamato/config/smoke_test.metafile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
project:
name: Smoke_Test
folder: SRP_SmokeTest
test_platforms:
- type: playmode
- type: editmode
- type: Standalone
platforms:
- name: Win
apis:
- DX11
all:
dependencies:
- platform: Win
api: DX11
test_platforms:
- playmode
- editmode
- Standalone

Loading