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.
33 lines
1.0 KiB
33 lines
1.0 KiB
kind: pipeline
|
|
type: docker
|
|
name: deploy-postgresql
|
|
|
|
steps:
|
|
# container deployment
|
|
- name: docker-build-and-push
|
|
image: hub.codefirst.iut.uca.fr/clement.freville2/plugins/kaniko:latest
|
|
settings:
|
|
dockerfile: docker/Dockerfile
|
|
CONTAINERNAME: WF-DATABASE
|
|
COMMAND: create
|
|
OVERWRITE: true
|
|
CODEFIRST_CLIENTDRONE_ENV_PGSQL_ROOT_PASSWORD:
|
|
from_secret: db_server
|
|
CODEFIRST_CLIENTDRONE_ENV_PGSQL_USER:
|
|
from_secret: db_user
|
|
CODEFIRST_CLIENTDRONE_ENV_PGSQL_PASSWORD:
|
|
from_secret: db_password
|
|
CODEFIRST_CLIENTDRONE_ENV_PGSQL_DATABASE:
|
|
from_secret: db_database
|
|
|
|
- name: deploy-container
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
environment:
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/maxime.rocher/WikiFantasy/WF-Database:latest
|
|
CONTAINERNAME: DBWIKIFANTASY
|
|
COMMAND: create
|
|
OVERWRITE: true
|
|
depends_on:
|
|
- docker-build-and-push
|
|
|