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