|
|
@ -11,35 +11,44 @@ trigger:
|
|
|
|
- push
|
|
|
|
- push
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: hadolint
|
|
|
|
- name: deploy-container-mysql
|
|
|
|
image: hadolint/hadolint:latest-alpine
|
|
|
|
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- cd Sources/
|
|
|
|
|
|
|
|
- hadolint --version
|
|
|
|
|
|
|
|
- hadolint Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
|
|
|
|
image: plugins/docker
|
|
|
|
|
|
|
|
settings:
|
|
|
|
|
|
|
|
dockerfile: Sources/Dockerfile
|
|
|
|
|
|
|
|
context: Sources/
|
|
|
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/felix.mielcarek/openlibraryws_wrapper
|
|
|
|
|
|
|
|
username:
|
|
|
|
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
|
|
|
password:
|
|
|
|
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy-container
|
|
|
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_DTO: Database
|
|
|
|
IMAGENAME: mariadb:10
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/openlibraryws_wrapper:latest
|
|
|
|
CONTAINERNAME: databaseopenlibrary
|
|
|
|
CONTAINERNAME: openlibraryws_wrapper
|
|
|
|
|
|
|
|
COMMAND: create
|
|
|
|
COMMAND: create
|
|
|
|
OVERWRITE: true
|
|
|
|
# OVERWRITE: false
|
|
|
|
depends_on: [docker-build-and-push]
|
|
|
|
PRIVATE: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - name: hadolint
|
|
|
|
|
|
|
|
# image: hadolint/hadolint:latest-alpine
|
|
|
|
|
|
|
|
# commands:
|
|
|
|
|
|
|
|
# - cd Sources/
|
|
|
|
|
|
|
|
# - hadolint --version
|
|
|
|
|
|
|
|
# - hadolint Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - name: docker-build-and-push
|
|
|
|
|
|
|
|
# image: plugins/docker
|
|
|
|
|
|
|
|
# settings:
|
|
|
|
|
|
|
|
# dockerfile: Sources/Dockerfile
|
|
|
|
|
|
|
|
# context: Sources/
|
|
|
|
|
|
|
|
# registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
|
|
|
# repo: hub.codefirst.iut.uca.fr/felix.mielcarek/openlibraryws_wrapper
|
|
|
|
|
|
|
|
# username:
|
|
|
|
|
|
|
|
# from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
|
|
|
# password:
|
|
|
|
|
|
|
|
# from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - name: deploy-container
|
|
|
|
|
|
|
|
# image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
|
|
|
# environment:
|
|
|
|
|
|
|
|
# CODEFIRST_CLIENTDRONE_ENV_DTO: Database
|
|
|
|
|
|
|
|
# IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/openlibraryws_wrapper:latest
|
|
|
|
|
|
|
|
# CONTAINERNAME: openlibraryws_wrapper
|
|
|
|
|
|
|
|
# COMMAND: create
|
|
|
|
|
|
|
|
# OVERWRITE: true
|
|
|
|
|
|
|
|
# depends_on: [docker-build-and-push]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - name: generate-swagger
|
|
|
|
# - name: generate-swagger
|
|
|
|