sauvegarde avant pull

This commit is contained in:
wkadmin 2025-10-25 22:52:48 +00:00
parent 4f5d39726b
commit 8404d365f8
1517 changed files with 2 additions and 70 deletions

31
Jenkinsfile vendored
View File

@ -1,31 +0,0 @@
pipeline {
agent any
environment {
COMPOSE_DIR = '/srv/devops/the-tip-top'
SERVICE = 'backend'
}
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Build & Deploy') {
steps {
sh """
cd ${COMPOSE_DIR}
docker compose up -d ${SERVICE}
"""
}
}
}
post {
success {
echo "✅ Backend déployé avec succès."
}
failure {
echo "❌ Échec du déploiement du backend."
}
}
}

View File

@ -1,5 +0,0 @@
DB_HOST=the-tip-top-db
DB_USER=postgres
DB_PASS=postgres
DB_NAME=thetiptop
PORT=4000

31
backend/Jenkinsfile vendored
View File

@ -1,31 +0,0 @@
pipeline {
agent any
environment {
COMPOSE_DIR = '/srv/devops/the-tip-top'
SERVICE = 'backend'
}
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Build & Deploy') {
steps {
sh """
cd ${COMPOSE_DIR}
docker compose up -d ${SERVICE}
"""
}
}
}
post {
success {
echo "✅ Backend déployé avec succès."
}
failure {
echo "❌ Échec du déploiement du backend."
}
}
}

Some files were not shown because too many files have changed in this diff Show More