Skip to content

Commit

Permalink
ant-605 Reenable template ppv2 nightlies (#7343)
Browse files Browse the repository at this point in the history
* Regenerate the ymls (no metafile change)

* Reenable part of nightly

* Remove ppv2 (source of truth is master)
  • Loading branch information
Théo Penavaire authored Apr 7, 2022
1 parent 9fcdbc8 commit 107fe47
Show file tree
Hide file tree
Showing 191 changed files with 3,984 additions and 3,909 deletions.
65 changes: 45 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_2022.1:
name: ABV (all PR jobs) on 2022.1
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{2022_1.changeset.id}}'
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-hdrp.yml#PR_HDRP_2022.1
rerun: on_new_revision
Expand All @@ -25,13 +25,28 @@ all_project_ci_2022.1:
rerun: on_new_revision
- path: .yamato/_abv.yml#General_Checks_2022.1
rerun: on_new_revision
graphics_repo_nightly_2022.1:
name: Graphics repo nightly on 2022.1
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{2022_1.changeset.id}}'
TEST_FILTER: .*
UTR_VERSION: "current"
triggers:
recurring:
- branch: 2022.1/staging
frequency: 1 * * ?

dependencies:
- path: .yamato/_templates.yml#all_template_ci_2022.1
rerun: on_new_revision
all_project_ci_nightly_2022.1:
name: Nightly on 2022.1
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{2022_1.changeset.id}}'
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/all-hdrp.yml#Nightly_HDRP_2022.1
rerun: on_new_revision
Expand All @@ -54,10 +69,10 @@ all_project_ci_nightly_2022.1:
General_Checks_2022.1:
name: General Checks on 2022.1
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{2022_1.changeset.id}}'
UTR_VERSION: "current"
TEST_FILTER: .*
CACHE_ARGS: '{{cache.flags}}'
UTR_VERSION: "current"
dependencies:
- path: .yamato/_projectcontext.yml#all_package_ci_project_2022.1
rerun: on_new_revision
Expand All @@ -68,10 +83,10 @@ General_Checks_2022.1:
Safety_net_2022.1:
name: Safety net on 2022.1
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{2022_1.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_2022.1
rerun: on_new_revision
Expand All @@ -82,10 +97,10 @@ Safety_net_2022.1:
Trunk_verification_2022.1:
name: Trunk verification on 2022.1
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{2022_1.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_2022.1
rerun: on_new_revision
Expand Down Expand Up @@ -124,10 +139,10 @@ Trunk_verification_2022.1:
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 @@ -139,13 +154,23 @@ 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
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 @@ -168,10 +193,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 @@ -182,10 +207,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 @@ -196,10 +221,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_2022.1.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 "[email protected]"
- git config --global user.email "[email protected]"
- git checkout $GIT_BRANCH
- python3 .yamato/script/editor_scripts/update_revisions.py --track 2022.1 --ono-branch $ONO_BRANCH_2022_1 --api-key $ONO_API_KEY --commit-and-push --nr-commits-to-retrieve 1
triggers:
recurring:
- branch: 2022.1/staging
frequency: 21 * * ?
Loading

0 comments on commit 107fe47

Please sign in to comment.