From 4d6e13e8d0b7ce2d12f432233f91c5489d251922 Mon Sep 17 00:00:00 2001
From: Jon Azpiazu <jon.azpiazu@tecnalia.com>
Date: Mon, 28 Jan 2019 14:28:31 +0100
Subject: [PATCH] Add normalized call to before script

Add script to launch the entry points
---
 .gitlab-industrial-ci-kinetic-with-rosinstall.yml | 1 +
 scripts/ci_run_entry_points.sh                    | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100755 scripts/ci_run_entry_points.sh

diff --git a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
index 3b55be4..728190a 100644
--- a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
+++ b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
@@ -27,6 +27,7 @@ industrial_ci_kinetic:
     UPSTREAM_WORKSPACE: file
     ROSINSTALL_FILENAME: ".rosinstall"
     DOCKER_IMAGE: "tecnalia-robotics.artifact.tecnalia.com/test-robotics/flexbotics-base-devel"
+    BEFORE_SCRIPT: "wget -q -O - https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh | bash"
   when: always
 
 ##########################################################
diff --git a/scripts/ci_run_entry_points.sh b/scripts/ci_run_entry_points.sh
new file mode 100755
index 0000000..6e9c8d4
--- /dev/null
+++ b/scripts/ci_run_entry_points.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+find -L $CATKIN_WORKSPACE -name ci_entry_script.bash -exec bash -c 'echo Running entry script from $(basename $(dirname {})) ; {} ' \;
+
+echo Finalized running the user entry scripts
-- 
GitLab