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

Mark failed Cypress test in Tekton as failure

I have integrated a Cypress test as a task in Tekton Pipeline. Issue that I am experiencing is that Cypress sometimes even if there is failed test it is marked by Tekton as success. Is there a way to tell Tekton to mark it as failure if Cypress have…
0
votes
0 answers

how to prevent duplicate running in tekton

Currently I am running tekton's pipeline as a scheduler. I want to prevent execution of the same pipeline if the pipeline is running. Advice please The order of tasks is as follows. git-clone maven-build Build push harbor update mainfest
raboy
  • 1
  • 1
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

kubectl deploy from within kubernetes container

How do you deploy from within Kubernetes container - using CI/CD? Senario: I am building within Kubernetes using Kaniko Now how to run kubectl within Kuberneters. And I do have the right serviceAccount for it. First problem is to have a container…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
0
votes
0 answers

tkn - could not find the requested resource

Running these examples, when getting to: tkn pipelinerun logs hello-goodbye-run -f -n default I get this error: Error: the server could not find the requested resource (get pipelineruns.tekton.dev hello-goodbye-run) The pipeline is there: kubectl…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
0
votes
0 answers

ERROR: failed to export: determining entrypoint: tried to set web to default but it doesn't exist

I want to build a image for a vue project in tekton buildpacks, and an error has occurred in step EXPORTING : ERROR: failed to export: determining entrypoint: tried to set web to default but it doesn't exist i want to build a image for a vue…
maym
  • 1
0
votes
1 answer

Pod ephemeral local storage usage exceeds the total limit of containers

All the pods started by my Tekton Pipelines get evicted by kubernetes because of the following reason: Pod ephemeral local storage usage exceeds the total limit of containers 0. I do not use ephemeral storage and therefore I haven't set a value. How…
BugsBuggy
  • 115
  • 1
  • 9
0
votes
2 answers

Tekton YAML TriggerTemplate - string substitution

I have this kind of yaml file to define a trigger ` apiVersion: triggers.tekton.dev/v1alpha1 kind: TriggerTemplate metadata: name: app-template-pr-deploy spec: params: - name: target-branch - name: commit - name: actor - name:…
jerelev
  • 1
  • 4
0
votes
2 answers

How to emit result in Tekton with python script?

I my Tekton pipeline I want to emit a result so that $(results.myresult) can be used in the next pipeline task. The code looks like this: apiVersion: tekton.dev/v1beta1 kind: Task name: foo namespace: bar ... spec: results: - name:…
BugsBuggy
  • 115
  • 1
  • 9
0
votes
1 answer

I am receiving an error "no clustertask found" when I check using the command "tkn clustertask ls" in tekton pipeline

It seems I don't have the operators such as "buildah, git-clone" How can I install them in openshift?
anonymous
  • 1
  • 2
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

Java and Selenium: Randomly unable to find selectors that are visible

My test suite experiences random trouble when running in a Tekton environment. Locally, there are no problems. The most annoying problem is when it claims to not find a selector, and the Cucumber run screenshot shows that the selector is indeed…
user9347168
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
0
votes
1 answer

How to copy a container image from the internal registry to an external registry in an OpenShift/Tekton context

I just want to create a simple Tekton pipeline on OpenShift (v4) using the Tekton operator. My pipeline consists in the following operations: fetch a given git repository, build a nodejs application with the s2i-nodejs Tekton task, copy the…
0
votes
2 answers

How to write a tekton result api example call

I'd like to query the results of taskruns from tektoncd result api, but I have a hard time putting the query together. Can you help me, please? I've completed the steps at https://github.com/tektoncd/results/blob/main/docs/install.md Not sure how a…
Zsolti Vagyok
  • 55
  • 1
  • 6