Commenting CD steps (test purpose)
continuous-integration/drone/push Build is passing Details

main
Félix MIELCAREK 11 months ago committed by GitHub
parent 3361435516
commit 75599c125b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -21,79 +21,80 @@ steps:
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
from_secret: db_password from_secret: db_password
- name: create-bigbrother-database # - name: create-bigbrother-database
image: python:latest # image: python:latest
commands: # commands:
- cd database/ # - cd database/
- pip install psycopg2 # - pip install psycopg2
- python3 db-creation.py # - python3 db-creation.py
environment: # environment:
POSTGRES_USER: # POSTGRES_USER:
from_secret: db_user # from_secret: db_user
POSTGRES_PASSWORD: # POSTGRES_PASSWORD:
from_secret: db_password # from_secret: db_password
depends_on: [ deploy-container-pgsql ] # depends_on: [ deploy-container-pgsql ]
#
- name: build-image-server # - name: build-image-server
image: plugins/docker # image: plugins/docker
settings: # settings:
dockerfile: callback-server/Dockerfile # dockerfile: callback-server/Dockerfile
context: ./ # context: ./
registry: hub.codefirst.iut.uca.fr # registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother-server # repo: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother-server
username: # username:
from_secret: SECRET_REGISTRY_USERNAME # from_secret: SECRET_REGISTRY_USERNAME
password: # password:
from_secret: SECRET_REGISTRY_PASSWORD # from_secret: SECRET_REGISTRY_PASSWORD
depends_on: [ create-bigbrother-database ] # depends_on: [ create-bigbrother-database ]
#
- name: deploy-container-server # - name: deploy-container-server
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:
IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother-server:latest # IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother-server:latest
CONTAINERNAME: bigbrotherserver # CONTAINERNAME: bigbrotherserver
COMMAND: create # COMMAND: create
OVERWRITE: true # OVERWRITE: true
POSTGRES_USER: # POSTGRES_USER:
from_secret: db_user # from_secret: db_user
POSTGRES_PASSWORD: # POSTGRES_PASSWORD:
from_secret: db_password # from_secret: db_password
POSTGRES_DATABASE: # POSTGRES_DATABASE:
from_secret: db_database # from_secret: db_database
CLIENT_ID: # CLIENT_ID:
from_secret: spotify_client_id # from_secret: spotify_client_id
CLIENT_SECRET: # CLIENT_SECRET:
from_secret: spotify_client_id # from_secret: spotify_client_id
depends_on: [ build-image-server ] # depends_on: [ build-image-server ]
#
- name: build-image-script # - name: build-image-script
image: plugins/docker # image: plugins/docker
settings: # settings:
dockerfile: script/Dockerfile # dockerfile: script/Dockerfile
context: ./ # context: ./
registry: hub.codefirst.iut.uca.fr # registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother # repo: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother
username: # username:
from_secret: SECRET_REGISTRY_USERNAME # from_secret: SECRET_REGISTRY_USERNAME
password: # password:
from_secret: SECRET_REGISTRY_PASSWORD # from_secret: SECRET_REGISTRY_PASSWORD
depends_on: [ create-bigbrother-database ] # depends_on: [ create-bigbrother-database ]
#
- name: deploy-container-script # - name: deploy-container-script
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:
IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother:latest # IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother:latest
CONTAINERNAME: bigbrotherscript # CONTAINERNAME: bigbrotherscript
COMMAND: create # COMMAND: create
OVERWRITE: true # OVERWRITE: true
POSTGRES_USER: # POSTGRES_USER:
from_secret: db_user # from_secret: db_user
POSTGRES_PASSWORD: # POSTGRES_PASSWORD:
from_secret: db_password # from_secret: db_password
POSTGRES_DATABASE: # POSTGRES_DATABASE:
from_secret: db_database # from_secret: db_database
CLIENT_ID: # CLIENT_ID:
from_secret: spotify_client_id # from_secret: spotify_client_id
CLIENT_SECRET: # CLIENT_SECRET:
from_secret: spotify_client_id # from_secret: spotify_client_id
depends_on: [ build-image-script ] # depends_on: [ build-image-script ]
#
Loading…
Cancel
Save