Skip to content

Commit

Permalink
Removed LWRP (#3051)
Browse files Browse the repository at this point in the history
* Removed LWRP

* Added changelog and upgrade guide.

* Fixed typo.

* Removed LWRP package.

* removed LWRP from automation scripts

* Removed lwrp and regenerated yml files

* removed other hooks to LWRP

* Updated readme file

* Reformatted UniversalRenderPipelineAsset file to pass validation.

* Run python .yamato/scripts/generate_ymls.py

* Edited the text.

Co-authored-by: Théo Penavaire <[email protected]>
Co-authored-by: Oleksandr Kokoshyn <[email protected]>
  • Loading branch information
3 people authored Apr 19, 2021
1 parent cb7a96a commit 7cb0837
Show file tree
Hide file tree
Showing 168 changed files with 134 additions and 1,769 deletions.
3 changes: 0 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,3 @@
/katana-ci/ @Unity-Technologies/gfx-sdets
/Tools/ @Unity-Technologies/gfx-sdets
/com.unity.testframework.graphics/ @Unity-Technologies/gfx-sdets

# LWRP (Legacy)
/com.unity.render-pipelines.lightweight/ @Unity-Technologies/universal-rp-team
1 change: 0 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ HDRP:

Universal:
- com.unity.render-pipelines.universal/**/*
- com.unity.render-pipelines.lightweight/**/*
- TestProjects/Universal*/**/*

Shader Graph:
Expand Down
262 changes: 0 additions & 262 deletions .yamato/_packages.yml

Large diffs are not rendered by default.

89 changes: 1 addition & 88 deletions .yamato/_preview_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ auto-version:
DISPLAY: ":0"
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci utils auto-version bump --package-path com.unity.render-pipelines.core --package-path com.unity.render-pipelines.universal --package-path com.unity.render-pipelines.high-definition --package-path com.unity.shadergraph --package-path com.unity.visualeffectgraph --package-path com.unity.render-pipelines.high-definition-config --package-path com.unity.render-pipelines.lightweight
- upm-ci utils auto-version bump --package-path com.unity.render-pipelines.core --package-path com.unity.render-pipelines.universal --package-path com.unity.render-pipelines.high-definition --package-path com.unity.shadergraph --package-path com.unity.visualeffectgraph --package-path com.unity.render-pipelines.high-definition-config
- upm-ci utils auto-version commit --push
- python3 ./Tools/standalone/templates_auto_bumper.py --template-name ./com.unity.template-hd --target-dependency com.unity.render-pipelines.high-definition
- python3 ./Tools/standalone/templates_auto_bumper.py --template-name ./com.unity.template-universal --target-dependency com.unity.render-pipelines.universal
Expand Down Expand Up @@ -48,7 +48,6 @@ promote_all_preview:
- .yamato/_preview_publish.yml#promote_shadergraph
- .yamato/_preview_publish.yml#promote_vfx
- .yamato/_preview_publish.yml#promote_config
- .yamato/_preview_publish.yml#promote_lwrp
promote_all_preview_project:
name: Promote all preview packages - nightly [project context]
dependencies:
Expand All @@ -58,7 +57,6 @@ promote_all_preview_project:
- .yamato/_preview_publish.yml#promote_shadergraph_project
- .yamato/_preview_publish.yml#promote_vfx_project
- .yamato/_preview_publish.yml#promote_config_project
- .yamato/_preview_publish.yml#promote_lwrp_project
wait_for_nightly:
name: Wait for nightly
dependencies:
Expand All @@ -81,9 +79,6 @@ wait_for_nightly:
- .yamato/_packages.yml#pack_config
- .yamato/_packages.yml#test_config_Win_trunk
- .yamato/_packages.yml#test_config_OSX_trunk
- .yamato/_packages.yml#pack_lwrp
- .yamato/_packages.yml#test_lwrp_Win_trunk
- .yamato/_packages.yml#test_lwrp_OSX_trunk
promote_core:
name: '[core] Preview - Production Promote'
agent:
Expand Down Expand Up @@ -576,85 +571,3 @@ promote_config_dry:
packages:
paths:
- "upm-ci~/packages/**/*"
promote_lwrp:
name: '[lwrp] Preview - Production Promote'
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
variables:
UPMCI_PROMOTION: 1
dependencies:
- .yamato/_packages.yml#pack_lwrp
- .yamato/_packages.yml#publish_lwrp
- .yamato/_packages.yml#test_lwrp_Win_trunk
- .yamato/_packages.yml#test_lwrp_OSX_trunk
commands:
- copy packages_temp\lwrp\upm-ci~\packages\packages.json upm-ci~\packages
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package promote --package-path com.unity.render-pipelines.lightweight
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
promote_lwrp_project:
name: '[lwrp] Preview - Production Promote [project context]'
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
variables:
UPMCI_PROMOTION: 1
dependencies:
- .yamato/_projectcontext.yml#pack_all_project
- .yamato/_projectcontext.yml#publish_lwrp_project
- .yamato/_projectcontext.yml#test_all_project_Win_trunk
- .yamato/_projectcontext.yml#test_all_project_OSX_trunk
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package promote --package-path com.unity.render-pipelines.lightweight
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
promote_lwrp_project_dry:
name: '[lwrp] Preview - Production Promote [project context] [dry run]'
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
variables:
UPMCI_PROMOTION: 1
dependencies:
- .yamato/_projectcontext.yml#pack_all_project
- .yamato/_projectcontext.yml#publish_lwrp_project_dry
- .yamato/_projectcontext.yml#test_all_project_Win_trunk
- .yamato/_projectcontext.yml#test_all_project_OSX_trunk
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package promote --package-path com.unity.render-pipelines.lightweight --dry-run
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
promote_lwrp_dry:
name: '[lwrp] Preview - Production Promote [dry run]'
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
variables:
UPMCI_PROMOTION: 1
dependencies:
- .yamato/_packages.yml#pack_lwrp
- .yamato/_packages.yml#publish_lwrp_dry
- .yamato/_packages.yml#test_lwrp_Win_trunk
- .yamato/_packages.yml#test_lwrp_OSX_trunk
commands:
- copy packages_temp\lwrp\upm-ci~\packages\packages.json upm-ci~\packages
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package promote --package-path com.unity.render-pipelines.lightweight --dry-run
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
36 changes: 0 additions & 36 deletions .yamato/_projectcontext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,40 +54,6 @@ publish_core_project_dry:
packages:
paths:
- "upm-ci~/packages/**/*"
publish_lwrp_project:
name: Publish Lightweight [project context]
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
dependencies:
- .yamato/_projectcontext.yml#pack_all_project
- .yamato/_projectcontext.yml#test_all_project_Win_trunk
- .yamato/_projectcontext.yml#test_all_project_OSX_trunk
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package publish --package-path com.unity.render-pipelines.lightweight
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
publish_lwrp_project_dry:
name: Publish Lightweight [project context] [dry run]
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
dependencies:
- .yamato/_projectcontext.yml#pack_all_project
- .yamato/_projectcontext.yml#test_all_project_Win_trunk
- .yamato/_projectcontext.yml#test_all_project_OSX_trunk
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package publish --package-path com.unity.render-pipelines.lightweight --dry-run
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
publish_shadergraph_project:
name: Publish ShaderGraph [project context]
agent:
Expand Down Expand Up @@ -404,7 +370,6 @@ publish_all_project:
name: Publish all packages [project context][recurrent]
dependencies:
- .yamato/_projectcontext.yml#publish_core_project
- .yamato/_projectcontext.yml#publish_lwrp_project
- .yamato/_projectcontext.yml#publish_shadergraph_project
- .yamato/_projectcontext.yml#publish_hdrp_project
- .yamato/_projectcontext.yml#publish_universal_project
Expand All @@ -418,7 +383,6 @@ publish_all_project_tag:
flavor: b1.large
dependencies:
- .yamato/_projectcontext.yml#publish_core_project
- .yamato/_projectcontext.yml#publish_lwrp_project
- .yamato/_projectcontext.yml#publish_shadergraph_project
- .yamato/_projectcontext.yml#publish_hdrp_project
- .yamato/_projectcontext.yml#publish_universal_project
Expand Down
9 changes: 0 additions & 9 deletions .yamato/config/_packages.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ packages:
packagename: com.unity.render-pipelines.core
dependencies:
- core
- name: Lightweight
id: lwrp
packagename: com.unity.render-pipelines.lightweight
dependencies:
- core
- shadergraph
- universal
- lwrp
hascodependencies: 1
- name: ShaderGraph
id: shadergraph
packagename: com.unity.shadergraph
Expand Down
5 changes: 0 additions & 5 deletions .yamato/config/_preview_publish.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,5 @@ packages:
type: package
publish_source: true
standalone: true
- name: lwrp
path: com.unity.render-pipelines.lightweight
type: package
publish_source: true
standalone: false
agent_promote: package_ci_win_large
agent_auto_version: package_ci_ubuntu_large
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"com.unity.render-pipelines.core",
"com.unity.render-pipelines.high-definition",
"com.unity.render-pipelines.high-definition-config",
"com.unity.render-pipelines.lightweight",
"com.unity.render-pipelines.universal",
"com.unity.visualeffectgraph"
]
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ com.unity.render-pipelines.high-definition | [![](https://badge-proxy.cds.intern
com.unity.render-pipelines.high-definition-config | [![](https://badge-proxy.cds.internal.unity3d.com/89664583-2f3c-4a61-a1fa-a9daea037b2e)](https://badges.cds.internal.unity3d.com/packages/com.unity.render-pipelines.high-definition-config/build-info?branch=master) [![](https://badge-proxy.cds.internal.unity3d.com/3ed117a7-740c-4ef1-a280-c97221742a1e)](https://badges.cds.internal.unity3d.com/packages/com.unity.render-pipelines.high-definition-config/dependencies-info?branch=master) [![](https://badge-proxy.cds.internal.unity3d.com/ab12a6a1-17e5-478f-9916-7cfe77f2dbbb)](https://badges.cds.internal.unity3d.com/packages/com.unity.render-pipelines.high-definition-config/dependants-info) [![](https://badge-proxy.cds.internal.unity3d.com/2421fdd2-bda0-492f-bcdf-ce764b64d58e)](https://badges.cds.internal.unity3d.com/packages/com.unity.render-pipelines.high-definition-config/warnings-info?branch=master) ![ReleaseBadge](https://badge-proxy.cds.internal.unity3d.com/59fd14b1-3fc2-49e4-bf24-950f1482323f) ![ReleaseBadge](https://badge-proxy.cds.internal.unity3d.com/d0fb96fc-6ff8-45a8-a317-ec19f30894cc)
com.unity.shadergraph | [![](https://badge-proxy.cds.internal.unity3d.com/ad6f7b2b-97ec-46c5-8539-9b70e8c30bb5)](https://badges.cds.internal.unity3d.com/packages/com.unity.shadergraph/build-info?branch=master) [![](https://badge-proxy.cds.internal.unity3d.com/067b8f44-3f3a-4925-8462-996ffbe41662)](https://badges.cds.internal.unity3d.com/packages/com.unity.shadergraph/dependencies-info?branch=master) [![](https://badge-proxy.cds.internal.unity3d.com/7e1ee3c6-0477-4076-a2af-3376ead10421)](https://badges.cds.internal.unity3d.com/packages/com.unity.shadergraph/dependants-info) [![](https://badge-proxy.cds.internal.unity3d.com/9ce9cc97-b89d-4a2a-98c2-d1a1d2d0277e)](https://badges.cds.internal.unity3d.com/packages/com.unity.shadergraph/warnings-info?branch=master) ![ReleaseBadge](https://badge-proxy.cds.internal.unity3d.com/e2171d56-50c8-4803-964c-a63dcc728355) ![ReleaseBadge](https://badge-proxy.cds.internal.unity3d.com/30fe71f1-5838-4bf9-84eb-26a42320e4a2)
com.unity.visualeffectgraph | [![](https://badge-proxy.cds.internal.unity3d.com/0fbfa6fc-2faf-4689-a3e7-fca736ab23cb)](https://badges.cds.internal.unity3d.com/packages/com.unity.visualeffectgraph/build-info?branch=master) [![](https://badge-proxy.cds.internal.unity3d.com/6606630d-31a9-4af5-b63c-25272411c381)](https://badges.cds.internal.unity3d.com/packages/com.unity.visualeffectgraph/dependencies-info?branch=master) [![](https://badge-proxy.cds.internal.unity3d.com/c10f50c2-2a79-4d0a-a763-54dcb40d027f)](https://badges.cds.internal.unity3d.com/packages/com.unity.visualeffectgraph/dependants-info) [![](https://badge-proxy.cds.internal.unity3d.com/823df233-071e-4ceb-a39f-b810d7fe6fe1)](https://badges.cds.internal.unity3d.com/packages/com.unity.visualeffectgraph/warnings-info?branch=master) ![ReleaseBadge](https://badge-proxy.cds.internal.unity3d.com/59b6ec9b-c477-4767-82ba-d2390e70cede) ![ReleaseBadge](https://badge-proxy.cds.internal.unity3d.com/ae2fb4f5-43dc-4ad2-8c94-7190dbcdc132)
com.unity.render-pipelines.lightweight | [![](https://badge-proxy.cds.internal.unity3d.com/dabba5ea-621a-45b4-98e5-eecd6e3026a8)](https://badges.cds.internal.unity3d.com/packages/com.unity.render-pipelines.lightweight/build-info?branch=master) [![](https://badge-proxy.cds.internal.unity3d.com/3af4fced-c82d-4737-b37f-654c3d960b76)](https://badges.cds.internal.unity3d.com/packages/com.unity.render-pipelines.lightweight/dependencies-info?branch=master) [![](https://badge-proxy.cds.internal.unity3d.com/7e4aae95-2a9a-471c-a5f8-e8faf3675454)](https://badges.cds.internal.unity3d.com/packages/com.unity.render-pipelines.lightweight/dependants-info) [![](https://badge-proxy.cds.internal.unity3d.com/87242c39-da1e-49df-bcd5-c3aa8665b9f4)](https://badges.cds.internal.unity3d.com/packages/com.unity.render-pipelines.lightweight/warnings-info?branch=master) ![ReleaseBadge](https://badge-proxy.cds.internal.unity3d.com/679931b4-d19f-4788-90af-be45f40f3a11) ![ReleaseBadge](https://badge-proxy.cds.internal.unity3d.com/a11f872a-60e4-4a16-a3f7-4ac888bcd879)

## Using the latest version

Expand Down
1 change: 0 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def packages_list():
("com.unity.visualeffectgraph", os.path.join("com.unity.visualeffectgraph")),
("com.unity.render-pipelines.core", os.path.join("com.unity.render-pipelines.core")),
("com.unity.render-pipelines.universal", os.path.join("com.unity.render-pipelines.universal")),
("com.unity.render-pipelines.lightweight", os.path.join("com.unity.render-pipelines.lightweight")),
("com.unity.render-pipelines.high-definition", os.path.join("com.unity.render-pipelines.high-definition")),
("com.unity.render-pipelines.high-definition-config", os.path.join("com.unity.render-pipelines.high-definition-config")),
("com.unity.testing.visualeffectgraph", os.path.join("com.unity.testing.visualeffectgraph")),
Expand Down
1 change: 0 additions & 1 deletion com.unity.render-pipelines.lightweight/.npmignore

This file was deleted.

Loading

0 comments on commit 7cb0837

Please sign in to comment.