diff --git a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml index 2c5ecf6d67c949fe7a5c263f4aa569d5cdac21d3..01a8d73be68be577e3c3adb4e3295dc0122f426c 100644 --- a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml +++ b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml @@ -23,10 +23,11 @@ before_script: - docker login ${ARTIFACT_DOCKER_URL} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN} script: .ci_config/gitlab.sh variables: + ADDITIONAL_DEBS: curl ROS_DISTRO: kinetic ROS_PARALLEL_JOBS: "-j2" # keep this for now, since there seems to be memory limit issues in the ci VM DOCKER_IMAGE: "${ARTIFACT_DOCKER_URL}/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" + BEFORE_SCRIPT: "bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh) $CATKIN_WORKSPACE" CATKIN_CONFIG: '--cmake-args -DCMAKE_CXX_FLAGS=-Wno-ignored-attributes -Wno-int-in-bool-context --' when: always diff --git a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml index c63dc7f0ae0c7ea3a4fa91792e9641810333ecc2..18529c392af28bd10ebd4258dff6e0da1f9da246 100644 --- a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml +++ b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml @@ -23,12 +23,13 @@ before_script: - docker login ${ARTIFACT_DOCKER_URL} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN} script: .ci_config/gitlab.sh variables: + ADDITIONAL_DEBS: curl ROS_DISTRO: kinetic ROS_PARALLEL_JOBS: "-j2" # keep this for now, since there seems to be memory limit issues in the ci VM UPSTREAM_WORKSPACE: file ROSINSTALL_FILENAME: ".rosinstall" DOCKER_IMAGE: "${ARTIFACT_DOCKER_URL}/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" + BEFORE_SCRIPT: "bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh) $CATKIN_WORKSPACE" CATKIN_CONFIG: '--cmake-args -DCMAKE_CXX_FLAGS=-Wno-ignored-attributes -Wno-int-in-bool-context --' when: always diff --git a/scripts/ci_run_entry_points.sh b/scripts/ci_run_entry_points.sh index 6e9c8d469ee5596ffdb298c86c52be5e08a48f94..077cbde658c534db730c9b79883bdd75f89c6c90 100755 --- a/scripts/ci_run_entry_points.sh +++ b/scripts/ci_run_entry_points.sh @@ -1,5 +1,5 @@ #!/bin/bash -find -L $CATKIN_WORKSPACE -name ci_entry_script.bash -exec bash -c 'echo Running entry script from $(basename $(dirname {})) ; {} ' \; +find -L $1 -name ci_entry_script.bash -exec bash -c 'echo Running entry script from $(basename $(dirname {})) ; {} ' \; echo Finalized running the user entry scripts