Skip to content

Commit

Permalink
testing feature
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Riobo <[email protected]>
  • Loading branch information
adrianriobo committed Sep 24, 2024
1 parent 83f2e39 commit c5393b9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
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
3 changes: 2 additions & 1 deletion snc-runner/tkn/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5393b9

Please sign in to comment.