|
|
@ -1,6 +1,6 @@
|
|
|
|
kind: pipeline
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
type: docker
|
|
|
|
name: HeartWave
|
|
|
|
name: HeartTrack
|
|
|
|
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
event:
|
|
|
@ -17,7 +17,7 @@ steps:
|
|
|
|
#- apk update && apk add --no-cache libcouchbase-dev && pecl install couchbase && docker-php-ext-enable couchbase
|
|
|
|
#- apk update && apk add --no-cache libcouchbase-dev && pecl install couchbase && docker-php-ext-enable couchbase
|
|
|
|
# Installe les dépendances PHP si nécessaire
|
|
|
|
# Installe les dépendances PHP si nécessaire
|
|
|
|
- php composer.phar install --no-interaction
|
|
|
|
- php composer.phar install --no-interaction
|
|
|
|
- ./vendor/bin/phpunit tests
|
|
|
|
# - ./vendor/bin/phpunit tests
|
|
|
|
|
|
|
|
|
|
|
|
# Sonar static code analisis deployment
|
|
|
|
# Sonar static code analisis deployment
|
|
|
|
# TODO : use an image that already have unzip
|
|
|
|
# TODO : use an image that already have unzip
|
|
|
@ -72,7 +72,7 @@ steps:
|
|
|
|
IMAGENAME: 'hub.codefirst.iut.uca.fr/david.d_almeida/web:latest'
|
|
|
|
IMAGENAME: 'hub.codefirst.iut.uca.fr/david.d_almeida/web:latest'
|
|
|
|
CONTAINERNAME: web
|
|
|
|
CONTAINERNAME: web
|
|
|
|
COMMAND: create
|
|
|
|
COMMAND: create
|
|
|
|
OVERWRITE: true
|
|
|
|
#OVERWRITE: true
|
|
|
|
ADMINS: davidd_almeida,kevinmonteiro,antoineperederii,paullevrault,antoinepinagot
|
|
|
|
ADMINS: davidd_almeida,kevinmonteiro,antoineperederii,paullevrault,antoinepinagot
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- docker-build-and-push
|
|
|
|
- docker-build-and-push
|