[libvirt PATCH] docs: Document CIRRUS_GITHUB_REPO variable

Andrea Bolognani posted 1 patch 3 years, 10 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200610161154.50311-1-abologna@redhat.com
There is a newer version of this series
docs/newreposetup.rst | 11 +++++++++++
1 file changed, 11 insertions(+)
[libvirt PATCH] docs: Document CIRRUS_GITHUB_REPO variable
Posted by Andrea Bolognani 3 years, 10 months ago
This needs to be set for every repository for Cirrus CI integration
to work.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 docs/newreposetup.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/newreposetup.rst b/docs/newreposetup.rst
index f81e26747b..dd86535c9a 100644
--- a/docs/newreposetup.rst
+++ b/docs/newreposetup.rst
@@ -83,6 +83,17 @@ required under the **Settings** page:
 
     * *Shared runners*: Enable shared runners
 
+  * **Variables**
+
+    * *Key*: ``CIRRUS_GITHUB_REPO``
+
+      * *Value*: ``libvirt/$repo``
+
+      * *Protect variable*: enabled
+
+      * *Mask variable*: disabled
+
+
 GitHub configuration
 ====================
 
-- 
2.25.4

Re: [libvirt PATCH] docs: Document CIRRUS_GITHUB_REPO variable
Posted by Daniel P. Berrangé 3 years, 10 months ago
On Wed, Jun 10, 2020 at 06:11:54PM +0200, Andrea Bolognani wrote:
> This needs to be set for every repository for Cirrus CI integration
> to work.
> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---
>  docs/newreposetup.rst | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/docs/newreposetup.rst b/docs/newreposetup.rst
> index f81e26747b..dd86535c9a 100644
> --- a/docs/newreposetup.rst
> +++ b/docs/newreposetup.rst
> @@ -83,6 +83,17 @@ required under the **Settings** page:
>  
>      * *Shared runners*: Enable shared runners
>  
> +  * **Variables**
> +
> +    * *Key*: ``CIRRUS_GITHUB_REPO``
> +
> +      * *Value*: ``libvirt/$repo``
> +
> +      * *Protect variable*: enabled
> +
> +      * *Mask variable*: disabled

We should note that CIRRUS_API_TOKEN should be already present,
inherited from the group parent.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|