spinnaker / roer

A thin Spinnaker CLI
Apache License 2.0
45 stars 45 forks source link

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

Open KeisukeYamashita opened 6 years ago

KeisukeYamashita commented 6 years ago

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