This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link to getting started in tekton listener README
And move some of the instructions to DEVELOPMENT.md
- Loading branch information
1 parent
a69816c
commit 702e52a
Showing
2 changed files
with
32 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Tekton Listener development guide | ||
|
||
## Setup instructions | ||
|
||
```bash | ||
export KO_DOCKER_REPO='gcr.io/my-gcloud-project-name' | ||
ko apply -f config/ | ||
``` | ||
|
||
### Minikube | ||
|
||
To dev/test locally with minikube: | ||
|
||
* Get the `ko` command: `go get -u github.com/google/ko/cmd/ko` | ||
* Load your docker environment vars: `eval $(minikube docker-env)` | ||
* Start a registry: `docker run -it -d -p 5000:5000 registry:2` | ||
* Set `KO_DOCKER_REPO` to local registry: `export KO_DOCKER_REPO=localhost:5000/<myproject>` | ||
* Apply tekton components: `ko apply -L -f config/` | ||
* Create an EventBinding (such as the example above) and await cloud events. | ||
* The Listener that the EventBinding creates can be used as an Eventing sink. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters