Skip to content

Commit

Permalink
Delete all unused CI configs (#8089)
Browse files Browse the repository at this point in the history
* [CI] [trunk] Updated editor to 987fc056da9f5838f095e2a8f365bab2ced7e858

* [CI] [trunk] Updated editor to b26a29229761f19f970e317e1293a20ce58aed3c

* [CI] [trunk] Updated editor to 16ab843503b1033c14ea1590bd2c1922b6ac1e8a

* Delete all unused CI configs

* Override CUSTOM-REVISION setter

* Fix wrong merge

* Tryfix template jobs

* Use correct bokken images across the board

* Add model for ppv2 osx jobs

* Simplify postprocessing jobs

* Fix ppv2 osx

* Tryfix editor location for ppv2 osx

---------

Co-authored-by: [email protected] <[email protected]>
  • Loading branch information
Théo Penavaire and [email protected] authored Aug 20, 2024
1 parent 3163bf4 commit 344fe7e
Show file tree
Hide file tree
Showing 28 changed files with 170 additions and 2,994 deletions.
23 changes: 2 additions & 21 deletions .yamato/_abv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
# 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 -%}

---

graphics_repo_nightly_trunk:
name: Templates and PPV2 on trunk
name: Graphics repo nightly on trunk on trunk
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
TEST_FILTER: .*
UTR_VERSION: "current"
triggers:
Expand All @@ -23,19 +20,3 @@ graphics_repo_nightly_trunk:
rerun: on_new_revision
- path: .yamato/all-postprocessing.yml#PostProcessing_trunk
rerun: on_new_revision
- path: .yamato/all-urp_template.yml#URP_Template_trunk
rerun: on_new_revision
graphics_repo_nightly_CUSTOM-REVISION:
name: Templates and PPV2 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
- path: .yamato/all-urp_template.yml#URP_Template_CUSTOM-REVISION
rerun: on_new_revision
2 changes: 0 additions & 2 deletions .yamato/_cache_config.metafile

This file was deleted.

35 changes: 0 additions & 35 deletions .yamato/_editor_pinning.yml

This file was deleted.

95 changes: 12 additions & 83 deletions .yamato/_editor_priming.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
# 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:priming:trunk:Win:
name: '[trunk,Win] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
Expand All @@ -27,37 +25,14 @@ editor:priming:trunk:Win:
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o windows --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
paths:
- "unity_revision.txt"
editor:priming:CUSTOM-REVISION:Win:
name: '[CUSTOM-REVISION,Win] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: custom_revision_not_set
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- 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
- unity-downloader-cli -u $CUSTOM_REVISION -o windows --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
unity_revision.zip:
paths:
- "unity_revision.txt"
editor:priming:test_min_editor:Win:
name: '[Min_Editor,Win] Editor priming'
agent:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
variables:
DISPLAY: ":0"
Expand All @@ -80,11 +55,11 @@ editor:priming:trunk:OSX:
name: '[trunk,OSX] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: '{{trunk.changeset.id}}'
CUSTOM_REVISION: 'trunk'
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
Expand All @@ -96,37 +71,14 @@ editor:priming:trunk:OSX:
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o macos --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
paths:
- "unity_revision.txt"
editor:priming:CUSTOM-REVISION:OSX:
name: '[CUSTOM-REVISION,OSX] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: custom_revision_not_set
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- 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
- unity-downloader-cli -u $CUSTOM_REVISION -o macos --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
unity_revision.zip:
paths:
- "unity_revision.txt"
editor:priming:test_min_editor:OSX:
name: '[Min_Editor,OSX] Editor priming'
agent:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
variables:
DISPLAY: ":0"
Expand All @@ -149,34 +101,11 @@ editor:priming:trunk:Linux:
name: '[trunk,Linux] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: '{{trunk.changeset.id}}'
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
commands:
- 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
- unity-downloader-cli -u $CUSTOM_REVISION -o linux --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
paths:
- "unity_revision.txt"
editor:priming:CUSTOM-REVISION:Linux:
name: '[CUSTOM-REVISION,Linux] Editor priming'
agent:
type: Unity::VM
image: desktop/ubuntu-22.04-desktop:v2.1165007
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
skip_checkout: true
variables:
CUSTOM_REVISION: custom_revision_not_set
CUSTOM_REVISION: 'trunk'
DISPLAY: ":0"
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
Expand All @@ -188,14 +117,14 @@ editor:priming:CUSTOM-REVISION:Linux:
- sudo apt install unity-downloader-cli
- unity-downloader-cli -u $CUSTOM_REVISION -o linux --wait --skip-download -c editor -c il2cpp > unity_revision.txt
artifacts:
revisions:
unity_revision.zip:
paths:
- "unity_revision.txt"
editor:priming:test_min_editor:Linux:
name: '[Min_Editor,Linux] Editor priming'
agent:
type: Unity::VM
image: package-ci/ubuntu-22.04:v4.30.0
image: package-ci/ubuntu-22.04:v4
flavor: b1.small
variables:
DISPLAY: ":0"
Expand Down
5 changes: 0 additions & 5 deletions .yamato/_latest_editor_versions_trunk.metafile

This file was deleted.

Loading

0 comments on commit 344fe7e

Please sign in to comment.