Compare commits

...

22 Commits

Author SHA1 Message Date
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
Woodpecker CI
0a7169ec69 chore: release v0.0.28 [skip ci] 2026-05-04 07:02:06 +00:00
spassignat
b8e748103d patch: pipeline manual
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed
2026-05-04 09:01:09 +02:00
spassignat
7bd7dc0e62 patch: pipeline manual
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed
2026-05-04 08:59:01 +02:00
Woodpecker CI
68710f91f4 chore: release v0.0.27 [skip ci] 2026-05-04 06:54:28 +00:00
spassignat
fd19361e35 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 08:53:28 +02:00
Woodpecker CI
213d061f0b chore: release v0.0.26 [skip ci] 2026-05-04 06:39:19 +00:00
spassignat
9f43203b94 patch: pipeline manual
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed
2026-05-04 08:38:16 +02:00
Woodpecker CI
021c4ed2d3 chore: release v0.0.25 [skip ci] 2026-05-04 06:35:27 +00:00
spassignat
d06877bd7d patch: pipeline manual
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed
2026-05-04 08:34:23 +02:00
Woodpecker CI
19625f0c13 chore: release v0.0.24 [skip ci] 2026-05-04 06:31:56 +00:00
spassignat
bcf510b936 patch: pipeline manual
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed
2026-05-04 08:30:54 +02:00
Woodpecker CI
f6139782b4 chore: release v0.0.23 [skip ci] 2026-05-04 06:26:11 +00:00
16 changed files with 26 additions and 17 deletions

View File

@@ -149,9 +149,11 @@ steps:
git config user.name "Woodpecker CI" git config user.name "Woodpecker CI"
echo " Save pipeline info" echo " Save pipeline info"
mkdir -p .woodpecker/builds/ BUILD=/shared/builds/$CI_REPO_REMOTE_ID/$CI_PIPELINE_NUMBER
echo NEW_VERSION=$NEW_VERSION > .woodpecker/builds/$CI_PIPELINE_NUMBER mkdir -p /shared/builds/$CI_REPO_REMOTE_ID/
git add .woodpecker/builds/$CI_PIPELINE_NUMBER 2>/dev/null || true echo NEW_VERSION=$NEW_VERSION > $BUILD
echo NEW_VERSION=$NEW_VERSION > $BUILD
git add $BUILD 2>/dev/null || true
echo " add generated files (sql)" echo " add generated files (sql)"
git add ./database/src/sql/*.sql 2>/dev/null || true git add ./database/src/sql/*.sql 2>/dev/null || true
@@ -173,7 +175,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
@@ -208,7 +210,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 @@
0.0.21

View File

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

View File

@@ -7,14 +7,13 @@ steps:
- name: get-artifact - name: get-artifact
image: curlimages/curl:latest image: curlimages/curl:latest
commands: | commands: |
echo CI_PIPELINE_PARENT=$CI_PIPELINE_PARENT env
echo CI_COMMIT_TAG=$CI_COMMIT_TAG BUILD=/shared/builds/$CI_REPO_REMOTE_ID/$CI_PIPELINE_PARENT
echo CI_PIPELINE_EVENT=$CI_PIPELINE_EVENT ls -alsR /shared/builds/
echo CI_PIPELINE_NUMBER=$CI_PIPELINE_NUMBER source $BUILD
echo CI_PREV_PIPELINE_NUMBER=$CI_PREV_PIPELINE_NUMBER echo new version: ${NEW_VERSION}
echo CI_PREV_PIPELINE_PARENT=$CI_PREV_PIPELINE_PARENT curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar \
curl -o /tmp/${CI_REPO_NAME}-${VERSION}.tar \ "https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps/${CI_REPO_NAME}/${NEW_VERSION}/${CI_REPO_NAME}-${VERSION}.tar"
"https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps/${CI_REPO_NAME}/${VERSION}/${CI_REPO_NAME}-${VERSION}.tar"
# Étape 7: Transfert vers le serveur distant (SCP) # Étape 7: Transfert vers le serveur distant (SCP)
- name: transfert - name: transfert
@@ -27,7 +26,7 @@ steps:
password: password:
from_secret: remote_password from_secret: remote_password
port: 22 port: 22
source: /tmp/${CI_REPO_NAME}-${VERSION}.tar source: /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar
target: /tmp/ target: /tmp/
depends_on: [ get-artifact ] depends_on: [ get-artifact ]

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

@@ -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.22", "version": "0.0.33",
"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",