Questions tagged [tekton-pipelines]

Tekton is a powerful and flexible open-source framework for creating CI/CD systems, allowing developers to build, test, and deploy across cloud providers and on-premise systems. https://tekton.dev/

95 questions
0
votes
0 answers

Is it possible to bind a workspace from within a Pipeline (and not a PipelineRun) or create a PipelineRun with bound workspaces using GUI?

I'd like to be able to start my pipeline which uses two workspaces using the Tekton dashboard (GUI) but from what I can see, there is no option to provide workspaces here. The only two options of creating a PipelineRun with bound workspaces I can…
johny.bravo
  • 77
  • 12
0
votes
2 answers

Is there any limit on Active eventListeners in a namespace on OKD

I have twenty different repositories for the twenty separate services to be deployed on an OKD cluster. I want to create separate eventListener for each repository/service. The first eventListener and all it's related components (Deployment, Pod,…
Ray
  • 41
  • 1
  • 9
0
votes
2 answers

Override Tekton global PipelineRun timeout

I have a problem where i need to trigger multiple Pipelinerun's at same time where the runs will take longer the 1 hour. The global timeout for the PipelineRun is 1 hours by default so it fails. The team managing the Openshift cluster does not want…
linkebon
  • 401
  • 1
  • 4
  • 12
0
votes
0 answers

OpenShift/Tekton - Retrieve build artefacts from s2i-java task

Is there a way to retrieve the build artefacts from a s2i build, so I can send it along to SonarQube in a pipeline? Just trying to simplify a pipeline as to not build twice. SonarQube code quality for Java requires the jars to be sent but s2i seems…
TedEllis
  • 66
  • 6
0
votes
1 answer

Tekton build Docker image with Kaniko - please provide a valid path to a Dockerfile within the build context with --dockerfile

I am new to Tekton (https://tekton.dev/) and I am trying to Clone the repository Build a docker image with the Dockerfile I have a Tekton pipeline and when I try to execute it, I get the following error: Error: error resolving dockerfile path:…
Jananath Banuka
  • 2,951
  • 8
  • 57
  • 105
0
votes
2 answers

Bitbucket Cloud interceptor for Tekton EventListener

I'm creating an eventlisterner for my repo on Bitbucket Cloud and saw on the curent example on the Tekton documentation that the Bitbucket interceptor only support Bitbucket Server. I've created the eventlistener and looks like this: --- apiVersion:…
0
votes
2 answers

Manage multiple service account for each task in pipeline tekton CI/CD

I have setup the pipeline that does the below work Clone the repo -- has its own secret and service account Build the application -- There are some java libraries that are published in google cloud artifact registry gradle.build repositories { …
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
0
votes
1 answer

Gradle build failed in Tekton CI/CD

I have below pipeline task for Gradle build, which clones the project from bitbucket repo and try to build the application. tasks: - name: clone-repository taskRef: name: git-clone workspaces: - name: output …
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
0
votes
0 answers

tekton & buildpack: certificate signed by unknown authority

I've deployed a local docker registry. It uses a self-signed certificate. When I'm trying to run buildpacks task, I'm getting this message: x509: certificate signed by unknown authority I've took a look on documentation, about how to add my docker…
Jordi
  • 20,868
  • 39
  • 149
  • 333
0
votes
1 answer

why tekton execution unit is pod, not a container?

Currently I am using Jenkins on kubernetes and wanted to migrate to tekton because trying achieve CI steps as a code (similar to Helm chart for CD steps). Just wondering about Tekton architecture - why every task creates different pod rather than…
Ashish Kumar
  • 524
  • 6
  • 18
0
votes
1 answer

Tekton on EKS how to work with zones when using volumeClaim?

Update 2022-03-22: I could isolate the problem to the Cluster Autoscaler and not enough pod "slots" left on a node. No solution still. For a detailed analysis see https://github.com/tektoncd/pipeline/issues/4699 I have an EKS cluster running with…
user18275887
0
votes
1 answer

Tekton pipeline input: source code from local as tar file

Due to restriction on access for corporate git repository, I want to provide the source code as input (tar or zip file) to tekton. Can anyone guide me on how to achieve it.
himanshu_mps
  • 170
  • 12
0
votes
1 answer

Access Console of completed/failed tasks in Tekton

I am able to login into a taskrun pod as long as the task is being executed by: kubectl exec $POD_NAME /bin/bash However, if a task has failed or completed. I am unable to login by kubectl exec command, since it states, "cannot login to a completed…
zXi
  • 112
  • 7
0
votes
1 answer

Is it possible to have a sidecar persist across multiple tasks in a Tekton pipeline?

Tekton's build-in sidecar functionality allows you to define sidecars that will run alongside a single task and stop when the task completes. The specific use-case I'm concerned with is using a Docker-in-Docker sidecar to build an image in one task,…
Hilda Hay
  • 87
  • 3
0
votes
1 answer

Binding a Tekton Workspace directory to a VolumeMount

We have a Tekton pipeline from which we want to run our ReadyAPI test suites. We're using the official image from SmartBear (https://hub.docker.com/r/smartbear/ready-api-soapui-testrunner). The image requires that you bind the /project folder in the…