Skip to content

Commit

Permalink
[22.3] Always rerun editor priming (Unity-Technologies#8095) (#13)
Browse files Browse the repository at this point in the history
Set rerun:always

Co-authored-by: Théo Penavaire <[email protected]>
  • Loading branch information
Torgo13 and theopnv authored Oct 19, 2024
1 parent c2aac9e commit 8c1dc16
Show file tree
Hide file tree
Showing 11 changed files with 97 additions and 719 deletions.
2 changes: 1 addition & 1 deletion .yamato/_abv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ graphics_repo_nightly_2022.3:
frequency: 23 ? * 7 # At 11pm every Saturday
dependencies:
- path: .yamato/_templates.yml#all_template_ci_2022.3
rerun: on_new_revision
rerun: always
144 changes: 96 additions & 48 deletions .yamato/_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ pre_pack_hdrp_template_Win_2022.3:
- 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:2022.3:Win
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:Win
rerun: always
artifacts:
primed:
paths:
Expand Down Expand Up @@ -47,8 +48,10 @@ test_hdrp_template_Win_2022.3:
image: package-ci/win11:v4
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_hdrp_template_Win_2022.3
- .yamato/_editor_priming.yml#editor:priming:2022.3:Win
- path: .yamato/_templates.yml#pack_hdrp_template_Win_2022.3
rerun: always
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:Win
rerun: always
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.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
Expand All @@ -68,7 +71,8 @@ pre_pack_hdrp_template_OSX_2022.3:
- 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:2022.3:OSX
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
rerun: always
artifacts:
primed:
paths:
Expand Down Expand Up @@ -99,8 +103,10 @@ test_hdrp_template_OSX_2022.3:
image: package-ci/macos-13:v4
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_hdrp_template_OSX_2022.3
- .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
- path: .yamato/_templates.yml#pack_hdrp_template_OSX_2022.3
rerun: always
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
rerun: always
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
Expand All @@ -119,10 +125,14 @@ publish_hdrp_template_2022.3:
- 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_2022.3
- .yamato/_templates.yml#test_hdrp_template_OSX_2022.3
- .yamato/_templates.yml#pack_hdrp_template_Win_2022.3
- .yamato/_templates.yml#pack_hdrp_template_OSX_2022.3
- path: .yamato/_templates.yml#test_hdrp_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_hdrp_template_OSX_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_hdrp_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_hdrp_template_OSX_2022.3
rerun: always
artifacts:
packages:
paths:
Expand All @@ -138,10 +148,14 @@ publish_hdrp_template_2022.3_dry_run:
- 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_2022.3
- .yamato/_templates.yml#test_hdrp_template_OSX_2022.3
- .yamato/_templates.yml#pack_hdrp_template_Win_2022.3
- .yamato/_templates.yml#pack_hdrp_template_OSX_2022.3
- path: .yamato/_templates.yml#test_hdrp_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_hdrp_template_OSX_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_hdrp_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_hdrp_template_OSX_2022.3
rerun: always
artifacts:
packages:
paths:
Expand All @@ -158,7 +172,8 @@ pre_pack_hdrp_blank_template_Win_2022.3:
- 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:2022.3:Win
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:Win
rerun: always
artifacts:
primed:
paths:
Expand Down Expand Up @@ -189,8 +204,10 @@ test_hdrp_blank_template_Win_2022.3:
image: package-ci/win11:v4
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_hdrp_blank_template_Win_2022.3
- .yamato/_editor_priming.yml#editor:priming:2022.3:Win
- path: .yamato/_templates.yml#pack_hdrp_blank_template_Win_2022.3
rerun: always
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:Win
rerun: always
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.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
Expand All @@ -210,7 +227,8 @@ pre_pack_hdrp_blank_template_OSX_2022.3:
- 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:2022.3:OSX
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
rerun: always
artifacts:
primed:
paths:
Expand Down Expand Up @@ -241,8 +259,10 @@ test_hdrp_blank_template_OSX_2022.3:
image: package-ci/macos-13:v4
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_hdrp_blank_template_OSX_2022.3
- .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
- path: .yamato/_templates.yml#pack_hdrp_blank_template_OSX_2022.3
rerun: always
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
rerun: always
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
Expand All @@ -261,10 +281,14 @@ publish_hdrp_blank_template_2022.3:
- 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_2022.3
- .yamato/_templates.yml#test_hdrp_blank_template_OSX_2022.3
- .yamato/_templates.yml#pack_hdrp_blank_template_Win_2022.3
- .yamato/_templates.yml#pack_hdrp_blank_template_OSX_2022.3
- path: .yamato/_templates.yml#test_hdrp_blank_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_hdrp_blank_template_OSX_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_hdrp_blank_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_hdrp_blank_template_OSX_2022.3
rerun: always
artifacts:
packages:
paths:
Expand All @@ -280,10 +304,14 @@ publish_hdrp_blank_template_2022.3_dry_run:
- 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_2022.3
- .yamato/_templates.yml#test_hdrp_blank_template_OSX_2022.3
- .yamato/_templates.yml#pack_hdrp_blank_template_Win_2022.3
- .yamato/_templates.yml#pack_hdrp_blank_template_OSX_2022.3
- path: .yamato/_templates.yml#test_hdrp_blank_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_hdrp_blank_template_OSX_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_hdrp_blank_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_hdrp_blank_template_OSX_2022.3
rerun: always
artifacts:
packages:
paths:
Expand All @@ -300,7 +328,8 @@ pre_pack_universal_template_Win_2022.3:
- 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:2022.3:Win
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:Win
rerun: always
artifacts:
primed:
paths:
Expand Down Expand Up @@ -331,8 +360,10 @@ test_universal_template_Win_2022.3:
image: package-ci/win11:v4
flavor: b1.large
dependencies:
- .yamato/_templates.yml#pack_universal_template_Win_2022.3
- .yamato/_editor_priming.yml#editor:priming:2022.3:Win
- path: .yamato/_templates.yml#pack_universal_template_Win_2022.3
rerun: always
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:Win
rerun: always
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.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
Expand All @@ -352,7 +383,8 @@ pre_pack_universal_template_OSX_2022.3:
- 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:2022.3:OSX
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
rerun: always
artifacts:
primed:
paths:
Expand Down Expand Up @@ -383,8 +415,10 @@ test_universal_template_OSX_2022.3:
image: package-ci/macos-13:v4
flavor: m1.mac
dependencies:
- .yamato/_templates.yml#pack_universal_template_OSX_2022.3
- .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
- path: .yamato/_templates.yml#pack_universal_template_OSX_2022.3
rerun: always
- path: .yamato/_editor_priming.yml#editor:priming:2022.3:OSX
rerun: always
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
Expand All @@ -403,10 +437,14 @@ publish_universal_template_2022.3:
- 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_2022.3
- .yamato/_templates.yml#test_universal_template_OSX_2022.3
- .yamato/_templates.yml#pack_universal_template_Win_2022.3
- .yamato/_templates.yml#pack_universal_template_OSX_2022.3
- path: .yamato/_templates.yml#test_universal_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_universal_template_OSX_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_universal_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_universal_template_OSX_2022.3
rerun: always
artifacts:
packages:
paths:
Expand All @@ -422,10 +460,14 @@ publish_universal_template_2022.3_dry_run:
- 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_2022.3
- .yamato/_templates.yml#test_universal_template_OSX_2022.3
- .yamato/_templates.yml#pack_universal_template_Win_2022.3
- .yamato/_templates.yml#pack_universal_template_OSX_2022.3
- path: .yamato/_templates.yml#test_universal_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_universal_template_OSX_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_universal_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#pack_universal_template_OSX_2022.3
rerun: always
artifacts:
packages:
paths:
Expand All @@ -438,12 +480,18 @@ all_template_ci_2022.3:
image: package-ci/win10:v4
flavor: b1.large
dependencies:
- .yamato/_templates.yml#test_hdrp_template_Win_2022.3
- .yamato/_templates.yml#test_hdrp_blank_template_Win_2022.3
- .yamato/_templates.yml#test_universal_template_Win_2022.3
- .yamato/_templates.yml#test_hdrp_template_OSX_2022.3
- .yamato/_templates.yml#test_hdrp_blank_template_OSX_2022.3
- .yamato/_templates.yml#test_universal_template_OSX_2022.3
- path: .yamato/_templates.yml#test_hdrp_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_hdrp_blank_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_universal_template_Win_2022.3
rerun: always
- path: .yamato/_templates.yml#test_hdrp_template_OSX_2022.3
rerun: always
- path: .yamato/_templates.yml#test_hdrp_blank_template_OSX_2022.3
rerun: always
- path: .yamato/_templates.yml#test_universal_template_OSX_2022.3
rerun: always
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
Expand Down
Loading

0 comments on commit 8c1dc16

Please sign in to comment.