How to reuse steps in Tekton tasks with kustomize

Creating Tekton tasks is real fun! Its similarities to pod containers, and how it works make developing and testing super easy. Still, sometimes it is necessary to reuse steps in multiple tasks, like when using reviewdog. In this post, we will learn how to do this very easily using kustomize, and the repo danielfbm/tekton-tasks-kustomize has a ready-to-use example. Let’s say we want two different tasks golang-test and golangci-lint need to add a reviewdog-report step as seen below:...

May 22, 2022 · 4 min · danielfbm

My First Sonobuoy Contribution

While using Sonobuoy as our main test runner engine at Alauda we noticed a small issue and decided to contribute the patch: Sonobuoy will create Kubernetes RBAC ClusterRole and ClusterRoleBinding but will also destroy together with all the test data. This is ideal, but in the current implementation it will delete it globally affecting other parallel tests permissions, resulting in lots of permission failures. This Pull-request solves this issue by adding a test run namespace label to all Cluster resources, and make these resource names unique according to the namespace....

December 29, 2019 · 1 min · danielfbm

Sonobuoy v0.16.3

Here is the Official website link and the GitHub repo. Update: version v0.17.0 is available What is Sonobuoy? According to the website: Sonobuoy is a diagnostic tool that makes it easier to understand the state of a Kubernetes cluster by running a set of plugins (including Kubernetes conformance tests) in an accessible and non-destructive manner. It is a customizable, extendable, and cluster-agnostic way to generate clear, informative reports about your cluster....

December 14, 2019 · 2 min · danielfbm