Skip to content

Commit fde06e2

Browse files
authored
Package Signature on CI (#5923)
As part of the package signing initiative, we'd like bundled packages to be prepared for upcoming constraints regarding the need to have packages with a valid signature during APV testing. Because of this, we are going through all bundled packages' repositories creating a PR that would enable package signing on your packages. With signing enabled, upm-ci will perform an extra step where it will send each package to a signing service and then generate the final signed artifacts. Internally, in an attempt to ensure that everything works, we are running yamato tests where all bundled packages (including yours) are signed and validated, proving that the packages in this repository should yield no errors. The validation step is also performed in all platforms. In the case that any error does arise, this can be simply reverted back by removing the environment variable, UPMCI_ENABLE_PACKAGE_SIGNING in the publishing jobs. For more information, please refer to: https://confluence.unity3d.com/display/PAK/Package+Signature You can contact us through: #team-pkd-176-internal-package-signing @cassandra & @FelipeMunoz
1 parent d1a6ea2 commit fde06e2

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.yamato/postprocessing_publish.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,6 @@ test_platforms:
5454

5555
{{ name }}_test_trigger:
5656
name: {{ name }} - Tests Trigger
57-
agent:
58-
type: Unity::VM
59-
image: package-ci/win10:stable
60-
flavor: b1.large
61-
commands:
62-
- dir
63-
artifacts:
64-
logs:
65-
paths:
66-
- "upm-ci~/test-results/**/*"
67-
packages:
68-
paths:
69-
- "upm-ci~/packages/**/*"
7057
dependencies:
7158
- .yamato/postprocessing_publish.yml#{{ name }}_pack
7259
{% for editor in test_editors %}
@@ -81,6 +68,8 @@ test_platforms:
8168
type: Unity::VM
8269
image: package-ci/win10:stable
8370
flavor: b1.large
71+
variables:
72+
UPMCI_ENABLE_PACKAGE_SIGNING: 1
8473
commands:
8574
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
8675
- upm-ci package publish --package-path com.unity.postprocessing
@@ -103,6 +92,8 @@ test_platforms:
10392
type: Unity::VM
10493
image: package-ci/win10:stable
10594
flavor: b1.large
95+
variables:
96+
UPMCI_ENABLE_PACKAGE_SIGNING: 1
10697
commands:
10798
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
10899
- upm-ci package publish --dry-run --package-path com.unity.postprocessing

0 commit comments

Comments
 (0)