openshift / pipelines-tutorial

A step-by-step tutorial showing OpenShift Pipelines
Apache License 2.0
298 stars 621 forks source link

Build Trigger when commiting change to git fails #118

Closed MarcoPortillo closed 3 years ago

MarcoPortillo commented 3 years ago

I am trying this tutorial, step by step, I did it all, my problem is that my project have a diferent namespace and not "pipelines-tutorial", I don't want to use this name, because I am already using this for a real project. I did change it when I added the PipelineRun:

image-registry.openshift-image-registry.svc:5000/<namespace-name>/vote-api:latest

and all the other steps run well. The problem is when I commit changes and try it to build it, it throws me this error:

image

what I can see here is that is using image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/vote-api:latest instead of my real namespace project, and already change it in all my other yaml files, I also checked the Dockerfile in both project (Vote-ui and Vote-api) and there is not pipelines-tutorial anywhere.

I also have this:

image

it is using the default pipelines-tutorial by default even if I changed it all. Maybe is there a place I forgot? I am very beginner with CD/CI, Docker.

Can you help me with this?

MarcoPortillo commented 3 years ago

I found the problem, I changed one of the yaml files but did not applied correctly.