-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate keystone workflows + Enforce full semver on capabilities (#1…
…3328) * Enable workflow validation against JSON spec * Merge version field with ID * Use full capability versioning in workflow yaml * Update gomod * fixup! Update gomod * fixup! Enable workflow validation against JSON spec * fixup! Update gomod --------- Co-authored-by: Bolek <[email protected]>
- Loading branch information
1 parent
066afc0
commit 0d95942
Showing
28 changed files
with
289 additions
and
154 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
#internal [Keystone] Merge version field with ID |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
#internal Add workflow validation |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ func TestWriteTarget(t *testing.T) { | |
forwarderA := testutils.NewAddress() | ||
forwarderAddr := forwarderA.Hex() | ||
|
||
writeTarget := targets.NewWriteTarget(lggr, "Test", cr, cw, forwarderAddr) | ||
writeTarget := targets.NewWriteTarget(lggr, "[email protected]", cr, cw, forwarderAddr) | ||
require.NotNil(t, writeTarget) | ||
|
||
config, err := values.NewMap(map[string]any{ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -657,23 +657,27 @@ func Test_Service_ProposeJob(t *testing.T) { | |
wfName = "myworkflow" // len 10 | ||
specYaml = ` | ||
triggers: | ||
- id: "a-trigger" | ||
- id: "[email protected]" | ||
config: {} | ||
actions: | ||
- id: "an-action" | ||
- id: "an-action@1.0.0" | ||
ref: "an-action" | ||
config: {} | ||
inputs: | ||
trigger_output: $(trigger.outputs) | ||
consensus: | ||
- id: "a-consensus" | ||
- id: "a-consensus@1.0.0" | ||
ref: "a-consensus" | ||
config: {} | ||
inputs: | ||
trigger_output: $(trigger.outputs) | ||
an-action_output: $(an-action.outputs) | ||
targets: | ||
- id: "a-target" | ||
- id: "[email protected]" | ||
config: {} | ||
ref: "a-target" | ||
inputs: | ||
consensus_output: $(a-consensus.outputs) | ||
|
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.