From 6e115e0195bcff4f6917a550a9302f765697eae7 Mon Sep 17 00:00:00 2001 From: Scott Hebert Date: Mon, 3 Feb 2025 13:39:44 -0500 Subject: [PATCH] feat(RELEASE-1387): update versions and readme Signed-off-by: Scott Hebert --- tasks/managed/apply-mapping/README.md | 17 ++++++++++----- .../managed/apply-mapping/apply-mapping.yaml | 2 +- tasks/managed/collect-data/README.md | 21 ++++++++++++------- tasks/managed/collect-data/collect-data.yaml | 2 +- tasks/managed/reduce-snapshot/README.md | 21 ++++++++++++------- .../reduce-snapshot/reduce-snapshot.yaml | 2 +- .../verify-access-to-resources.yaml | 3 --- 7 files changed, 42 insertions(+), 26 deletions(-) diff --git a/tasks/managed/apply-mapping/README.md b/tasks/managed/apply-mapping/README.md index 0a2124106..b54fed8c5 100644 --- a/tasks/managed/apply-mapping/README.md +++ b/tasks/managed/apply-mapping/README.md @@ -25,11 +25,18 @@ You can also expand image labels, e.g. "{{ labels.mylabel }}" -> The value of im ## Parameters -| Name | Description | Optional | Default value | -|-------------------|----------------------------------------------------------------------------------------------|----------|---------------| -| snapshotPath | Path to the JSON string of the Snapshot spec in the config workspace to apply the mapping to | No | - | -| dataPath | Path to the JSON string of the merged data to use in the data workspace | No | - | -| failOnEmptyResult | Fail the task if the resulting snapshot contains zero components | Yes | false | +| Name | Description | Optional | Default value | +|-------------------------|-----------------------------------------------------------------------------------------------------------------------------|----------|---------------| +| snapshotPath | Path to the JSON string of the Snapshot spec in the config workspace to apply the mapping to | No | - | +| dataPath | Path to the JSON string of the merged data to use in the data workspace | No | - | +| failOnEmptyResult | Fail the task if the resulting snapshot contains zero components | Yes | false | +| ociStorage | The OCI repository where the Trusted Artifacts are stored. | No | - | +| ociArtifactExpiresAfter | Expiration date for the trusted artifacts created in the OCI repository. An empty string means the artifacts do not expire. | Yes | 1d | +| sourceDataArtifact | Location of trusted artifacts to be used to populate data directory | No | - | +| subdirectory | Subdirectory inside the workspace to be used | No | - | + +## Changes in 1.10.0 +* This task now supports Trusted artifacts ## Changes in 1.9.0 * support defaults for `contentGateway` diff --git a/tasks/managed/apply-mapping/apply-mapping.yaml b/tasks/managed/apply-mapping/apply-mapping.yaml index b7d448f75..3b33b9e97 100644 --- a/tasks/managed/apply-mapping/apply-mapping.yaml +++ b/tasks/managed/apply-mapping/apply-mapping.yaml @@ -4,7 +4,7 @@ kind: Task metadata: name: apply-mapping labels: - app.kubernetes.io/version: "1.9.0" + app.kubernetes.io/version: "1.10.0" annotations: tekton.dev/pipelines.minVersion: "0.12.1" tekton.dev/tags: release diff --git a/tasks/managed/collect-data/README.md b/tasks/managed/collect-data/README.md index 388e66a9d..d0c8db2ab 100644 --- a/tasks/managed/collect-data/README.md +++ b/tasks/managed/collect-data/README.md @@ -18,14 +18,19 @@ should not be present in the Release data section). ## Parameters -| Name | Description | Optional | Default value | -|----------------------|----------------------------------------------------|----------|---------------| -| release | Namespaced name of the Release | No | - | -| releasePlan | Namespaced name of the ReleasePlan | No | - | -| releasePlanAdmission | Namespaced name of the ReleasePlanAdmission | No | - | -| releaseServiceConfig | Namespaced name of the ReleaseServiceConfig | No | - | -| snapshot | Namespaced name of the Snapshot | No | - | -| subdirectory | Subdirectory inside the workspace to be used. | Yes | - | +| Name | Description | Optional | Default value | +|-------------------------|-----------------------------------------------------------------------------------------------------------------------------|----------|---------------| +| release | Namespaced name of the Release | No | - | +| releasePlan | Namespaced name of the ReleasePlan | No | - | +| releasePlanAdmission | Namespaced name of the ReleasePlanAdmission | No | - | +| releaseServiceConfig | Namespaced name of the ReleaseServiceConfig | No | - | +| snapshot | Namespaced name of the Snapshot | No | - | +| subdirectory | Subdirectory inside the workspace to be used | No | - | +| ociStorage | The OCI repository where the Trusted Artifacts are stored. | No | - | +| ociArtifactExpiresAfter | Expiration date for the trusted artifacts created in the OCI repository. An empty string means the artifacts do not expire. | Yes | 1d | + +## Changes in 4.6.0 +* This task now supports Trusted artifacts ## Changes in 4.5.3 * Introduce new step to collect, print and record information about the git resolver metadata for the diff --git a/tasks/managed/collect-data/collect-data.yaml b/tasks/managed/collect-data/collect-data.yaml index 8e8ace930..628cb874a 100644 --- a/tasks/managed/collect-data/collect-data.yaml +++ b/tasks/managed/collect-data/collect-data.yaml @@ -4,7 +4,7 @@ kind: Task metadata: name: collect-data labels: - app.kubernetes.io/version: "4.5.3" + app.kubernetes.io/version: "4.6.0" annotations: tekton.dev/pipelines.minVersion: "0.12.1" tekton.dev/tags: release diff --git a/tasks/managed/reduce-snapshot/README.md b/tasks/managed/reduce-snapshot/README.md index e1799a8fc..00cceb801 100644 --- a/tasks/managed/reduce-snapshot/README.md +++ b/tasks/managed/reduce-snapshot/README.md @@ -4,10 +4,17 @@ Tekton task to reduce a snapshot to a single component based on the component th ## Parameters -| Name | Description | Optional | Default value | -|-------------------------------------|----------------------------------------------------------|----------|---------------| -| SNAPSHOT | String representation of Snapshot spec | No | - | -| SINGLE_COMPONENT | Single mode component enabled | No | - | -| SINGLE_COMPONENT_CUSTOM_RESOURCE | Custom Resource to query for built component in Snapshot | No | - | -| SINGLE_COMPONENT_CUSTOM_RESOURCE_NS | Namespace where Custom Resource is found | No | - | -| SNAPSHOT_PATH | The location to place the reduced Snapshot | No | - | +| Name | Description | Optional | Default value | +|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|----------|---------------| +| SNAPSHOT | String representation of Snapshot spec | No | - | +| SINGLE_COMPONENT | Single mode component enabled | No | - | +| SINGLE_COMPONENT_CUSTOM_RESOURCE | Custom Resource to query for built component in Snapshot | No | - | +| SINGLE_COMPONENT_CUSTOM_RESOURCE_NS | Namespace where Custom Resource is found | No | - | +| SNAPSHOT_PATH | The location to place the reduced Snapshot | No | - | +| ociStorage | The OCI repository where the Trusted Artifacts are stored. | No | - | +| ociArtifactExpiresAfter | Expiration date for the trusted artifacts created in the OCI repository. An empty string means the artifacts do not expire. | Yes | 1d | +| sourceDataArtifact | Location of trusted artifacts to be used to populate data directory | No | - | +| subdirectory | Subdirectory inside the workspace to be used | No | - | + +## Changes in 0.2.0 +* This task now supports Trusted artifacts diff --git a/tasks/managed/reduce-snapshot/reduce-snapshot.yaml b/tasks/managed/reduce-snapshot/reduce-snapshot.yaml index 207d93ac8..25a0fc47d 100644 --- a/tasks/managed/reduce-snapshot/reduce-snapshot.yaml +++ b/tasks/managed/reduce-snapshot/reduce-snapshot.yaml @@ -4,7 +4,7 @@ kind: Task metadata: name: reduce-snapshot labels: - app.kubernetes.io/version: "0.1.0" + app.kubernetes.io/version: "0.2.0" annotations: tekton.dev/pipelines.minVersion: "0.12.1" tekton.dev/tags: release diff --git a/tasks/managed/verify-access-to-resources/verify-access-to-resources.yaml b/tasks/managed/verify-access-to-resources/verify-access-to-resources.yaml index 79136f29e..5dc22ac9f 100644 --- a/tasks/managed/verify-access-to-resources/verify-access-to-resources.yaml +++ b/tasks/managed/verify-access-to-resources/verify-access-to-resources.yaml @@ -31,9 +31,6 @@ spec: description: Whether internal services are required type: string default: "false" - - name: ociStorage - description: The OCI repository where the Trusted Artifacts are stored. - type: string steps: - name: verify-access-to-resources image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f