-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add tox templates #2
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,90 @@ | |||
- parameter: |
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.
seems like this file is not related to this commit.
It would be better to move this file to separate commit
library/macros/stash-trigger.yaml
Outdated
|
||
publishers: | ||
- stash: | ||
url: https://git.acronis.com |
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.
Please move this to parameter
library/scripts/jjb_compare_xml.sh
Outdated
|
||
set -ex | ||
|
||
# workaround for old RHELs, we need to install correct tox system-wide |
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.
What about comment at begin of file with name of parameters which is expected by this script.
55bea84
to
c7dbd3b
Compare
This patch adds template and couple of useful macro for performing xml comparisements of JJ changes
This patch adds tox templates for running tox on generic repository
set -ex | ||
|
||
# workaround for old RHELs, we need to install correct tox system-wide | ||
rm -rf venv |
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.
IMHO: it is node configuration, and it should not be part of this script.
mv "./output/${ENV##*/}" "./output/jobs/new/${ENV##*/}" | ||
done | ||
|
||
compare_xml() { |
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.
it is hard to read, because function declaration execution flow.
it would be better to move function declaration in top of file or remove it, because there is only one place where function is called.
@@ -0,0 +1,67 @@ | |||
- job-template: |
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.
IMHO: this file is stash related, so its name or location should reflect this fact.
tox/timeout: 10 | ||
|
||
jobs: | ||
- library/tox |
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.
No newline at end of file.
This patch adds tox templates for running tox on
generic repository