Deployment: bump version; cosmetic
This commit is contained in:
parent
8341a29a36
commit
4af204ae68
3 changed files with 7 additions and 5 deletions
|
@ -106,7 +106,7 @@ spec:
|
||||||
- "gisaf-backend"
|
- "gisaf-backend"
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: gisaf-backend-initdb
|
- name: gisaf-backend-initdb
|
||||||
image: code.philo.ydns.eu/philorg/gisaf-backend:0.5.0-alpha.5
|
image: code.philo.ydns.eu/philorg/gisaf-backend:0.5.0-alpha.8
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
command: ["gisaf", "create-db"]
|
command: ["gisaf", "create-db"]
|
||||||
env:
|
env:
|
||||||
|
@ -114,7 +114,7 @@ spec:
|
||||||
value: gisaf-database
|
value: gisaf-database
|
||||||
containers:
|
containers:
|
||||||
- name: gisaf-backend
|
- name: gisaf-backend
|
||||||
image: code.philo.ydns.eu/philorg/gisaf-backend:0.5.0-alpha.5
|
image: code.philo.ydns.eu/philorg/gisaf-backend:0.5.0-alpha.8
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: GISAF__GISAF_LIVE__REDIS
|
- name: GISAF__GISAF_LIVE__REDIS
|
||||||
|
@ -122,7 +122,7 @@ spec:
|
||||||
- name: GISAF__DB__HOST
|
- name: GISAF__DB__HOST
|
||||||
value: gisaf-database
|
value: gisaf-database
|
||||||
- name: gisaf-frontend
|
- name: gisaf-frontend
|
||||||
image: code.philo.ydns.eu/philorg/gisaf-frontend:0.5.0-alpha.12
|
image: code.philo.ydns.eu/philorg/gisaf-frontend:0.5.0-alpha.13
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- nginx
|
- nginx
|
||||||
|
|
|
@ -30,7 +30,7 @@ def get_version():
|
||||||
v_git_describe.check_returncode()
|
v_git_describe.check_returncode()
|
||||||
version = v_git_describe.stdout.strip()
|
version = v_git_describe.stdout.strip()
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.warn("Version not set in Python package and cannot determine ")
|
logger.warn("Version not set in Python package and cannot run git describe")
|
||||||
version = "?"
|
version = "?"
|
||||||
return version
|
return version
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ from pydantic import BaseModel
|
||||||
from gisaf.config import conf, Map, Measures, Geo
|
from gisaf.config import conf, Map, Measures, Geo
|
||||||
from gisaf.models.authentication import UserRead
|
from gisaf.models.authentication import UserRead
|
||||||
|
|
||||||
|
|
||||||
class Proj(BaseModel):
|
class Proj(BaseModel):
|
||||||
srid: str
|
srid: str
|
||||||
srid_for_proj: str
|
srid_for_proj: str
|
||||||
|
@ -16,4 +17,5 @@ class BootstrapData(BaseModel):
|
||||||
geo: Geo = conf.geo
|
geo: Geo = conf.geo
|
||||||
measures: Measures = conf.measures
|
measures: Measures = conf.measures
|
||||||
redirect: str = conf.gisaf.redirect
|
redirect: str = conf.gisaf.redirect
|
||||||
user: UserRead | None = None # type: ignore
|
user: UserRead | None = None # type: ignore
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue