Skip to content

Commit

Permalink
Ant-605 - Reenable template ppv2 nightlies (Unity-Technologies#7342)
Browse files Browse the repository at this point in the history
* Update yamls (no metafile changes)

* Add part of nightly back

* Use LTS versions to test ppv2

* Use 2020LTS
  • Loading branch information
Théo Penavaire committed Apr 7, 2022
1 parent 815ce78 commit fa00646
Show file tree
Hide file tree
Showing 192 changed files with 4,088 additions and 4,009 deletions.
68 changes: 48 additions & 20 deletions .yamato/_abv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
all_project_ci_trunk:
name: ABV (all PR jobs) on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-hdrp.yml#PR_HDRP_trunk
rerun: on_new_revision
Expand All @@ -25,13 +25,29 @@ all_project_ci_trunk:
rerun: on_new_revision
- path: .yamato/_abv.yml#General_Checks_trunk
rerun: on_new_revision
graphics_repo_nightly_trunk:
name: Graphics repo nightly on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UTR_VERSION: "current"
triggers:
recurring:
- branch: master
frequency: 1 * * ?
dependencies:
- path: .yamato/_templates.yml#all_template_ci_trunk
rerun: on_new_revision
- path: .yamato/all-postprocessing.yml#PostProcessing_trunk
rerun: on_new_revision
all_project_ci_nightly_trunk:
name: Nightly on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-hdrp.yml#Nightly_HDRP_trunk
rerun: on_new_revision
Expand All @@ -54,10 +70,10 @@ all_project_ci_nightly_trunk:
General_Checks_trunk:
name: General Checks on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/_projectcontext.yml#all_package_ci_project_trunk
rerun: on_new_revision
Expand All @@ -76,10 +92,10 @@ General_Checks_trunk:
Safety_net_trunk:
name: Safety net on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/shadergraph-win-dx11.yml#ShaderGraph_Win_DX11_playmode_mono_Linear_trunk
rerun: on_new_revision
Expand All @@ -90,10 +106,10 @@ Safety_net_trunk:
Trunk_verification_trunk:
name: Trunk verification on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/urp_2d-win-dx11.yml#URP_2D_Win_DX11_playmode_mono_Linear_trunk
rerun: on_new_revision
Expand Down Expand Up @@ -132,10 +148,10 @@ Trunk_verification_trunk:
all_project_ci_CUSTOM-REVISION:
name: ABV (all PR jobs) on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-hdrp.yml#PR_HDRP_CUSTOM-REVISION
rerun: on_new_revision
Expand All @@ -147,13 +163,25 @@ all_project_ci_CUSTOM-REVISION:
rerun: on_new_revision
- path: .yamato/_abv.yml#General_Checks_CUSTOM-REVISION
rerun: on_new_revision
graphics_repo_nightly_CUSTOM-REVISION:
name: Graphics repo nightly 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
all_project_ci_nightly_CUSTOM-REVISION:
name: Nightly on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-hdrp.yml#Nightly_HDRP_CUSTOM-REVISION
rerun: on_new_revision
Expand All @@ -176,10 +204,10 @@ all_project_ci_nightly_CUSTOM-REVISION:
General_Checks_CUSTOM-REVISION:
name: General Checks on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/_projectcontext.yml#all_package_ci_project_CUSTOM-REVISION
rerun: on_new_revision
Expand All @@ -198,10 +226,10 @@ General_Checks_CUSTOM-REVISION:
Safety_net_CUSTOM-REVISION:
name: Safety net on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/shadergraph-win-dx11.yml#ShaderGraph_Win_DX11_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Expand All @@ -212,10 +240,10 @@ Safety_net_CUSTOM-REVISION:
Trunk_verification_CUSTOM-REVISION:
name: Trunk verification on CUSTOM-REVISION
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/urp_2d-win-dx11.yml#URP_2D_Win_DX11_playmode_mono_Linear_CUSTOM-REVISION
rerun: on_new_revision
Expand Down
33 changes: 33 additions & 0 deletions .yamato/_editor_pinning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

# 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: package-ci/ubuntu:stable
flavor: b1.small
variables:
CI: true
commands:
- pip3 config set global.index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- pip3 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"
- sudo apt update
- sudo apt install unity-downloader-cli
- git config --global user.name "noreply@unity3d.com"
- git config --global user.email "noreply@unity3d.com"
- git checkout $GIT_BRANCH
- python3 .yamato/script/editor_scripts/update_revisions.py --track trunk --ono-branch $ONO_BRANCH_TRUNK --api-key $ONO_API_KEY --commit-and-push --nr-commits-to-retrieve 1
triggers:
recurring:
- branch: master
frequency: 21 * * ?
Loading

0 comments on commit fa00646

Please sign in to comment.