From a72938f3660b90d1670e6780920808b228dc183c Mon Sep 17 00:00:00 2001
From: Miguel Prada <miguel.prada@tecnalia.com>
Date: Mon, 26 Nov 2018 11:51:59 +0100
Subject: [PATCH] Configure faster CI job when pushing branches other than
 kinetic-devel

---
 .gitlab-industrial-ci-kinetic-with-rosinstall.yml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
index ed548b8..f6c5969 100644
--- a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
+++ b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
@@ -14,7 +14,7 @@ stages:
 before_script:
   - apk add --update bash coreutils tar wget python
 
-industrial_ci_kinetic:
+.industrial_ci_kinetic_base:
   stage: build
   before_script:
     - apk add --update bash coreutils tar
@@ -27,6 +27,18 @@ industrial_ci_kinetic:
     ROSINSTALL_FILENAME: ".rosinstall"
   when: always
 
+industrial_ci_kinetic:
+  extends: .industrial_ci_kinetic_base
+  only:
+    - kinetic-devel
+
+industrial_ci_kinetic_fast:
+  extends: .industrial_ci_kinetic_base
+  except:
+    - kinetic-devel
+  variables:
+    DOCKER_BASE_IMAGE: "tecnaliarobotics/flxbtcs:post_rosdep"
+
 ##########################################################
 ## Simple check for basic Python syntax errors; this is much less thorough than
 ## other options like pylint, but much faster and less strict
-- 
GitLab