Re: [jenkins-ci PATCH 1/2] jobs: Change git URL to github

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2018-06-21 at 14:21 +0200, Pavel Hrdina wrote:
> We had our own local copy of all projects synchronized by cron on
> the host where we have the CI VMs.  This was to safe the traffic from
> libvirt.org repositories and to make the cloning for our Jenkins jobs
> faster.
> 
> We might move our VMs into a cloud in future we would not be able to
> have any local copy so this changes the git URL to use github instead.
> 
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  jobs/autotools.yaml        | 2 +-
>  jobs/generic.yaml          | 2 +-
>  jobs/go.yaml               | 2 +-
>  jobs/perl-modulebuild.yaml | 2 +-
>  jobs/python-distutils.yaml | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/jobs/autotools.yaml b/jobs/autotools.yaml
> index f526ed2..63a1e81 100644
> --- a/jobs/autotools.yaml
> +++ b/jobs/autotools.yaml
> @@ -21,7 +21,7 @@
>            num-to-keep: 1000
>      scm:
>        - git:
> -          url: git://n64.pufty.ci.centos.org/{name}.git
> +          url: https://github.com/libvirt/{name}.git

This will work for

  libvirt: https://github.com/libvirt/libvirt.git
  libvirt-cim: https://github.com/libvirt/libvirt-cim.git
  libvirt-dbus: https://github.com/libvirt/libvirt-dbus.git
  libvirt-glib: https://github.com/libvirt/libvirt-glib.git
  libvirt-go: https://github.com/libvirt/libvirt-go.git
  libvirt-go-xml: https://github.com/libvirt/libvirt-go-xml.git
  libvirt-perl: https://github.com/libvirt/libvirt-perl.git
  libvirt-python: https://github.com/libvirt/libvirt-python.git
  libvirt-sandbox: https://github.com/libvirt/libvirt-sandbox.git
  libvirt-tck: https://github.com/libvirt/libvirt-tck.git

but not for

  virt-manager: https://github.com/virt-manager/virt-manager.git

because of the different namespace, and also not for

  libosinfo: https://gitlab.com/libosinfo/libosinfo.git
  osinfo-db-tools: https://gitlab.com/libosinfo/osinfo-db-tools.git
  osinfo-db: https://gitlab.com/libosinfo/osinfo-db.git
  virt-viewer: https://pagure.io/virt-viewer.git

because of the completely different hosting platform, so
we're going to need this to be overridable on a per-project
basis.

-- 
Andrea Bolognani / Red Hat / Virtualization

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux