Simple CI/CD with Tekton and the Tekton webhooks extension
Adam Roberts, IBM
© 2019 All Rights Reserved.
1
Disclaimer!
What we’re working on is a big work in progress – come and contribute!
© 2019 All Rights Reserved.
2
Picture With Caption Subtitle
© 2019 All Rights Reserved.
3
What’s in store for you today?
Install Tekton Dashboard and Webhooks Extension
Import Tekton Task and Pipeline Definitions
Create secrets
Push code
Observe results via the Tekton Dashboard
© 2019 All Rights Reserved.
4
Installing the Tekton Dashboard
© 2019 All Rights Reserved.
5
Installing the Webhooks Extension
Warning: this part is still experimental!
© 2019 All Rights Reserved.
6
Tekton Dashboard benefits
Monitoring
Creating
Easy to install and set up
Tested on
Active development
© 2019 All Rights Reserved.
7
© 2019 All Rights Reserved.
8
© 2019 All Rights Reserved.
9
What kind of Pipelines can we run with webhooks?
Resource name restrictions apply
Git source named: git-source
Docker image named: docker-image
© 2019 All Rights Reserved.
10
Tekton secrets made easy
© 2019 All Rights Reserved.
11
Webhook creation
© 2019 All Rights Reserved.
12
Importing access tokens
© 2019 All Rights Reserved.
13
A webhook triggered simple pipeline
© 2019 All Rights Reserved.
14
Resources created
* In a namespace of your choice, running under a service account of your choosing
© 2019 All Rights Reserved.
15
Demo!
© 2019 All Rights Reserved.
16
What’s next?
Dashboard
Webhooks extension
© 2019 All Rights Reserved.
17
Bonus slide
© 2019 All Rights Reserved.
18
© 2019 All Rights Reserved.
19