chore(release): bump development version to 0.1.0-dev.6
This commit is contained in:
parent
afb9e8de26
commit
2359fb9d23
6 changed files with 8 additions and 8 deletions
|
|
@ -23,7 +23,7 @@ RUN pip install --no-cache-dir --user -r /build/requirements.txt supervisor
|
||||||
# Etape 2 : image finale legere
|
# Etape 2 : image finale legere
|
||||||
FROM python:3.13-slim
|
FROM python:3.13-slim
|
||||||
|
|
||||||
ARG GMAO_VERSION=0.1.0-dev.5
|
ARG GMAO_VERSION=0.1.0-dev.6
|
||||||
ARG GIT_VERSION=unknown
|
ARG GIT_VERSION=unknown
|
||||||
|
|
||||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||||
|
|
|
||||||
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
||||||
0.1.0-dev.5
|
0.1.0-dev.6
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
services:
|
services:
|
||||||
gmao:
|
gmao:
|
||||||
environment:
|
environment:
|
||||||
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.5}
|
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.6}
|
||||||
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.5}
|
image: gmao-college:${GMAO_VERSION:-0.1.0-dev.6}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.5}
|
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.6}
|
||||||
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.5}
|
- GMAO_VERSION=${GMAO_VERSION:-0.1.0-dev.6}
|
||||||
- GMAO_GUNICORN_FLAGS=--preload
|
- GMAO_GUNICORN_FLAGS=--preload
|
||||||
- DOCKER_GMAO_WORKDIR=/app
|
- DOCKER_GMAO_WORKDIR=/app
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ validation visuelle réussie.
|
||||||
|
|
||||||
## Version et livraison
|
## Version et livraison
|
||||||
|
|
||||||
La version sera incrémentée séparément en `0.1.0-dev.6` car la réorganisation
|
La version est incrémentée séparément en `0.1.0-dev.6` car la réorganisation
|
||||||
de navigation est visible et substantielle. Ce changement restera dans un
|
de navigation est visible et substantielle. Ce changement restera dans un
|
||||||
commit `chore(release)` distinct. Aucun changement n'a été fait à `alban`, aux
|
commit `chore(release)` distinct. Aucun changement n'a été fait à `alban`, aux
|
||||||
watchdogs, aux intégrations protégées ou aux données `TEST_UI_*`.
|
watchdogs, aux intégrations protégées ou aux données `TEST_UI_*`.
|
||||||
|
|
|
||||||
|
|
@ -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.5'
|
assert get_version() == '0.1.0-dev.6'
|
||||||
|
|
||||||
|
|
||||||
def test_environment_version_takes_precedence(monkeypatch):
|
def test_environment_version_takes_precedence(monkeypatch):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue