chore(version): passer en 0.1.0-dev.11
This commit is contained in:
parent
22e8f8eda4
commit
66fd340aae
5 changed files with 7 additions and 7 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
||||||
0.1.0-dev.10
|
0.1.0-dev.11
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
services:
|
services:
|
||||||
gmao:
|
gmao:
|
||||||
environment:
|
environment:
|
||||||
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.10}
|
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.11}
|
||||||
GMAO_GUNICORN_FLAGS: --reload --reload-engine poll
|
GMAO_GUNICORN_FLAGS: --reload --reload-engine poll
|
||||||
FLASK_ENV: development
|
FLASK_ENV: development
|
||||||
# Ce profil est servi en HTTP sur le réseau de test ; un cookie Secure
|
# Ce profil est servi en HTTP sur le réseau de test ; un cookie Secure
|
||||||
|
|
|
||||||
|
|
@ -25,12 +25,12 @@ services:
|
||||||
memory: 128M
|
memory: 128M
|
||||||
|
|
||||||
gmao:
|
gmao:
|
||||||
image: gmao-college:${GMAO_VERSION:-0.1.0-dev.10}
|
image: gmao-college:${GMAO_VERSION:-0.1.0-dev.11}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.10}
|
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.11}
|
||||||
GIT_VERSION: ${GIT_VERSION:-unknown}
|
GIT_VERSION: ${GIT_VERSION:-unknown}
|
||||||
container_name: gmao-flask
|
container_name: gmao-flask
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
@ -51,7 +51,7 @@ services:
|
||||||
- TZ=Europe/Paris
|
- TZ=Europe/Paris
|
||||||
- DB_HOST=mariadb
|
- DB_HOST=mariadb
|
||||||
- DB_PORT=3306
|
- DB_PORT=3306
|
||||||
- GMAO_VERSION=${GMAO_VERSION:-0.1.0-dev.10}
|
- GMAO_VERSION=${GMAO_VERSION:-0.1.0-dev.11}
|
||||||
- GMAO_GUNICORN_FLAGS=--preload
|
- GMAO_GUNICORN_FLAGS=--preload
|
||||||
- DOCKER_GMAO_WORKDIR=/app
|
- DOCKER_GMAO_WORKDIR=/app
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Baseline
|
## Baseline
|
||||||
|
|
||||||
- Version : `0.1.0-dev.10`.
|
- Version avant : `0.1.0-dev.10` ; version après : `0.1.0-dev.11`.
|
||||||
- Commit de départ : `e65e653`.
|
- Commit de départ : `e65e653`.
|
||||||
- Le dépôt était propre ; les services Docker local (Flask, MariaDB,
|
- Le dépôt était propre ; les services Docker local (Flask, MariaDB,
|
||||||
Adminer) étaient démarrés et `/health/` répondait.
|
Adminer) étaient démarrés et `/health/` répondait.
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ from app_new.version import get_version
|
||||||
|
|
||||||
def test_project_version_is_available(monkeypatch):
|
def test_project_version_is_available(monkeypatch):
|
||||||
monkeypatch.delenv('GMAO_VERSION', raising=False)
|
monkeypatch.delenv('GMAO_VERSION', raising=False)
|
||||||
assert get_version() == '0.1.0-dev.10'
|
assert get_version() == '0.1.0-dev.11'
|
||||||
|
|
||||||
|
|
||||||
def test_environment_version_takes_precedence(monkeypatch):
|
def test_environment_version_takes_precedence(monkeypatch):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue