Questions tagged [tekton]

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.

156 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
1 answer

Java Maven project refuses to build locally

I'll add more information as needed, since I'm not entirely sure where to start. So please, bear with me for a while. A running Java Maven project, which is in production and in use and running in a Tekton environment.. It's an end-2-end-framework…
user9347168
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
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
0 answers

Unable to push image using Tekton pipeline

I am trying to clone a simple, private, repo in GitLab, build an image and push it to the repo's container registry using a Tekton pipeline. I have configured a service account that refers to a secret that uses basic auth. The clone task works…
0
votes
0 answers

ECR and Buildah push task using Tekton

I would like to use the buildah task from Tekton hub in order to build and push to ECR. It seems like there's an issue with the ECR token provided in my previous task. You can see the error in the image below: "Error: writing blob: Post…
0
votes
1 answer

Not able to get deployments as ServiceAccount

I'm trying to access deployments in another namespace, and have the following ServiceAccount, ClusterRole, and ClusterRoleBinding apiVersion: v1 kind: ServiceAccount metadata: name: tekton-triggers-example-sa namespace:…
TMH
  • 6,096
  • 7
  • 51
  • 88
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
0 answers

error building stage: failed to get filesystem from image error in tekton pipeline

I'm working on a Tekton pipeline in a OpenShift k8s clusted, i want to build a Java application from a Dockerfile in kaniko and push to a private ECR registry. But i'm getting a weird error in the build step: [36mINFO[0m[0051] Retrieving image…
mxchxdx
  • 61
  • 1
  • 7
0
votes
1 answer

Authenticate private google cloud artifact registry from Tekton Pipeline

I have a local setup of Tekton Pipeline, which has task to clone and build application . The code base is on java so, clones the code from BitBucket and does a Gradle build. gradle.build repositories { mavenCentral() maven { url…
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
1 answer

terraform-cli : Duplicate value: "step-init". Maybe missing or invalid Task default/terraform-cli error

I've been attempting to use Tekton to deploy some AWS infrastructure via Terraform but not having much success. The pipeline clones a Github repo containing TF code , it then attempts to use the terraform-cli task to provision the AWS…
800711
  • 3
  • 2
0
votes
1 answer

Tekton pipeline conditional run

I have a pipeline with following tasks. - name: A taskRef: name: buildah-secondary-tag-task runAfter: - maven-prepare-package when: - input: "$(params.type)" operator: in values:…