forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for name/value embedded Bindings
This commit adds support for a more concise syntax for TriggerBindings embedded in a Trigger or EventListener: NEW SYNTAX: ``` bindings: - ref: some-name - name: commit_id # embedded binding value: "$(body.head_commit_id) ``` OLD SYNTAX ``` bindings: - name: some-name spec: params: - name: commit_id # embedded binding value: "$(body.head_commit_id) ``` The old embedded syntax is deprecated and Triggers will convert any old style embedded bindings to the new syntax via the MutatingAdmissionWebhook. BREAKING CHANGE: With this change, users cannot specify both `name` and `ref` for a single binding. Use `ref` to refer to a TriggerBinding resource and `name` for embedded bindings. Fixes #617 Signed-off-by: Dibyo Mukherjee <[email protected]>
- Loading branch information
1 parent
cb18793
commit 0adc571
Showing
16 changed files
with
533 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build e2e | ||
|
||
/* | ||
Copyright 2020 The Tekton Authors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.