diff --git a/pipelines/push-disk-images-to-cdn/README.md b/pipelines/push-disk-images-to-cdn/README.md index 7252ec7c8..c13429297 100644 --- a/pipelines/push-disk-images-to-cdn/README.md +++ b/pipelines/push-disk-images-to-cdn/README.md @@ -20,6 +20,9 @@ Tekton Pipeline to push disk images to a cdn using pulp | taskGitUrl | The url to the git repo where the release-service-catalog tasks to be used are stored | Yes | https://github.com/konflux-ci/release-service-catalog.git | | taskGitRevision | The revision in the taskGitUrl repo to be used | No | - | +## Changes in 1.2.0 +* Add the task `update-cr-status` at the end of the pipeline to save all pipeline results + ## Changes in 1.1.0 * Add new reduce-snapshot task diff --git a/pipelines/push-disk-images-to-cdn/push-disk-images-to-cdn.yaml b/pipelines/push-disk-images-to-cdn/push-disk-images-to-cdn.yaml index d54484ed5..1eae1a29a 100644 --- a/pipelines/push-disk-images-to-cdn/push-disk-images-to-cdn.yaml +++ b/pipelines/push-disk-images-to-cdn/push-disk-images-to-cdn.yaml @@ -4,7 +4,7 @@ kind: Pipeline metadata: name: push-disk-images-to-cdn labels: - app.kubernetes.io/version: "1.1.0" + app.kubernetes.io/version: "1.2.0" annotations: tekton.dev/pipelines.minVersion: "0.12.1" tekton.dev/tags: release @@ -235,6 +235,26 @@ spec: workspace: release-workspace runAfter: - check-data-keys + - name: update-cr-status + params: + - name: resource + value: $(params.release) + - name: resultsDirPath + value: $(tasks.collect-data.results.resultsDir) + taskRef: + resolver: "git" + params: + - name: url + value: $(params.taskGitUrl) + - name: revision + value: $(params.taskGitRevision) + - name: pathInRepo + value: tasks/update-cr-status/update-cr-status.yaml + workspaces: + - name: data + workspace: release-workspace + runAfter: + - push-disk-images finally: - name: cleanup taskRef: