From c5393b9cb13026bb36bdd334ab6237d7969031c3 Mon Sep 17 00:00:00 2001 From: Adrian Riobo Date: Tue, 24 Sep 2024 16:35:34 +0200 Subject: [PATCH] testing feature Signed-off-by: Adrian Riobo --- README.md | 16 +++++++++++++++- snc-runner/tkn/task.yaml | 3 ++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c21a2fe..c1117e4 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,18 @@ git tag crc-builder-v1.0.0 # Here the gh builder flow for the ci action will create oci image and bundle with tekton tasks git push upstream crc-builder-v1.0.0 # Change version on release-info to next version -``` \ No newline at end of file +``` + +## testing PRs + +Manually run make XXX-tkn-create, then; + +Typically PRs will be composed of images, tasks and pipelines: + +* Pipelines and tasks can use git resolver using the forked repo source for the PR +* Task which needs the image need to be updated with the ghcr image + +A testing commit can be done at very last part of the PR to test this customizations which then can be used +from a pipelinerun with a pipelineref to the forked repo source for the pr. + +If everything works just revert and dismiss latest commit and create a tag \ No newline at end of file diff --git a/snc-runner/tkn/task.yaml b/snc-runner/tkn/task.yaml index dd71978..459b228 100644 --- a/snc-runner/tkn/task.yaml +++ b/snc-runner/tkn/task.yaml @@ -77,7 +77,8 @@ spec: steps: - name: runner # quay.io/crc-org/ci-snc-runner and v2.0.0-dev values should be passed to the template - image: quay.io/crc-org/ci-snc-runner:v2.0.0-dev + # image: quay.io/crc-org/ci-snc-runner:v2.0.0-dev + image: ghcr.io/crc-org/ci-snc-runner:pr-29 imagePullPolicy: Always script: | #!/bin/bash