Compare commits

...

6 Commits

Author SHA1 Message Date
Woodpecker CI
78cab3ffe2 chore: release v0.0.18 [skip ci] 2026-05-03 18:52:49 +00:00
spassignat
f8dcae93c5 patch: pipeline manual
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-03 20:51:41 +02:00
spassignat
244f46418b Merge remote-tracking branch 'origin/main'
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/manual/test Pipeline was successful
2026-05-03 16:59:19 +02:00
spassignat
c334f5ec09 patch: pipeline id 2026-05-03 16:59:13 +02:00
Woodpecker CI
9579676b0c chore: release v0.0.17 [skip ci]
All checks were successful
ci/woodpecker/manual/build-pipeline Pipeline was successful
2026-05-03 14:11:50 +00:00
spassignat
10dd888152 patch: pipeline id
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-03 16:10:48 +02:00
5 changed files with 20 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
when: when:
- event: push - event: push
branch: [ main ] branch: [ main ]
- event: pull_request
- event: manual
variables: variables:
- &node_image node:18-alpine - &node_image node:18-alpine
@@ -199,6 +197,9 @@ steps:
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 ]
when:
- event: never
- name: trigger-deployment2 - name: trigger-deployment2
image: woodpeckerci/plugin-trigger image: woodpeckerci/plugin-trigger
@@ -207,6 +208,7 @@ steps:
server: https://woodpecker.cicd.exygen.fr server: https://woodpecker.cicd.exygen.fr
# Le token d'API (doit être stocké comme secret) # Le token d'API (doit être stocké comme secret)
branche: main branche: main
deploy_pipeline: ${CI_PIPELINE_NUMBER}
token: token:
from_secret: woodpecker_token from_secret: woodpecker_token
# Le dépôt cible, avec la branche optionnelle (format propriétaire/répertoire[@branche]) # Le dépôt cible, avec la branche optionnelle (format propriétaire/répertoire[@branche])
@@ -219,4 +221,6 @@ steps:
# (Optionnel) Attendre la fin du pipeline déclenché # (Optionnel) Attendre la fin du pipeline déclenché
wait: true wait: true
# Déclenche cette étape uniquement après une publication réussie # Déclenche cette étape uniquement après une publication réussie
depends_on: [ commit_tag ] depends_on: [ commit_tag ]
when:
- event: never

10
.woodpecker/test.yml Normal file
View File

@@ -0,0 +1,10 @@
when:
- event: [ push, deployment, manual ]
steps:
- name: test
image: alpine
commands: |
echo "Pipeline déclenché !"
echo "Event: ${CI_PIPELINE_EVENT}"
echo "Deploy to: ${CI_PIPELINE_DEPLOY_TARGET}"

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.16", "version": "0.0.18",
"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",