-
Notifications
You must be signed in to change notification settings - Fork 68
batches: support new version field #1100
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
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -506,7 +506,9 @@ func validateMount(batchSpecDir string, spec *batcheslib.BatchSpec) error { | |
return nil | ||
} | ||
|
||
const exampleSpecTmpl = `name: NAME-OF-YOUR-BATCH-CHANGE | ||
const exampleSpecTmpl = `# "version" determines how the batch spec is interpreted. | ||
version: 2 | ||
name: NAME-OF-YOUR-BATCH-CHANGE | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is returned by There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tiny comment, as a user I would find
|
||
description: DESCRIPTION-OF-YOUR-BATCH-CHANGE | ||
|
||
# "on" specifies on which repositories to execute the "steps". | ||
|
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.
errors.HasType
was changed in Sourcegraph so I had to update the call here. (See https://github.com/sourcegraph/sourcegraph/pull/63024)