2024-01-28 11:59:04 +00:00
|
|
|
variables:
|
2024-01-30 21:56:02 +00:00
|
|
|
APPSECRET: "test"
|
2024-01-28 11:59:04 +00:00
|
|
|
ENVIRON: "test"
|
2024-01-30 21:56:02 +00:00
|
|
|
FILESTORE: "static/assets/img/products/"
|
2024-01-28 11:59:04 +00:00
|
|
|
|
|
|
|
pytest:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- cd /builds/u5500327/wmgzon
|
|
|
|
- pip install -r requirements.txt
|
2024-02-16 12:49:13 +00:00
|
|
|
- pytest
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
image: docker:20.10.16
|
|
|
|
stage: deploy
|
|
|
|
services:
|
|
|
|
- docker:20.10.16-dind
|
|
|
|
script:
|
2024-02-16 13:04:04 +00:00
|
|
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
|
|
|
- docker pull $CI_REGISTRY/group/other-project:latest
|
|
|
|
- docker run $CI_REGISTRY/group/other-project:latest
|