Compare commits

...

20 Commits

Author SHA1 Message Date
Woodpecker CI
91af4b5739 chore: release v0.0.20 [skip ci] 2026-05-04 05:53:19 +00:00
spassignat
e267aeb1ca patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 07:52:17 +02:00
spassignat
4e5e8f0644 patch: pipeline manual
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed
2026-05-04 07:51:18 +02:00
spassignat
a253393f58 patch: pipeline manual
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed
2026-05-03 23:30:19 +02:00
spassignat
0b1308e8f0 Merge remote-tracking branch 'origin/main'
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed
2026-05-03 21:11:55 +02:00
spassignat
838d7a42eb patch: pipeline manual 2026-05-03 21:11:48 +02:00
Woodpecker CI
55b60e06da chore: release v0.0.19 [skip ci] 2026-05-03 19:08:54 +00:00
spassignat
7ee90cba7c patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-03 21:07:54 +02:00
spassignat
bbb29459f6 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
2026-05-03 21:06:00 +02:00
spassignat
f564b38987 patch: pipeline manual 2026-05-03 21:05:18 +02:00
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
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
9 changed files with 17 additions and 10 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
@@ -14,7 +12,8 @@ steps:
- name: clean_project - name: clean_project
image: *git_image image: *git_image
commands: | commands: |
ls -als /
touch /shared/build.txt
echo "1 $CI_WORKSPACE" echo "1 $CI_WORKSPACE"
rm -rf dist rm -rf dist
rm -f $CI_WORKSPACE/build/version.env rm -f $CI_WORKSPACE/build/version.env
@@ -199,23 +198,24 @@ 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
pipeline:
settings: settings:
# L'URL de votre serveur Woodpecker # L'URL de votre serveur Woodpecker
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])
repo: domaine-passignat/gestion repo: domaine-passignat/gestion
# Paramètre CLÉ : active l'événement 'deployment' et spécifie l'environnement cible # Paramètre CLÉ : active l'événement 'deployment' et spécifie l'environnement cible
deploy: production deploy_to: production
# (Optionnel) Transmettre des variables au pipeline déclenché (ex: une version) # (Optionnel) Transmettre des variables au pipeline déclenché (ex: une version)
params: params:
- VERSION=${NEW_VERSION} - VERSION=${NEW_VERSION}
@@ -223,3 +223,5 @@ steps:
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

View File

@@ -1,7 +1,7 @@
# Documentation: https://woodpecker-ci.org/docs/usage/workflow-syntax # Documentation: https://woodpecker-ci.org/docs/usage/workflow-syntax
when: when:
- event: deployment - event: [ deployment,manual ]
steps: steps:
- name: get-artifact - name: get-artifact

View File

@@ -1 +1 @@
test 2222222 test 2222222x

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

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

View File

@@ -1,7 +1,7 @@
{ {
"name": "cicd", "name": "cicd",
"private": true, "private": true,
"version": "0.0.15", "version": "0.0.20",
"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",