CI: use Alpine for py-sh-static job (!636)

Resolves #366
This commit is contained in:
Bart Ribbers 2019-09-19 12:01:15 +02:00 committed by Oliver Smith
parent 63544524b7
commit 827967a465
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -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