Compare commits

...

10 Commits

Author SHA1 Message Date
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
5 changed files with 28 additions and 3 deletions

View File

@@ -178,7 +178,6 @@ steps:
from_secret: woodpecker_token
commands: |
source $CI_WORKSPACE/version.env
if [ "$version_type" != "none" ]; then
echo "🚀 Déclenchement du déploiement pour la version $NEW_VERSION"
echo "🚀 $CI_REPO_OWNER"
@@ -195,9 +194,32 @@ steps:
"deploy_id": "'$CI_PIPELINE_NUMBER'",
"ref": "refs/tags/v'$NEW_VERSION'"
}'
echo "✅ Événement deployment déclenché"
else
echo "⏭️ Pas de déclenchement (version_type=none)"
fi
depends_on: [ commit_tag ]
- name: trigger-deployment2
image: woodpeckerci/plugin-trigger
pipeline:
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: 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

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