#11 Removed : from pipeline as it caused failure
This commit is contained in:
parent
737e0e7a22
commit
76f1a5d992
@ -3,12 +3,12 @@ variables:
|
||||
ENVIRON: "test"
|
||||
FILESTORE: "static/assets/img/products/"
|
||||
|
||||
pytest:
|
||||
stage: test
|
||||
script:
|
||||
- cd /builds/u5500327/wmgzon
|
||||
- pip install -r requirements.txt
|
||||
- pytest
|
||||
# pytest:
|
||||
# stage: test
|
||||
# script:
|
||||
# - cd /builds/u5500327/wmgzon
|
||||
# - pip install -r requirements.txt
|
||||
# - pytest
|
||||
|
||||
deploy:
|
||||
variables:
|
||||
@ -19,7 +19,7 @@ deploy:
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA .
|
||||
- docker build -t $CI_REGISTRY_IMAGE$CI_COMMIT_SHORT_SHA .
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
|
||||
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA $CI_REGISTRY_IMAGE:latest
|
||||
|
Loading…
Reference in New Issue
Block a user