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

Tekton git-cli v0.4 escaping problems with eval and sed

We are currently experiencing failures of a (previously working) tekton pipeline, while updating a task (git-cli). Our goal: Clone as repo Update a single line in a single file Commit and push It seems to me, that the single quotes around our sed…
René Jahn
  • 1,155
  • 1
  • 10
  • 27
0
votes
1 answer

'Cache folder contains root-owned files' when deploying react app on openshift using Tekton

I am deploying the frontend of my react application on openshift 4.13 using tekton CI and this is my dockerfile # Use an official Node.js image as the base FROM node:alpine # Set the working directory in the container WORKDIR /app RUN npm cache…
0
votes
1 answer

ibmcloud cr login inside pipeline

Want to login to container registry (so I can use buildah to deploy on IBM Cloud), using the following task (others removed for simplicity): - name: login1 taskRef: name: ibmcloud params: - name: ARGS value: - "login" -…
Yahya
  • 3,386
  • 3
  • 22
  • 40
0
votes
1 answer

Tekton: debugging why a when-clause is evaluated as false

I created a very simple task that checks if the current branch on a git repo is a release branch apiVersion: tekton.dev/v1beta1 kind: Task metadata: name: check-git-remote-release-branches spec: params: - default: . description: The…
Otrebor
  • 416
  • 4
  • 12
0
votes
0 answers

Exception with google bigquery select query to get count of rows in tekton task

I am working on a tekton task to get the count of rows from bigquery table and assign it to a variable for further validation, I have written below query to get the results in tekton task but it is failing with some json…
0
votes
0 answers

Exception while making BigQuery call from java through tekton pipeline

I am working on tekton pipeline that calls my java code which will make calls to the bigquery database and get the response into excel formatted file. By referencing google docs I have created tekton task and java code but I am getting …
0
votes
0 answers

Tekton Pruning - Separate pipelineruns vs taskruns

I've installed Tekton Operator and Tekton Config as described here: https://tekton.dev/docs/operator/tektonconfig/ In the tektonconfig, it has a block like this: pruner: resources: - taskrun - pipelinerun keep: 3 …
Gary Turner
  • 189
  • 9
0
votes
0 answers

EWS API to send email using shell script

I am working on a tekton task to share test results as an attachment to the management team, when I went through tekton dev hub I could find sendMail task but I don't see an option to attach file to the…
0
votes
1 answer

Tekton and Terraform order of operation

Trying to use Tekton CI/CD along with Terraform for IaC (Infrastructure-as-Code). Did not find tutorial or resources online that explains how these two operate together. So I would appreciate explanations how they work together. In particular, this…
0
votes
0 answers

Tekton EventListener with securityContext

Is there a way to create a Tekton EventListener with a securityContext? I can't seem to find anything in the documentation for this and I'm unable to get one running in my environment because of the following error that shows up in the EventListener…
Gary Turner
  • 189
  • 9
0
votes
0 answers

How to generate or get buildId for taskrun in tekton?

How to get build number for each Taskrun of Tekton. Whenever we run a task run we can see various details in pod section but there is no specific way to get buildId. So I want to know if there is any standard way we can get buildId for each taskrun.
0
votes
1 answer

Tekton Dashboard OIDC

Is there a supported way to enable OIDC with Tekton dashboard? I found this link: https://medium.com/octo-technology-morocco/secure-authentication-to-tekton-dashboard-using-oidc-36de9b3f8a7d which describes a custom way of doing it. But I'd prefer…
Gary Turner
  • 189
  • 9
0
votes
0 answers

How to verify a cosign keyless signed image in OPA rego rules?

I need verify an keyless signed [using google mail] image in Tekton pipelies using OPA rego rules as task and download .sig file from the repository and varify the image. I am new to Open policy agent, so i am trying to do this task.
0
votes
0 answers

Failed to create task run pod ... : translating TaskSpec to Pod: Get "https://index.docker.io/v2/": dial tcp 34.205.13.154:443: i/o timeout

I am running tekton-pipeline v.0.45.0 in a Kubernetes cluster v1.26.2. When I run this task : apiVersion: tekton.dev/v1beta1 kind: Task metadata: name: hello spec: steps: - name: echo image: ubuntu script: | echo "hello" ->…
L.B
  • 1
  • 2
0
votes
1 answer

In tekton, how to set task resources in a pipeline definition?

I have a pipeline that references a task: --- apiVersion: tekton.dev/v1beta1 kind: Pipeline metadata: name: foo spec: tasks: - name: my-bar-task taskRef: name: bar-task bundle: ... That task has…
mab
  • 760
  • 4
  • 18