Fix CI
continuous-integration/drone/push Build is passing Details

main
Félix MIELCAREK 11 months ago
parent aec2427291
commit 4b589d1dbc

@ -1,6 +1,6 @@
kind: pipeline
type: docker
name: DB_PIPELINE
name: BB_PIPELINE
steps:
@ -21,23 +21,23 @@ steps:
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
from_secret: db_password
# - name: create-bigbrother-database
# image: python:latest
# commands:
# - cd database/
# - pip install psycopg2
# - python3 db-creation.py
# environment:
# POSTGRES_USER:
# from_secret: db_user
# POSTGRES_PASSWORD:
# from_secret: db_password
# depends_on: [ deploy-container-pgsql ]
- name: create-bigbrother-database
image: python:latest
commands:
- cd database/
- pip install psycopg2
- python3 db-creation.py
environment:
POSTGRES_USER:
from_secret: db_user
POSTGRES_PASSWORD:
from_secret: db_password
depends_on: [ deploy-container-pgsql ]
- name: build-image-webapp
- name: build-image-server
image: plugins/docker
settings:
dockerfile: web/Dockerfile
dockerfile: callback-server/Dockerfile
context: ./
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother
@ -46,11 +46,11 @@ steps:
password:
from_secret: SECRET_REGISTRY_PASSWORD
- name: deploy-container-webapp
- name: deploy-container-server
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother:latest
CONTAINERNAME: bigbrotherwebapp
CONTAINERNAME: bigbrotherserver
COMMAND: create
OVERWRITE: true
POSTGRES_USER:
@ -63,4 +63,4 @@ steps:
from_secret: spotify_client_id
CLIENT_SECRET:
from_secret: spotify_client_id
depends_on: [ build-image-webapp ]
depends_on: [ build-image-server ]

Loading…
Cancel
Save