Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gmeghnag/pipelines-demo
Basic Tekton Pipeline with GitHub integration
https://github.com/gmeghnag/pipelines-demo
openshift-pipelines tekton
Last synced: 17 days ago
JSON representation
Basic Tekton Pipeline with GitHub integration
- Host: GitHub
- URL: https://github.com/gmeghnag/pipelines-demo
- Owner: gmeghnag
- Created: 2023-11-24T08:12:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-24T08:13:18.000Z (about 1 year ago)
- Last Synced: 2024-10-16T21:33:23.170Z (2 months ago)
- Topics: openshift-pipelines, tekton
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pipelines-demo
## How-to-reproduce
1. Create the needed resources (`Namespace`, `Task`, `Pipeline`, `EventListener`, `TriggerBinding`, `TriggerTemplate`, `Trigger`):
```sh
oc apply -k https://github.com/gmeghnag/pipelines-demo
```2. Expose the `EventListener` to create a `Route`:
```sh
oc expose svc/el-test-el -n pipelines-demo
```3. Execute an `HTTP` `POST` request to trigger a new `PipelineRun`:
```sh
curl -X POST -H "Content-Type: application/json" --data '{"repository": {"url": "test-url", "name": "test-reponame"}, "head_commit": {"id": "test-commit"}}' "http://$(oc get route el-test-el -n pipelines-demo -o jsonpath='{.spec.host}')"
```## Environment
```
$ tkn version
Client version: 0.31.0
Chains version: v0.16.0
Pipeline version: v0.47.4
Triggers version: v0.24.1
Operator version: v0.67.0$ oc get csv,sub -n openshift-operators
NAME DISPLAY VERSION REPLACES PHASE
clusterserviceversion.operators.coreos.com/openshift-pipelines-operator-rh.v1.11.1 Red Hat OpenShift Pipelines 1.11.1 SucceededNAME PACKAGE SOURCE CHANNEL
subscription.operators.coreos.com/openshift-pipelines-operator-rh openshift-pipelines-operator-rh redhat-operators pipelines-1.11
```