-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add template composition example for template; add notifications validation err flag #450
Conversation
…s validation err flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this example is misplaced https://github.com/screwdriver-cd/guide/pull/450/files#diff-0863375e9d888a75cabce90e1d0e8b16a72cb690efab345548edfd00bb842926R261-R302
It's under the main title of Template Composition
but the example is for usage of order
in a job. I would rather flip the precedence, provide example which shows order
usage in Template Composition and just leave a note that order
can also used in jobs. (I would rather not highlight order
availability for jobs since only power users should have this kind of flexibility )
docs/user-guide/templates.md
Outdated
url: "#writing-a-template-yaml" | ||
subitem: true | ||
- title: Template images | ||
url: "template-images" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing #
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
docs/user-guide/templates.md
Outdated
url: "#template-composition" | ||
subitem: true | ||
- title: Writing a screwdriver yaml | ||
url: "#writing-a-screwdriveryaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
### Template Composition | ||
You can also use a template in the `config` section of an `sd-template.yaml` file. | ||
|
||
Caveats: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to Caveats when using order
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
Objective
This PR: addd template composition for template example, updated template TOC, and adds notifications validation err flag and other API settings.
References
Related to screwdriver-cd/screwdriver#2319, screwdriver-cd/screwdriver#2339
License
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.