|
|
@ -54,9 +54,9 @@ steps:
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
depends_on: [build]
|
|
|
|
depends_on: [build]
|
|
|
|
when:
|
|
|
|
# when:
|
|
|
|
branch:
|
|
|
|
# branch:
|
|
|
|
- master
|
|
|
|
# - master
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: docker-build-and-push-api-gateway
|
|
|
|
- name: docker-build-and-push-api-gateway
|
|
|
@ -71,12 +71,22 @@ steps:
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
depends_on: [build]
|
|
|
|
depends_on: [build]
|
|
|
|
when:
|
|
|
|
#when:
|
|
|
|
branch:
|
|
|
|
# branch:
|
|
|
|
- master
|
|
|
|
# - master
|
|
|
|
|
|
|
|
|
|
|
|
#container deployment
|
|
|
|
#container deployment
|
|
|
|
|
|
|
|
- name: deploy-container-restfull
|
|
|
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/victor_perez.ngounou/bowling-api-rest:latest
|
|
|
|
|
|
|
|
CONTAINERNAME: bowling-api-rest
|
|
|
|
|
|
|
|
COMMAND: create
|
|
|
|
|
|
|
|
OVERWRITE: truee
|
|
|
|
|
|
|
|
depends_on: [docker-build-and-push-api-rest]
|
|
|
|
|
|
|
|
# when:
|
|
|
|
|
|
|
|
# branch:
|
|
|
|
|
|
|
|
# - master
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy-container-gateway
|
|
|
|
- name: deploy-container-gateway
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
@ -84,11 +94,11 @@ steps:
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/victor_perez.ngounou/bowling-api-gateway:latest
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/victor_perez.ngounou/bowling-api-gateway:latest
|
|
|
|
CONTAINERNAME: bowling-api-gateway
|
|
|
|
CONTAINERNAME: bowling-api-gateway
|
|
|
|
COMMAND: create
|
|
|
|
COMMAND: create
|
|
|
|
OVERWRITE: true
|
|
|
|
OVERWRITE: truee
|
|
|
|
depends_on: [docker-build-and-push-api-gateway]
|
|
|
|
depends_on: [docker-build-and-push-api-gateway]
|
|
|
|
when:
|
|
|
|
#when:
|
|
|
|
branch:
|
|
|
|
# branch:
|
|
|
|
- master
|
|
|
|
# - master
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- name: docs
|
|
|
|
- name: docs
|
|
|
|