|
|
|
@ -51,4 +51,50 @@ steps:
|
|
|
|
|
COMMAND: create
|
|
|
|
|
PRIVATE: true
|
|
|
|
|
POSTGRES_PASSWORD: oui
|
|
|
|
|
|
|
|
|
|
- name: deploy-container-mysql
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
environment:
|
|
|
|
|
IMAGENAME: mariadb:latest
|
|
|
|
|
CONTAINERNAME: mariadb
|
|
|
|
|
COMMAND: create
|
|
|
|
|
OVERWRITE: true
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD:
|
|
|
|
|
from_secret: db_root_password
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_MARIADB_DATABASE:
|
|
|
|
|
from_secret: db_database
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_MARIADB_USER:
|
|
|
|
|
from_secret: db_user
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD:
|
|
|
|
|
from_secret: db_password
|
|
|
|
|
|
|
|
|
|
- name: web-API
|
|
|
|
|
image: plugins/docker
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
|
context: ./
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/hugo.livet/consEco
|
|
|
|
|
username:
|
|
|
|
|
from_secret: secret-registry-username
|
|
|
|
|
password:
|
|
|
|
|
from_secret: secret-registry-password
|
|
|
|
|
|
|
|
|
|
- name: deploy-web-container
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
environment:
|
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/hugo.livet/consEco:latest
|
|
|
|
|
CONTAINERNAME: consEco
|
|
|
|
|
COMMAND: create
|
|
|
|
|
OVERWRITE: true
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD:
|
|
|
|
|
from_secret: db_root_password
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_MARIADB_DATABASE:
|
|
|
|
|
from_secret: db_database
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_MARIADB_USER:
|
|
|
|
|
from_secret: db_user
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD:
|
|
|
|
|
from_secret: db_password
|
|
|
|
|
|
|
|
|
|
depends_on: [ web-todo, deploy-container-mysql ]
|
|
|
|
|
|