-
Story
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
2
-
False
-
None
-
False
-
SECFLOWOTL-140 - Konflux onboarding of Openshift Pipelines operator
-
-
-
3
-
Pipelines Sprint Pioneers 16
This issues tracks the initial work to be done to onboard manual-approval custom task on konflux.
- Repository: openshift-pipelines/manual-approval-gate/
- konflux resources present (application, components, test, …)
- tekton resources present (push/pull-request pipelinerun and pipelines)
- GitHub workflows present (update upstream, …)
Requirements
- Builds are green
- Ideally, tests are green (entreprise-contract) one
Â
Steps
1.Â
- Create a PR to hack
2.
- git clone https://github.com/openshift-pipelines/manual-approval-gate
- mkdir -p patches openshift/dockerfiles .tekton .github/workflows .konflux
- create readme in openshift
cat > openshift/README.md <<EOF Â # \`openshift\` specific files EOF
- create readme in konflux
cat > .konflux/README.md <<EOF  # \`konflux-ci\` manifests This folder contains [\`konflux-ci\`](konfluxci) configuration that is synced with the konflux-ci cluster.    [konfluxci]: https://konflux-ci.dev/ EOF
- touch openshift/dockerfiles/.placeholder patches/.placeholder .tekton/.placeholder .github/workflows/.placeholder
- git add -A
- git commit -s -m "Bootstrap the repository structure"
- git remote add xxx <foked_repo>
- git checkout -b <branch_name>
- git push xxx <branch_name>
- add GitHubApp `Red Hat Konflux`Â
- add openshift-pipelines-bot under collaborators and teams with write permission
- go to settings -> collaborators and teams
- sample PR: https://github.com/openshift-pipelines/pipelines-as-code/pull/1795
  Â
3.
- Write a dockerfile and send a PR to pac