Skip to content

Instantly share code, notes, and snippets.

@dibyom
Last active January 23, 2020 19:28
Show Gist options
  • Save dibyom/93b8455ee18e496d408ec4ef51d2b476 to your computer and use it in GitHub Desktop.
Save dibyom/93b8455ee18e496d408ec4ef51d2b476 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -x
kubectl apply -f https://github.com/tektoncd/triggers/releases/download/v0.1.0/release.yaml
kubectl delete triggerbindings --all
kubectl delete triggertemplates --all
kubectl delete eventlisteners --all
git checkout upstream/v0.1.0
kubectl apply -f examples/triggerbindings
kubectl apply -f examples/triggertemplates
kubectl apply -f examples/eventlisteners/eventlistener.yaml
### Now install new versions/run your tests etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment