Skip to content

Commit

Permalink
Merge pull request #15 from CircleCI-Public/fix_build
Browse files Browse the repository at this point in the history
Fix build and example due to webhook-endpoint param type change
  • Loading branch information
lokst authored Oct 10, 2019
2 parents b7db623 + c76901c commit 2e505c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ jobs:
command: |
spin application list
- spinnaker/trigger-pipeline-with-webhook:
webhook-endpoint: "http://localhost:8084/webhooks/webhook/myappwebhook"
payload: "{\\\"status\\\": \\\"success\\\", \\\"jobid\\\": \\\"$CIRCLE_WORKFLOW_JOB_ID\\\", \\\"message\\\": \\\"I've got it\\\"}"
- spinnaker-test/verify-pipeline-execution:
app-name: myapp
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
# Send a request to a webhook endpoint pre-configured in Spinnaker
# Ref: https://www.spinnaker.io/guides/user/pipeline/triggers/webhooks/
- spinnaker/trigger-pipeline-with-webhook:
# Example env var value: "http://localhost:8084/webhooks/webhook/myappwebhook"
webhook-endpoint: SPINNAKER_WEBHOOK
payload: "{\\\"status\\\": \\\"success\\\", \\\"jobid\\\": \\\"$CIRCLE_WORKFLOW_JOB_ID\\\", \\\"message\\\": \\\"I've got it\\\"}"
workflows:
example-workflow:
Expand Down
3 changes: 2 additions & 1 deletion src/examples/trigger-pipeline-with-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ usage:
# Send a request to a webhook endpoint pre-configured in Spinnaker
# Ref: https://www.spinnaker.io/guides/user/pipeline/triggers/webhooks/
- spinnaker/trigger-pipeline-with-webhook:
webhook-endpoint: "http://localhost:8084/webhooks/webhook/myappwebhook"
# Example env var value: "http://localhost:8084/webhooks/webhook/myappwebhook"
webhook-endpoint: SPINNAKER_WEBHOOK
payload: "{\\\"status\\\": \\\"success\\\", \\\"jobid\\\": \\\"$CIRCLE_WORKFLOW_JOB_ID\\\", \\\"message\\\": \\\"I've got it\\\"}"
workflows:
example-workflow:
Expand Down

0 comments on commit 2e505c6

Please sign in to comment.