chore(version): passer au checkpoint 0.2.0-dev.1
This commit is contained in:
parent
7681c550b5
commit
b6468a552f
3 changed files with 5 additions and 5 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
0.1.0-dev.12
|
||||
0.2.0-dev.1
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ services:
|
|||
memory: 128M
|
||||
|
||||
gmao:
|
||||
image: gmao-college:${GMAO_VERSION:-0.1.0-dev.12}
|
||||
image: gmao-college:${GMAO_VERSION:-0.2.0-dev.1}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.11}
|
||||
GMAO_VERSION: ${GMAO_VERSION:-0.2.0-dev.1}
|
||||
GIT_VERSION: ${GIT_VERSION:-unknown}
|
||||
container_name: gmao-flask
|
||||
restart: unless-stopped
|
||||
|
|
@ -51,7 +51,7 @@ services:
|
|||
- TZ=Europe/Paris
|
||||
- DB_HOST=mariadb
|
||||
- DB_PORT=3306
|
||||
- GMAO_VERSION=${GMAO_VERSION:-0.1.0-dev.11}
|
||||
- GMAO_VERSION=${GMAO_VERSION:-0.2.0-dev.1}
|
||||
- GMAO_GUNICORN_FLAGS=--preload
|
||||
- DOCKER_GMAO_WORKDIR=/app
|
||||
working_dir: /app
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ from app_new.version import get_version
|
|||
|
||||
def test_project_version_is_available(monkeypatch):
|
||||
monkeypatch.delenv('GMAO_VERSION', raising=False)
|
||||
assert get_version() == '0.1.0-dev.12'
|
||||
assert get_version() == '0.2.0-dev.1'
|
||||
|
||||
|
||||
def test_environment_version_takes_precedence(monkeypatch):
|
||||
|
|
|
|||
Loading…
Reference in a new issue