Compare commits

...

19 Commits

Author SHA1 Message Date
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
spassignat
c4297c7c25 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:25:08 +02:00
spassignat
f89ccb0f63 Merge remote-tracking branch 'origin/main' 2026-05-04 08:24:24 +02:00
spassignat
0ba8dd27f0 patch: pipeline manual 2026-05-04 08:24:13 +02:00
Woodpecker CI
b08a3913e7 chore: release v0.0.22 [skip ci] 2026-05-04 06:22:14 +00:00
spassignat
ac4d180382 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 08:21:11 +02:00
18 changed files with 33 additions and 8 deletions

View File

@@ -148,11 +148,17 @@ steps:
git config user.email "woodpecker@exygen.fr"
git config user.name "Woodpecker CI"
mkdir -p .woodpecker/builds/
echo NEW_VERSION=$NEW_VERSION > .woodpecker/builds/$CI_PIPELINE_NUMBER
echo " Save pipeline info"
env
BUILD=/shared/builds/$CI_REPO_REMOTE_ID/$CI_PIPELINE_NUMBER
mkdir -p /shared/builds/$CI_REPO_REMOTE_ID/
echo NEW_VERSION=$NEW_VERSION > $BUILD
echo NEW_VERSION=$NEW_VERSION > $BUILD
git add $BUILD 2>/dev/null || true
echo " add generated files (sql)"
git add ./database/src/sql/*.sql 2>/dev/null || true
git add package.json 2>/dev/null || true
git add .woodpecker/builds/$CI_PIPELINE_NUMBER 2>/dev/null || true
# Commiter uniquement s'il y a des changements
if ! git diff --cached --quiet; then

1
.woodpecker/builds/100 Normal file
View File

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

1
.woodpecker/builds/102 Normal file
View File

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

1
.woodpecker/builds/104 Normal file
View File

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

1
.woodpecker/builds/106 Normal file
View File

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

1
.woodpecker/builds/3/108 Normal file
View File

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

1
.woodpecker/builds/97 Normal file
View File

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

1
.woodpecker/builds/98 Normal file
View File

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

View File

@@ -7,9 +7,13 @@ steps:
- name: get-artifact
image: curlimages/curl:latest
commands: |
VERSION=${CI_COMMIT_TAG#v}
curl -o /tmp/${CI_REPO_NAME}-${VERSION}.tar \
"https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps/${CI_REPO_NAME}/${VERSION}/${CI_REPO_NAME}-${VERSION}.tar"
env
BUILD=/shared/builds/$CI_REPO_REMOTE_ID/$CI_PIPELINE_PARENT
ls -als /shared/builds/$CI_REPO_REMOTE_ID/
source $BUILD
echo new version: ${NEW_VERSION}
curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar \
"https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps/${CI_REPO_NAME}/${NEW_VERSION}/${CI_REPO_NAME}-${VERSION}.tar"
# Étape 7: Transfert vers le serveur distant (SCP)
- name: transfert
@@ -22,7 +26,7 @@ steps:
password:
from_secret: remote_password
port: 22
source: /tmp/${CI_REPO_NAME}-${VERSION}.tar
source: /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar
target: /tmp/
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

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