https://github.com/cappyzawa/tekton-pipeline-local
https://github.com/cappyzawa/tekton-pipeline-local
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cappyzawa/tekton-pipeline-local
- Owner: cappyzawa
- Created: 2019-07-17T10:59:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-17T19:18:01.000Z (almost 6 years ago)
- Last Synced: 2025-01-05T11:28:20.438Z (4 months ago)
- Language: Makefile
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tekton-pipeline-local
Running [tektoncd/pipeline: A K8s\-native Pipeline resource\.](https://github.com/tektoncd/pipeline) on Docker for mac.## Settings
### Grant cluster-admin to current user
```bash
$ kubectl create clusterrolebinding cluster-admin-binding \
--clusterrole=cluster-admin \
--user=$USER
```### Adding the Tekton Pipelines
```bash
$ curl -L https://github.com/tektoncd/pipeline/releases/download/v0.5.2/release.yaml | kubectl apply -f -
``````bash
$ kubectl get pods --namespace tekton-pipelines
```(optional) set context
```bash
$ kubectl config set-context docker-for-desktop/tekton-pipelines --cluster=docker-for-desktop-cluster --user=docker-for-desktop --namespace=tekton-pipelines
```### Install requirements
See [Requirements](https://github.com/tektoncd/pipeline/blob/master/DEVELOPMENT.md#requirements)### Setting insecure registry
See [Known good configuration](https://github.com/tektoncd/pipeline/blob/master/docs/tutorial.md)### Install Tekton Dashboard
```bash
$ git clone https://github.com/tektoncd/dashboard && cd dashboard
$ kubectl apply -f config/release/gcr-tekton-dashboard.yaml
```### Preparing run locally
```bash
$ make start
```DockerRegistry: http://localhost:5000
DockerRegistryUI: http://localhost:8080
TektonDashboard: http://localhost:9097### Running [Tutorial](https://github.com/tektoncd/pipeline/blob/master/docs/tutorial.md)
#### [Task](https://github.com/tektoncd/pipeline/blob/master/docs/tutorial.md#task)
```bash
$ kubectl apply -f examples/task.yaml
```#### [Task Inputs and Outputs](https://github.com/tektoncd/pipeline/blob/master/docs/tutorial.md#task-inputs-and-outputs)
```bash
$ kubectl apply -f examples/task_inputs_and_outputs.yaml
```#### [Pipeline](https://github.com/tektoncd/pipeline/blob/master/docs/tutorial.md#pipeline)
```bash
$ kubectl apply -f examples/pipeline.yaml
```