From 916fac55022bfc72f691dcf89355b6c2e4c65f21 Mon Sep 17 00:00:00 2001
From: Jon Azpiazu <jon.azpiazu@tecnalia.com>
Date: Mon, 8 Jun 2020 17:04:12 +0200
Subject: [PATCH] Fix modified package name for python in alpine

---
 .gitlab-industrial-ci-kinetic-no-rosinstall.yml   | 4 +++-
 .gitlab-industrial-ci-kinetic-with-rosinstall.yml | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml
index 0f393f3..ac3a552 100644
--- a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml
+++ b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml
@@ -13,7 +13,7 @@ stages:
   - postcheck
 
 before_script:
-  - apk add --update bash coreutils tar wget python
+  - apk add --update bash coreutils tar wget
 
 .industrial_ci:
   stage: build
@@ -95,6 +95,8 @@ clang_format:
 ## other options like pylint, but much faster and less strict
 ##########################################################
 python_syntax:
+  before_script:
+    - apk add --update python2
   stage: precheck
   script: python -m compileall -q .
   when: always
diff --git a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
index 3209f46..2a5271a 100644
--- a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
+++ b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml
@@ -13,7 +13,7 @@ stages:
   - postcheck
 
 before_script:
-  - apk add --update bash coreutils tar wget python
+  - apk add --update bash coreutils tar wget
 
 .industrial_ci:
   stage: build
@@ -97,6 +97,8 @@ clang_format:
 ## other options like pylint, but much faster and less strict
 ##########################################################
 python_syntax:
+  before_script:
+    - apk add --update python2
   stage: precheck
   script: python -m compileall -q .
   when: always
-- 
GitLab