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

How to create a Tekton pipeline for Azure Landing Zone using GitHub source code?

I want to create Tekton pipeline for Azure Landing Zone, I have my source code in the GitHub repo. Here is my task.yaml apiVersion: tekton.dev/v1beta1 kind: Task metadata: name: tektonpipeline spec: params: - name: working-dir …
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

How to use single eventlistener for multiple tekton pipelines?

I'd like to have single eventlistener that would trigger different pipelines based on the git repo name.
Gas
  • 17,601
  • 4
  • 46
  • 93
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
1 answer

Tekton git-clone task is not found even though I see it in tkn task ls

I have installed tkn cli and installed 0.8 version of git-clone using this command: kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.8/git-clone.yaml However, when i run the pipeline, i get the following…
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

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
0
votes
0 answers

helm install tekton cdf/tekton-pipeline fails with INSTALLATION FAILED no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"

I am trying to install tekton helm chart into my local K8s cluster created by Kind on Windows 10. I run the following command helm install tekton cdf/tekton-pipeline and it fails with Error: INSTALLATION FAILED: unable to build kubernetes objects…
Alexey Auslender
  • 402
  • 5
  • 18
0
votes
1 answer

How do I use a custom container image in a Tekton step?

I'm new to Tekton and Tekton Pipelines. The examples I found use standard container images in the Tekton task steps. For example, the following step uses a standard ubuntu container to run a shell script: steps: - name: test-step …
Geoff Alexander
  • 419
  • 5
  • 13
0
votes
1 answer

Is it possible to set Tekton PipelineRun history in OpenShift?

I am currently seeing only the last 5 pipeline runs in openshift. As I am not an administrator of openshift at my company I dont have insight if this was configured or not and could not find an answer googling this. So here my questions go: Can I…
René Jahn
  • 1,155
  • 1
  • 10
  • 27
0
votes
0 answers

Installing tekton encountered forbidden message

I am trying to install Tekton. But upon trying to install the dashboard I have encountered an error "forbidden". I would like to install task, pipeline, and triggers
anonymous
  • 1
  • 2