From 827967a46588c17dcf29dfbc8ba38ff430dd8e09 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 19 Sep 2019 12:01:15 +0200 Subject: [PATCH] CI: use Alpine for py-sh-static job (!636) Resolves #366 --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2b5ceae2..5ac05488c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ --- # global settings -image: alpine:latest +image: alpine:edge after_script: - .gitlab-ci/move_logs.sh $CI_PROJECT_DIR stages: @@ -31,14 +31,12 @@ wiki: script: - .gitlab-ci/check_devices_in_wiki.py --booting -# static code analysis (shellcheck is not in Alpine, so we use Debian) +# static code analysis py-sh-static: stage: first <<: *only-default - image: python:3.6-slim-stretch before_script: - - apt -q update >/dev/null - - apt -y install flake8 shellcheck >/dev/null + - apk -q add py3-flake8 shellcheck script: - .gitlab-ci/static_code_analysis.sh