|
|
@ -2,11 +2,14 @@ kind: pipeline
|
|
|
|
type: docker
|
|
|
|
type: docker
|
|
|
|
name: API_Formulaire
|
|
|
|
name: API_Formulaire
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- push
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
|
|
|
|
|
|
|
|
#PHP compilation with php -l
|
|
|
|
#PHP compilation with php -l
|
|
|
|
- name: PHP_Compilation
|
|
|
|
- name: PHP_Compilation
|
|
|
|
image: php:8.1
|
|
|
|
image: php:8.1
|
|
|
@ -47,6 +50,7 @@ steps:
|
|
|
|
ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal
|
|
|
|
ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal
|
|
|
|
depends_on: [ set_api_form ]
|
|
|
|
depends_on: [ set_api_form ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# database container deployment
|
|
|
|
# database container deployment
|
|
|
|
- name: db_form
|
|
|
|
- name: db_form
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
@ -65,4 +69,3 @@ steps:
|
|
|
|
from_secret: db_password
|
|
|
|
from_secret: db_password
|
|
|
|
ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal
|
|
|
|
ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal
|
|
|
|
depends_on: [ deploy_api_form ]
|
|
|
|
depends_on: [ deploy_api_form ]
|
|
|
|
|
|
|
|
|
|
|
|