-
Notifications
You must be signed in to change notification settings - Fork 7.7k
update autotest descriptions #352
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
Conversation
* `Off`: no additional tests. Test commits only to branches that are using Autobuild to build and push images. | ||
* `Source Repository`: test commits to all branches of the source code repository, regardless of their Autobuild setting. | ||
* `Source Repository & External Pull Requests`: tests commits to all branches of the source code repository, including any pull requests opened against it. | ||
* `Off`: No additional test builds. Tests only run if they're configured as hooks in an automated build. |
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 is a default test
hook that picks the docker-compose.test.yml
.
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.
I'm sorry, can you clarify please?
If this is set to "off", what is it running?
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.
every autobuild runs build
+ test
+ push
.
every autotest runs build
+ test
.
Off
deactivates autotests, but autobuilds still run the test phase.
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.
"autobuilds still run the test phase" <- That's what I'm saying. Should it be "as part of" rather than "as hooks in"?
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.
yes, that is what I mean, there is a default test behavior, even if test hooks are not defined.
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.
* `Source Repository`: test commits to all branches of the source code repository, regardless of their Autobuild setting. | ||
* `Source Repository & External Pull Requests`: tests commits to all branches of the source code repository, including any pull requests opened against it. | ||
* `Off`: No additional test builds. Tests only run if they're configured as hooks in an automated build. | ||
* `Source repository`: Run a test build for any pull requests to branches that match a build rule, but only when the pull comes from the same source repository. |
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.
@pkennedyr We are renaming this to "Internal pull request" or something similar, right? Source repository
does not make sense anymore
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.
"when the pull comes" does not make sense, it has to say "pull request".
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.
This is to match the current UI. I can patch the labels when we actually get them changed.
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.
Added "request"
* `Source Repository & External Pull Requests`: tests commits to all branches of the source code repository, including any pull requests opened against it. | ||
* `Off`: No additional test builds. Tests only run if they're configured as hooks in an automated build. | ||
* `Source repository`: Run a test build for any pull requests to branches that match a build rule, but only when the pull comes from the same source repository. | ||
* `Source repository & external pull requests`: Run a test build for any pull requests to branches that match a build rule, including when the pull originated in an external source repository. |
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.
pull - pull request
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.
Added "request"
Signed-off-by: LRubin <[email protected]>
Updating autotest descriptions
cc @pkennedyr and @pchico83
Signed-off-by: LRubin [email protected]