typo in gitlab-ci
This commit is contained in:
@@ -1,8 +1,3 @@
|
|||||||
stages:
|
|
||||||
- build
|
|
||||||
- test
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
# Change pip's cache directory to be inside the project directory since we can
|
# Change pip's cache directory to be inside the project directory since we can
|
||||||
# only cache local items.
|
# only cache local items.
|
||||||
variables:
|
variables:
|
||||||
@@ -19,7 +14,7 @@ cache:
|
|||||||
- venv/
|
- venv/
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- python38 -V # Print out python version for debugging
|
- python3 -V # Print out python version for debugging
|
||||||
- pip install virtualenv
|
- pip install virtualenv
|
||||||
- virtualenv venv
|
- virtualenv venv
|
||||||
- source venv/bin/activate
|
- source venv/bin/activate
|
||||||
@@ -28,6 +23,7 @@ build_zeo:
|
|||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
|
- ubuntu
|
||||||
script:
|
script:
|
||||||
- docker build -t zeo:5.2.0 src/zeo
|
- docker build -t zeo:5.2.0 src/zeo
|
||||||
|
|
||||||
@@ -35,6 +31,7 @@ build_flask:
|
|||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
|
- ubuntu
|
||||||
script:
|
script:
|
||||||
- docker build -t webui:1.0 src/webui
|
- docker build -t webui:1.0 src/webui
|
||||||
|
|
||||||
@@ -42,13 +39,7 @@ build_api:
|
|||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
|
- ubuntu
|
||||||
script:
|
script:
|
||||||
- echo "Build api image"
|
- echo "Build api image"
|
||||||
|
|
||||||
tests:
|
|
||||||
stage: test
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
image: webui:1.0
|
|
||||||
services:
|
|
||||||
- zeo:5.2.0
|
|
||||||
|
|||||||
Reference in New Issue
Block a user