Anatoly Litovsky has posted comments on this change.

Change subject: Adding system tests
......................................................................


Patch Set 19: Code-Review+1 Workflow+1

(9 comments)

https://gerrit.ovirt.org/#/c/37069/19/jobs/confs/shell-scripts/system_tests.cleanup.sh
File jobs/confs/shell-scripts/system_tests.cleanup.sh:

Line 3: WORKSPACE?
> use ${var:?} instead, that will make sure that the var is not null and defi
Done


https://gerrit.ovirt.org/#/c/37069/19/jobs/confs/shell-scripts/system_tests.collect_logs.sh
File jobs/confs/shell-scripts/system_tests.collect_logs.sh:

Line 3: E?
> same as before
Done


Line 5: WORKSPACE?
> store this on a local (to the script) variable, no need to recheck the var 
Done


Line 28: r
> no need for this dangerous -r here
Done


Line 35:     rm -rf "${{PREFIX?}}"
Line 36: 
Line 37:     cd "${{WORKSPACE?}}/"
Line 38:     tar cvzf \
Line 39:         "exported-archives.tar.gz" \
> not sure what is this for, better to leave it as a dir as we do on all the 
Done
Line 40:         "exported-archives/"


https://gerrit.ovirt.org/#/c/37069/19/jobs/confs/shell-scripts/system_tests_common.sh
File jobs/confs/shell-scripts/system_tests_common.sh:

Line 20: DISTRO
> no need for the check
Done


Line 24: WORKSPACE
> add this to the vars at the top, like version
why ? on top is just jjb expanded variables 
workspace is not one of them


https://gerrit.ovirt.org/#/c/37069/19/jobs/confs/yaml/templates/system_tests.yaml
File jobs/confs/yaml/templates/system_tests.yaml:

Line 30:               - log-text: '.*'
Line 31:                 operator: AND
Line 32:             script: !include-raw 
shell-scripts/system_tests.collect_logs.sh
Line 33:       - archive:
Line 34:           artifacts: 'exported-archives.tar.gz'
> I recommend gzipping each of the elements on that dir per separate and achi
Done
Line 35:           allow-empty: true
Line 36:       - email:
Line 37:           recipients: '{email-to}'
Line 38:           notify-every-unstable-build: false # FIXME


https://gerrit.ovirt.org/#/c/37069/19/jobs/confs/yaml/triggers/gerrit.yaml
File jobs/confs/yaml/triggers/gerrit.yaml:

Line 133:     triggers:
Line 134:       - gerrit:
Line 135:           trigger-on:
Line 136:             - comment-added-event:
Line 137:                 approval-category: 'CRVW'
> this might change to the workflow flag sooner than later.
ping us when
Line 138:                 approval-value: 2
Line 139:           escape-quotes: true
Line 140:           projects:
Line 141:             - project-compare-type: 'PLAIN'


-- 
To view, visit https://gerrit.ovirt.org/37069
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If411d80e4213f5d4a5d85defeb6bb1634f9bcae4
Gerrit-PatchSet: 19
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaro...@redhat.com>
Gerrit-Reviewer: Anatoly Litovsky <tlito...@redhat.com>
Gerrit-Reviewer: David Caro <dcaro...@redhat.com>
Gerrit-Reviewer: Dima Kuznetsov <dkuzn...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to