You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

kind: pipeline
type: docker
name: CD
trigger:
event:
- push
steps:
# database container deployment
- name: deploy-container-mysql
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
# IMAGENAME: mysql:8.0
IMAGENAME: mariadb:10
CONTAINERNAME: mariadb
#list|logs|create|delete|start
COMMAND: create
# OVERWRITE: true
PRIVATE: true
CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD: root
CODEFIRST_CLIENTDRONE_ENV_MARIADB_DATABASE: test
CODEFIRST_CLIENTDRONE_ENV_MARIADB_USER: maria
CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: maria
# frontend container deployment
- name: deploy-container-nginx
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
# IMAGENAME: mysql:8.0
IMAGENAME: nginx
CONTAINERNAME: nginx
#list|logs|create|delete|start
COMMAND: create
OVERWRITE: true
#PRIVATE: true
ADMINS: marcchevaldonne,cedricbouhours,mickeymouse