Skip to content

Commit

Permalink
feat(RELEASE-1387): update versions and readme
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Hebert <scoheb@gmail.com>
  • Loading branch information
scoheb committed Feb 12, 2025
1 parent f4fc16f commit 6e115e0
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 26 deletions.
17 changes: 12 additions & 5 deletions tasks/managed/apply-mapping/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion tasks/managed/apply-mapping/apply-mapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 13 additions & 8 deletions tasks/managed/collect-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tasks/managed/collect-data/collect-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 14 additions & 7 deletions tasks/managed/reduce-snapshot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tasks/managed/reduce-snapshot/reduce-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e115e0

Please sign in to comment.