No more linting, just build an ddeploy

This commit is contained in:
Luke Robles 2020-08-07 08:59:12 -07:00
parent 3d1a055291
commit ccdfa3ae61

View File

@ -1,4 +1,4 @@
image: docker:19.03.0-dind image: docker:19.03.12-dind
services: services:
- name: docker:dind - name: docker:dind
entrypoint: ["env", "-u", "DOCKER_HOST"] entrypoint: ["env", "-u", "DOCKER_HOST"]
@ -7,17 +7,17 @@ variables:
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
stages: stages:
- linting # - linting
- deploy - deploy
linting: # linting:
stage: linting # stage: linting
before_script: # before_script:
- apk add --no-cache python3 python3-dev build-base docker g++ gcc libxml2-dev libxslt-dev libffi-dev openssl-dev make # - 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 pylint
- pip3 install -r app/requirements.txt # - pip3 install -r app/requirements.txt
script: # script:
- pylint -E app/*.py # - pylint -E app/*.py
build_and_push_container: build_and_push_container:
stage: deploy stage: deploy