Skip to content

Commit

Permalink
chore: add README section on how to test components based on PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Riobo <[email protected]>
  • Loading branch information
adrianriobo committed Sep 26, 2024
1 parent e35ba8c commit a278f2c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
```

## 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

0 comments on commit a278f2c

Please sign in to comment.