chore(release): bump development version
Some checks are pending
CI - Tests et Syntax / lint-and-test (push) Waiting to run
Some checks are pending
CI - Tests et Syntax / lint-and-test (push) Waiting to run
This commit is contained in:
parent
1b386317e3
commit
50d3fd0f4c
4 changed files with 6 additions and 6 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.2
|
ARG GMAO_VERSION=0.1.0-dev.3
|
||||||
ARG GIT_VERSION=unknown
|
ARG GIT_VERSION=unknown
|
||||||
|
|
||||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||||
|
|
|
||||||
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
||||||
0.1.0-dev.2
|
0.1.0-dev.3
|
||||||
|
|
|
||||||
|
|
@ -25,12 +25,12 @@ services:
|
||||||
memory: 128M
|
memory: 128M
|
||||||
|
|
||||||
gmao:
|
gmao:
|
||||||
image: gmao-college:${GMAO_VERSION:-0.1.0-dev.2}
|
image: gmao-college:${GMAO_VERSION:-0.1.0-dev.3}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.2}
|
GMAO_VERSION: ${GMAO_VERSION:-0.1.0-dev.3}
|
||||||
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.2}
|
- GMAO_VERSION=${GMAO_VERSION:-0.1.0-dev.3}
|
||||||
- GMAO_GUNICORN_FLAGS=--preload
|
- GMAO_GUNICORN_FLAGS=--preload
|
||||||
- DOCKER_GMAO_WORKDIR=/app
|
- DOCKER_GMAO_WORKDIR=/app
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
|
|
|
||||||
|
|
@ -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.2'
|
assert get_version() == '0.1.0-dev.3'
|
||||||
|
|
||||||
|
|
||||||
def test_environment_version_takes_precedence(monkeypatch):
|
def test_environment_version_takes_precedence(monkeypatch):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue