Compare commits

...

20 Commits

Author SHA1 Message Date
Woodpecker CI
268930859e chore: release v0.0.37 [skip ci] 2026-05-04 10:12:07 +00:00
spassignat
02e548f723 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 12:10:34 +02:00
Woodpecker CI
1085ba4502 chore: release v0.0.36 [skip ci] 2026-05-04 09:39:41 +00:00
spassignat
cc65eb1ba9 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 11:38:40 +02:00
Woodpecker CI
9b9df6f9c1 chore: release v0.0.35 [skip ci] 2026-05-04 09:19:45 +00:00
spassignat
9d980e79c1 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 11:18:46 +02:00
Woodpecker CI
5a989e4a58 chore: release v0.0.34 [skip ci] 2026-05-04 09:05:46 +00:00
spassignat
e489c6ef1d patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 11:04:45 +02:00
spassignat
d7bca9f4a5 Merge remote-tracking branch 'origin/main' 2026-05-04 11:04:30 +02:00
spassignat
f4664288a9 patch: pipeline manual 2026-05-04 11:04:25 +02:00
Woodpecker CI
eca0e35935 chore: release v0.0.33 [skip ci] 2026-05-04 08:25:40 +00:00
spassignat
f8037f0d3a patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 10:24:40 +02:00
Woodpecker CI
fc785b1f87 chore: release v0.0.32 [skip ci] 2026-05-04 08:15:36 +00:00
spassignat
49a3eeee60 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 10:14:35 +02:00
Woodpecker CI
ea562a4929 chore: release v0.0.31 [skip ci] 2026-05-04 07:55:45 +00:00
spassignat
5bb81c50b5 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 09:54:44 +02:00
Woodpecker CI
150f415e69 chore: release v0.0.30 [skip ci] 2026-05-04 07:13:27 +00:00
spassignat
92d85fab85 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 09:12:30 +02:00
Woodpecker CI
72073176d2 chore: release v0.0.29 [skip ci] 2026-05-04 07:08:15 +00:00
spassignat
532000fc31 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 09:07:15 +02:00
21 changed files with 23 additions and 20 deletions

View File

@@ -131,10 +131,9 @@ steps:
else else
echo "⏭️ Pas de publication (version_type=none)" echo "⏭️ Pas de publication (version_type=none)"
fi fi
depends_on: [ package ] depends_on: [ package ]
# Étape 7: Commit et tag (après publication) # Étape 7: Commit et tag
- name: commit_tag - name: commit_tag
image: *git_image image: *git_image
environment: environment:
@@ -142,16 +141,20 @@ steps:
from_secret: gitea_token from_secret: gitea_token
commands: | commands: |
source $CI_WORKSPACE/version.env source $CI_WORKSPACE/version.env
if [ -d "/shared" ]; then
echo "Le répertoire shared existe"
ls -als /shared/
else
exit -1
fi
if [ "$version_type" != "none" ]; then if [ "$version_type" != "none" ]; then
git remote set-url origin http://oauth2:$GITEA_TOKEN@gitea.cicd.exygen.fr/$CI_REPO_OWNER/$CI_REPO_NAME.git git remote set-url origin http://oauth2:$GITEA_TOKEN@gitea.cicd.exygen.fr/$CI_REPO_OWNER/$CI_REPO_NAME.git
git config user.email "woodpecker@exygen.fr" git config user.email "woodpecker@exygen.fr"
git config user.name "Woodpecker CI" git config user.name "Woodpecker CI"
echo " Save pipeline info" echo " Save pipeline info"
env BUILD=/shared/builds/$CI_REPO_REMOTE_ID/$CI_PIPELINE_NUMBER
BUILD=.woodpecker/builds/$CI_REPO_REMOTE_ID/$CI_PIPELINE_NUMBER mkdir -p /shared/builds/$CI_REPO_REMOTE_ID/
mkdir -p .woodpecker/builds/$CI_REPO_REMOTE_ID/
echo NEW_VERSION=$NEW_VERSION > $BUILD echo NEW_VERSION=$NEW_VERSION > $BUILD
echo NEW_VERSION=$NEW_VERSION > $BUILD echo NEW_VERSION=$NEW_VERSION > $BUILD
git add $BUILD 2>/dev/null || true git add $BUILD 2>/dev/null || true
@@ -176,7 +179,7 @@ steps:
else else
echo "⚠️ Aucun changement à commiter" echo "⚠️ Aucun changement à commiter"
fi fi
ls -als ls -alsR /shared/builds/
depends_on: [ publish ] depends_on: [ publish ]
# Étape 8: Déclencher le déploiement # Étape 8: Déclencher le déploiement
@@ -211,7 +214,6 @@ steps:
when: when:
- event: never - event: never
- name: trigger-deployment2 - name: trigger-deployment2
image: woodpeckerci/plugin-trigger image: woodpeckerci/plugin-trigger
settings: settings:

View File

@@ -1 +0,0 @@
NEW_VERSION=0.0.24

View File

@@ -1 +0,0 @@
NEW_VERSION=0.0.25

View File

@@ -1 +0,0 @@
NEW_VERSION=0.0.26

View File

@@ -1 +0,0 @@
NEW_VERSION=0.0.27

View File

@@ -1 +0,0 @@
NEW_VERSION=0.0.28

View File

@@ -1 +0,0 @@
0.0.21

View File

@@ -1 +0,0 @@
NEW_VERSION=0.0.22

View File

@@ -1 +0,0 @@
NEW_VERSION=0.0.23

View File

@@ -8,8 +8,8 @@ steps:
image: curlimages/curl:latest image: curlimages/curl:latest
commands: | commands: |
env env
BUILD=.woodpecker/builds/$CI_REPO_REMOTE_ID/$CI_PIPELINE_PARENT BUILD=/shared/builds/$CI_REPO_REMOTE_ID/$CI_PIPELINE_PARENT
ls -als .woodpecker/builds/$CI_REPO_REMOTE_ID/ ls -alsR /shared/builds/
source $BUILD source $BUILD
echo new version: ${NEW_VERSION} echo new version: ${NEW_VERSION}
curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar \ curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar \

View File

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

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

@@ -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.28", "version": "0.0.37",
"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",