Compare commits

..

14 Commits

Author SHA1 Message Date
Woodpecker CI
d13bb14f34 chore: release v0.0.16 [skip ci] 2026-05-03 14:08:26 +00:00
spassignat
350d3881f0 patch: deploy to
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-03 16:07:25 +02:00
spassignat
69b5c0017f Merge remote-tracking branch 'origin/main'
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-03 16:05:35 +02:00
spassignat
08d234c8bc patch: deploy to 2026-05-03 16:05:12 +02:00
Woodpecker CI
38a422e305 chore: release v0.0.15 [skip ci] 2026-05-03 14:00:18 +00:00
spassignat
1e2cdf82e6 patch: with evt
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-03 15:59:15 +02:00
spassignat
7c88b67418 Merge remote-tracking branch 'origin/main' 2026-05-03 15:44:59 +02:00
spassignat
06f135a005 patch: with evt 2026-05-03 15:42:13 +02:00
Woodpecker CI
8bf8e5448a chore: release v0.0.14 [skip ci] 2026-05-03 13:31:35 +00:00
spassignat
564b5e9f3c patch: with evt
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed
2026-05-03 15:30:32 +02:00
spassignat
ed31bcc0e3 Merge remote-tracking branch 'origin/main'
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed
2026-05-03 15:29:47 +02:00
spassignat
bd17026643 patch: with evt 2026-05-03 15:29:39 +02:00
Woodpecker CI
68b3b81273 chore: release v0.0.13 [skip ci] 2026-05-02 20:36:23 +00:00
spassignat
7eedd9549d patch: with evt
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed
2026-05-02 22:35:22 +02:00
6 changed files with 26 additions and 3 deletions

View File

@@ -178,7 +178,6 @@ steps:
from_secret: woodpecker_token from_secret: woodpecker_token
commands: | commands: |
source $CI_WORKSPACE/version.env source $CI_WORKSPACE/version.env
if [ "$version_type" != "none" ]; then if [ "$version_type" != "none" ]; then
echo "🚀 Déclenchement du déploiement pour la version $NEW_VERSION" echo "🚀 Déclenchement du déploiement pour la version $NEW_VERSION"
echo "🚀 $CI_REPO_OWNER" echo "🚀 $CI_REPO_OWNER"
@@ -195,9 +194,29 @@ steps:
"deploy_id": "'$CI_PIPELINE_NUMBER'", "deploy_id": "'$CI_PIPELINE_NUMBER'",
"ref": "refs/tags/v'$NEW_VERSION'" "ref": "refs/tags/v'$NEW_VERSION'"
}' }'
echo "✅ Événement deployment déclenché" echo "✅ Événement deployment déclenché"
else else
echo "⏭️ Pas de déclenchement (version_type=none)" echo "⏭️ Pas de déclenchement (version_type=none)"
fi fi
depends_on: [ commit_tag ] depends_on: [ commit_tag ]
- name: trigger-deployment2
image: woodpeckerci/plugin-trigger
settings:
# L'URL de votre serveur Woodpecker
server: https://woodpecker.cicd.exygen.fr
# Le token d'API (doit être stocké comme secret)
branche: main
token:
from_secret: woodpecker_token
# Le dépôt cible, avec la branche optionnelle (format propriétaire/répertoire[@branche])
repo: domaine-passignat/gestion
# Paramètre CLÉ : active l'événement 'deployment' et spécifie l'environnement cible
deploy_to: production
# (Optionnel) Transmettre des variables au pipeline déclenché (ex: une version)
params:
- VERSION=${NEW_VERSION}
# (Optionnel) Attendre la fin du pipeline déclenché
wait: true
# Déclenche cette étape uniquement après une publication réussie
depends_on: [ commit_tag ]

View File

@@ -0,0 +1 @@
-- none

View File

@@ -0,0 +1 @@
-- none

View File

@@ -0,0 +1 @@
-- none

View File

@@ -0,0 +1 @@
-- none

View File

@@ -1,7 +1,7 @@
{ {
"name": "cicd", "name": "cicd",
"private": true, "private": true,
"version": "0.0.12", "version": "0.0.16",
"description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL", "description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL",
"scripts": { "scripts": {
"update:patch": "node scripts/update-version.js -patch", "update:patch": "node scripts/update-version.js -patch",