[libvirt] [PATCH jenkins-ci] Trigger rebuild of libvirt-go-xml when libvirt changes

Daniel P. Berrange posted 1 patch 6 years, 3 months ago
projects/libvirt-go-xml.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH jenkins-ci] Trigger rebuild of libvirt-go-xml when libvirt changes
Posted by Daniel P. Berrange 6 years, 3 months ago
Although the core code in libvirt-go-xml doesn't depend on libvirt, the test
suite pulls in libvirt.git to validate XML parsing against all XML files found
under libvirt.git/tests. We should thus have a dependancy in jenkins to trigger
rebuilds when libvirt changes.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
---
 projects/libvirt-go-xml.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/libvirt-go-xml.yaml b/projects/libvirt-go-xml.yaml
index 3083b9f..126058b 100644
--- a/projects/libvirt-go-xml.yaml
+++ b/projects/libvirt-go-xml.yaml
@@ -15,6 +15,6 @@
       export TEST_ARGS="-tags xmlroundtrip"
     jobs:
       - go-build-job:
-          parent_jobs:
+          parent_jobs: 'libvirt-master-build'
       - go-check-job:
           parent_jobs: 'libvirt-go-xml-master-build'
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH jenkins-ci] Trigger rebuild of libvirt-go-xml when libvirt changes
Posted by Andrea Bolognani 6 years, 3 months ago
On Wed, 2017-12-06 at 10:18 +0000, Daniel P. Berrange wrote:
> Although the core code in libvirt-go-xml doesn't depend on libvirt, the test
> suite pulls in libvirt.git to validate XML parsing against all XML files found
> under libvirt.git/tests. We should thus have a dependancy in jenkins to trigger

*dependency

> rebuilds when libvirt changes.
> 
> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
> ---
>  projects/libvirt-go-xml.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/projects/libvirt-go-xml.yaml b/projects/libvirt-go-xml.yaml
> index 3083b9f..126058b 100644
> --- a/projects/libvirt-go-xml.yaml
> +++ b/projects/libvirt-go-xml.yaml
> @@ -15,6 +15,6 @@
>        export TEST_ARGS="-tags xmlroundtrip"
>      jobs:
>        - go-build-job:
> -          parent_jobs:
> +          parent_jobs: 'libvirt-master-build'
>        - go-check-job:
>            parent_jobs: 'libvirt-go-xml-master-build'

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list