This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
The CRD is not updating the StackId #395
Comments
@oiricaud you will need to specify |
Thank you @kvijai82 didn't realized I need to specify a comment or do you mean I need to replace Do you mean apiVersion: tekton.dev/v1alpha1
kind: TriggerBinding
metadata:
name: 'StackId'-mcm-pl-pullrequest-binding b) apiVersion: tekton.dev/v1alpha1
kind: TriggerBinding
metadata:
name: nodejs-mcm-pl-pullrequest-binding c) #Kabanero! on activate substitute StackId for text 'StackId'
apiVersion: tekton.dev/v1alpha1
kind: TriggerBinding
metadata:
name: StackId-mcm-pl-pullrequest-binding |
You can do either. If you want the pipeline you are writing to get
activated individually for all the stacks in your stackhub, adding that
comment will get you a separate pipeline for each stack with the `StackId`
replaced by the stack name. If you only want one instance of your pipeline
to be activated, you can just replace StackId in your pipeline name with
just nodejs or not specify a stack name at all if it applies to multiple
stacks.
…On Thu, Jun 4, 2020 at 12:11 PM Oscar Ricaud ***@***.***> wrote:
Thank you @kvijai82 <https://github.com/kvijai82> didn't realized I need
to specify a comment or do you mean I need to replace StackId with the
actual stack id i.e nodejs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#395 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBUMTKNFOZV2XGZC36QXB3RU7BSFANCNFSM4NSX3XKQ>
.
|
Glad it worked out!
…On Thu, Jun 4, 2020 at 1:09 PM Oscar Ricaud ***@***.***> wrote:
Closed #395 <#395>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#395 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBUMTLG2X54WYVBNNG75S3RU7ILJANCNFSM4NSX3XKQ>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Kabanero: 0.6.1
In the docs we can see
"When the product operator activates the CRD, it associates the pipelines in the pipelines archive with each of the stacks in the stack hub. The default pipelines are intended to work with all the stacks in the stack hub in the previous example. All of the pipeline-related resources (such as the tasks, trigger bindings, and pipelines) prefix the name of the resource with the keyword StackId. When the operator activates these resources, it replaces the keyword with the name of the stack it is activating."
But upon creating a new pipeline resource such as
I get
It appears the Regex only accepts lower case letters.
I added a new pipeline object with id
nodejs-mcm
in my CRDI am not sure if this is a bug or if I am missing a step, but it appears the operator is not activating these resources nor replacing the keyword name with the stack id.
I merely edited the
kabanero.yaml
file and changed the version and included the sha256The text was updated successfully, but these errors were encountered: