aswi2021jmsd-gitlab4/.gitlab-ci.yml @ 3195e946
1 |
stages: |
---|---|
2 |
- test |
3 |
- deploy |
4 |
|
5 |
test_job: |
6 |
stage: test |
7 |
variables: |
8 |
FLASK_HOST: "78.128.250.101" |
9 |
script: |
10 |
- pip3 install -r requirements.txt && pytest |
11 |
|
12 |
deploy_job: |
13 |
stage: deploy |
14 |
only: |
15 |
- master |
16 |
script: |
17 |
- docker-compose up -d --build |
18 |
|