#11 Removed : from pipeline as it caused failure

This commit is contained in:
Luke Else 2024-02-16 13:12:56 +00:00
parent 737e0e7a22
commit 76f1a5d992

View File

@ -3,12 +3,12 @@ variables:
ENVIRON: "test" ENVIRON: "test"
FILESTORE: "static/assets/img/products/" FILESTORE: "static/assets/img/products/"
pytest: # pytest:
stage: test # stage: test
script: # script:
- cd /builds/u5500327/wmgzon # - cd /builds/u5500327/wmgzon
- pip install -r requirements.txt # - pip install -r requirements.txt
- pytest # - pytest
deploy: deploy:
variables: variables:
@ -19,7 +19,7 @@ deploy:
services: services:
- docker:dind - docker:dind
script: 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 login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA $CI_REGISTRY_IMAGE:latest - docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA $CI_REGISTRY_IMAGE:latest