No more linting, just build an ddeploy

This commit is contained in:
Luke Robles 2020-08-07 08:59:12 -07:00
parent f8a5eac552
commit 2a7e9f5d1d
No known key found for this signature in database
GPG Key ID: D70F99D67F488AF9

View File

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