[libvirt] [jenkins-ci PATCH 8/8] guests: Update documentation

Andrea Bolognani posted 8 patches 7 years, 5 months ago
[libvirt] [jenkins-ci PATCH 8/8] guests: Update documentation
Posted by Andrea Bolognani 7 years, 5 months ago
Provide instructions on how to build from non-default
git repositories and branches.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 guests/README.markdown | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/guests/README.markdown b/guests/README.markdown
index 68a6af7..f5d1219 100644
--- a/guests/README.markdown
+++ b/guests/README.markdown
@@ -49,11 +49,17 @@ library and, where supported, as a Windows library using MinGW.
 Once hosts have been prepared following the steps above, you can use
 `lcitool` to perform builds as well: for example, running
 
-    lcitool -a build -h '*debian*' -p libvirt-python
+    lcitool -a build -h '*debian*' -p libvirt-python -r upstream/master
 
 will fetch libvirt-python's `master` branch from the upstream repository
 and build it on all Debian hosts.
 
+You can add more git repositories by tweaking the `git_urls` dictionary
+defined in `playbooks/build/jobs/defaults.yml` and then build arbitrary
+branches out of those with
+
+    lcitool -a build -h all -p libvirt -r github/cool-feature
+
 
 Host setup
 ----------
-- 
2.17.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [jenkins-ci PATCH 8/8] guests: Update documentation
Posted by Erik Skultety 7 years, 5 months ago
On Wed, Aug 29, 2018 at 05:09:05PM +0200, Andrea Bolognani wrote:
> Provide instructions on how to build from non-default
> git repositories and branches.
>
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---

With the necessary updates on '-g' being optional:
Reviewed-by: Erik Skultety <eskultet@redhat.com>

>  guests/README.markdown | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/guests/README.markdown b/guests/README.markdown
> index 68a6af7..f5d1219 100644
> --- a/guests/README.markdown
> +++ b/guests/README.markdown
> @@ -49,11 +49,17 @@ library and, where supported, as a Windows library using MinGW.
>  Once hosts have been prepared following the steps above, you can use
>  `lcitool` to perform builds as well: for example, running
>
> -    lcitool -a build -h '*debian*' -p libvirt-python
> +    lcitool -a build -h '*debian*' -p libvirt-python -r upstream/master
>
>  will fetch libvirt-python's `master` branch from the upstream repository
>  and build it on all Debian hosts.
>
> +You can add more git repositories by tweaking the `git_urls` dictionary
> +defined in `playbooks/build/jobs/defaults.yml` and then build arbitrary
> +branches out of those with
> +
> +    lcitool -a build -h all -p libvirt -r github/cool-feature
> +
>
>  Host setup
>  ----------
> --
> 2.17.1
>
> --
> libvir-list mailing list
> libvir-list@redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

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