generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Describe the bug
Given a job template, which has duplicate keys. openjd check will consider the job template as valid, even though it's not valid yaml.
Expected Behaviour
The template will not be considered valid, due to having duplicate keys
Current Behaviour
The template will be considered valid, even with duplicate keys.
Reproduction Steps
Given the template:
specificationVersion: 'jobtemplate-2023-09'
specificationVersion: 'jobtemplate-2023-09'
name: Foo
name: Foo
steps:
- name: Bar
script:
actions:
onRun:
command: Baz
command: Baz
onRun:
command: Baz
command: Baz
actions:
onRun:
command: Baz
command: Baz
onRun:
command: Baz
command: Baz> openjd check template.yaml
Template at 'template.yaml' passes validation checks.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers