[JIRA] (OVIRT-1584) Create Branch and User fields in ansible_suite job
eyal edri (oVirt JIRA)
jira at ovirt-jira.atlassian.net
Tue Aug 8 13:59:36 UTC 2017
[ https://ovirt-jira.atlassian.net/browse/OVIRT-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34617#comment-34617 ]
eyal edri commented on OVIRT-1584:
----------------------------------
Hi Ondra,
It's not really possible to add what you're asking with the current way OST works in CI, since the OST job isn't building ( and shouldn't ) build any project, just test it.
The way to test PRs in Jenkins is to use the manual job [1] and custom RPMs, usually built by the 'build on demand' feature.
The blog [2] described how to do it, though we'll need to check if we support 'build on demand' for GitHub projects like ovirt-ansible.
We'll need to add the 'ansible' suite the the list of suites you can test using the manual job and to verify you can build from a patch, so you'll have a custom yum repo to provide the job to test.
[~dbelenky at redhat.com] can you help adding the ansible suite to the list of suites available in the manual OST Job?
[~bkorren at redhat.com] do we support 'build on demand' for GitHub projects? if not, then i guess 'check-patch' job can be used if the RPM is built there
[1] http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tests_manual/
[2] https://www.ovirt.org/blog/2017/01/ovirt-system-tests-to-the-rescue/
> Create Branch and User fields in ansible_suite job
> --------------------------------------------------
>
> Key: OVIRT-1584
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1584
> Project: oVirt - virtualization made easy
> Issue Type: Bug
> Components: OST, oVirt CI
> Reporter: Ondra Machacek
> Assignee: infra
>
> I would like to have following fields in ansible job[1].
> - branch (default: devel)
> - username (default: ansible)
> So in OST[2], we can define which branch+ from which git repo, should be fetched,
> with this we can test PRs.
> [1] http://jenkins.ovirt.org/job/system-tests_ansible-suite-master/
> [2] https://github.com/oVirt/ovirt-system-tests/blob/master/run_suite.sh#L212
> [~lbednar]
--
This message was sent by Atlassian JIRA
(v1001.0.0-SNAPSHOT#100058)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20170808/490777fc/attachment.html>
More information about the Infra
mailing list