Compare commits

...

2 Commits

Author SHA1 Message Date
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
4 changed files with 8 additions and 6 deletions

1
.woodpecker/builds/102 Normal file
View File

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

View File

@@ -13,10 +13,10 @@ steps:
echo CI_PIPELINE_NUMBER=$CI_PIPELINE_NUMBER echo CI_PIPELINE_NUMBER=$CI_PIPELINE_NUMBER
echo CI_PREV_PIPELINE_NUMBER=$CI_PREV_PIPELINE_NUMBER echo CI_PREV_PIPELINE_NUMBER=$CI_PREV_PIPELINE_NUMBER
echo CI_PREV_PIPELINE_PARENT=$CI_PREV_PIPELINE_PARENT echo CI_PREV_PIPELINE_PARENT=$CI_PREV_PIPELINE_PARENT
source .woodpecker/$CI_PREV_PIPELINE_NUMBER source .woodpecker/builds/$CI_PREV_PIPELINE_NUMBER
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 \
"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}/${NEW_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
@@ -29,7 +29,7 @@ steps:
password: password:
from_secret: remote_password from_secret: remote_password
port: 22 port: 22
source: /tmp/${CI_REPO_NAME}-$NEW_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

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