[linux/vd-agent 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.

Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx>
---
 .gitlab-ci.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fc40c04..5de96f8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ before_script:
   - git clone ${CI_REPOSITORY_URL/vd_agent/spice-protocol}
   - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
 
-make-check-distcheck:
+fedora-autotools:
   script:
   - ./autogen.sh
   - make
@@ -20,8 +20,6 @@ make-check-distcheck:
   - make distcheck
   - make distclean
 
-configure-optional-packages:
-  script:
   - ./autogen.sh --with-session-info=systemd --with-init-script=systemd+redhat
   - make
   - make install
@@ -34,8 +32,6 @@ configure-optional-packages:
   - make uninstall
   - make distclean
 
-configure-without-optionals:
-  script:
   - ./autogen.sh --with-gtk=no --with-session-info=none
   - make
   - make install
-- 
2.20.1

_______________________________________________
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]