Skip to content

Conversation

@akaRem
Copy link
Collaborator

@akaRem akaRem commented May 4, 2017

This patch adds tox templates for running tox on
generic repository

@akaRem akaRem force-pushed the initial-stuff-2 branch from cc25f0d to ae3ac19 Compare May 4, 2017 20:12
@akaRem akaRem requested review from bookwar and ibelikov May 4, 2017 20:26
@akaRem akaRem self-assigned this May 4, 2017
@@ -0,0 +1,90 @@
- parameter:

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


publishers:
- stash:
url: https://git.acronis.com

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


set -ex

# workaround for old RHELs, we need to install correct tox system-wide

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.

@akaRem akaRem force-pushed the initial-stuff-2 branch 6 times, most recently from 55bea84 to c7dbd3b Compare May 6, 2017 14:39
akaRem added 2 commits May 6, 2017 17:39
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

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() {

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:

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 No newline at end of file

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants