Assuming you are logged in to an OpenShift/Kubernetes cluster, run
make clean build localIf the pipeline service account isn't already created, here are the steps to create the same:
oc create serviceaccount pipeline
oc adm policy add-scc-to-user privileged -z pipeline
oc adm policy add-role-to-user edit -z pipelineIf your Build's outputImage is to be pushed to the OpenShift internal registry, ensure the
pipeline service account has the required role:
oc policy add-role-to-user registry-editor -z pipelineOr
oc policy add-role-to-user system:image-builder -z pipelineIn the near future, the above would be setup by the controller.
make clean && make build- This project uses Golang 1.20 and controller-gen v0.10.0.
- The controllers create/watch Tekton objects.
Please refer to the testing docs for more information about our test levels.