No more linting, just build an ddeploy
This commit is contained in:
parent
f8a5eac552
commit
2a7e9f5d1d
@ -1,4 +1,4 @@
|
||||
image: docker:19.03.0-dind
|
||||
image: docker:19.03.12-dind
|
||||
services:
|
||||
- name: docker:dind
|
||||
entrypoint: ["env", "-u", "DOCKER_HOST"]
|
||||
@ -7,17 +7,17 @@ variables:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
|
||||
stages:
|
||||
- linting
|
||||
# - linting
|
||||
- deploy
|
||||
|
||||
linting:
|
||||
stage: linting
|
||||
before_script:
|
||||
- apk add --no-cache python3 python3-dev build-base docker g++ gcc libxml2-dev libxslt-dev libffi-dev openssl-dev make
|
||||
- pip3 install pylint
|
||||
- pip3 install -r app/requirements.txt
|
||||
script:
|
||||
- pylint -E app/*.py
|
||||
# linting:
|
||||
# stage: linting
|
||||
# before_script:
|
||||
# - apk add --no-cache python3 python3-dev build-base g++ gcc libxml2-dev libxslt-dev libffi-dev openssl-dev make
|
||||
# - pip3 install pylint
|
||||
# - pip3 install -r app/requirements.txt
|
||||
# script:
|
||||
# - pylint -E app/*.py
|
||||
|
||||
build_and_push_container:
|
||||
stage: deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user