Skip to content

Pipeline template publish with webhook trigger isn`t working #40

@KeisukeYamashita

Description

@KeisukeYamashita

How can I write webhook trigger pipeline with yml?
Am I making in yml or something wrong in spinnaker or roer?

It always be blank. I used pipeline save command.

My template.yml is here.
I created this yml by running roer pipeline convert and created a yml file from the output..

This is the pipeline a used to create a yml output.

image

I ran

env SPINNAKER_API=http://localhost:8084 go run cmd/hank/main.go pipeline-template convert testappfromgui webhooktrigger

The output is here.

configuration:
  concurrentExecutions:
    limitConcurrent: true
    parallel: false
  triggers:
  - enabled: true
    name: unnamed0
    payloadConstraints:
      tag: .*
    source: webhook
    type: webhook
id: testappfromgui-webhooktrigger
metadata:
  description: This template does not have a description
  name: webhooktrigger
  owner: anonymous
  scopes:
  - testappfromgui
protect: false
schema: "1"
stages: []

I used this yml for pipeline-template publish and it is not working.
And the result on the UI is this.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions