fixing pip call in the yaml file
This commit is contained in:
parent
9f62f6344e
commit
9c3b1e6aa3
@ -2,9 +2,6 @@ image: docker:latest
|
|||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
|
||||||
before_script:
|
|
||||||
- apk add --no-cache python3
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- linting
|
- linting
|
||||||
- deploy
|
- deploy
|
||||||
@ -12,11 +9,14 @@ stages:
|
|||||||
linting:
|
linting:
|
||||||
stage: linting
|
stage: linting
|
||||||
before_script:
|
before_script:
|
||||||
|
- apk add --no-cache python3
|
||||||
- pip3 install pylint
|
- pip3 install pylint
|
||||||
script:
|
script:
|
||||||
- pylint -E app/*.py
|
- pylint -E app/*.py
|
||||||
|
|
||||||
build_and_push_container:
|
build_and_push_container:
|
||||||
|
before_script:
|
||||||
|
- apk add --no-cache python3
|
||||||
- pip3 install -r app/requirements.txt
|
- pip3 install -r app/requirements.txt
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user