Ajout variables ENV pour identification DB (celles présentes dans le code étant pour le dev local)

Springboot
Alix JEUDI--LEMOINE 1 year ago
parent df22457e89
commit 8d63bc0bd3

@ -53,13 +53,22 @@ steps:
from_secret: SECRET_REGISTRY_USERNAME from_secret: SECRET_REGISTRY_USERNAME
password: password:
from_secret: SECRET_REGISTRY_PASSWORD from_secret: SECRET_REGISTRY_PASSWORD
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://tombiard-postgres_server:5432/ScienceQuest
SPRING_DATASOURCE_USERNAME: ScienceQuest
SPRING_DATASOURCE_PASSWORD:
from_secret: postgres_password_secret
- name: deploy-container-app - name: deploy-container-app
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
depends_on: [build-container-app-image,deploy-container-postgresql] depends_on: [build-container-app-image,deploy-container-postgresql]
environment: environment:
IMAGENAME: hub.codefirst.iut.uca.fr/alix.jeudi--lemoine/api:latest IMAGENAME: hub.codefirst.iut.uca.fr/alix.jeudi--lemoine/api:latest
CONTAINERNAME: api CONTAINERNAME: api
COMMAND: create COMMAND: create
OVERWRITE: true OVERWRITE: true
ADMINS: alixjeudi--lemoine,victorsoulier,gwenaelplanchon CODEFIRST_CLIENTDRONE_ENV_SPRING_DATASOURCE_URL: jdbc:postgresql://tombiard-postgres_server:5432/ScienceQuest
CODEFIRST_CLIENTDRONE_ENV_SPRING_DATASOURCE_USERNAME: ScienceQuest
CODEFIRST_CLIENTDRONE_ENV_SPRING_DATASOURCE_PASSWORD:
from_secret: postgres_password_secret
ADMINS: alixjeudi--lemoine,victorsoulier,gwenaelplanchon

Loading…
Cancel
Save