Re: [linux/vd-agent v2 3/3] gitlab-ci: run singular job for build options

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

 



> From: Victor Toso <me@xxxxxxxxxxxxxx>
> 
> There are two main bottlenecks in CI:
> 1. Network might be slow for bootstrapping;
> 2. Big job queues to get a runners to run our jobs.
> 
> This patch reduces the three jobs to a single one in order to prevent
> long delays when CI resources are scarce which is a common scenario.
> 
> No major losses in log should happen. We might add specific .log
> files as artifacts if we need them later on.
> 
> For completeness, use git clean -xfd for a clean git tree instead of
> make distclean.
> 
> Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx>

Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

> ---
>  .gitlab-ci.yml | 14 +++++---------
>  1 file changed, 5 insertions(+), 9 deletions(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 9b894eb..1d31b0d 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -12,32 +12,28 @@ before_script:
>    - git clone https://gitlab.freedesktop.org/spice/spice-protocol.git
>    - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
>  
> -make-check-distcheck:
> +fedora-autotools:
>    script:
>    - ./autogen.sh
>    - make
>    - make check
>    - make distcheck
> -  - make distclean
> +  - git clean -xfd
>  
> -configure-optional-packages:
> -  script:
>    - ./autogen.sh --with-session-info=systemd
>    --with-init-script=systemd+redhat
>    - make
>    - make install
>    - make uninstall
> -  - make distclean
> +  - git clean -xfd
>  
>    - ./autogen.sh --with-session-info=console-kit --with-init-script=redhat
>    - make
>    - make install
>    - make uninstall
> -  - make distclean
> +  - git clean -xfd
>  
> -configure-without-optionals:
> -  script:
>    - ./autogen.sh --with-gtk=no --with-session-info=none
>    - make
>    - make install
>    - make uninstall
> -  - make distclean
> +  - git clean -xfd
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]