Compare commits

...

4 Commits

Author SHA1 Message Date
Woodpecker CI
11f0109bc5 chore: release v0.0.46 [skip ci] 2026-05-04 16:27:37 +00:00
spassignat
e25080a87c patch: pipeline minio
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed
2026-05-04 18:26:39 +02:00
Woodpecker CI
f71058a31a chore: release v0.0.45 [skip ci] 2026-05-04 16:04:26 +00:00
spassignat
bd98d8eb6e patch: pipeline minio
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed
2026-05-04 18:03:28 +02:00
5 changed files with 14 additions and 7 deletions

View File

@@ -138,7 +138,7 @@ steps:
from_secret: gitea_token
commands: |
source $CI_WORKSPACE/version.env
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 config user.email "woodpecker@exygen.fr"

View File

@@ -7,28 +7,33 @@ variables:
appleboy_drone_scp: &appleboy_drone_scp appleboy/drone-scp
appleboy_drone_ssh: &appleboy_drone_ssh appleboy/drone-ssh
curlimages_curl: &curlimages_curl curlimages/curl:latest
NEXUS_URL: https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps
nexus_url: &nexus_url http://nexus.cicd.exygen.fr/repository/domaine-passignat/apps
steps:
- name: get-share-data
image: *minio_mc
commands:
- echo " Save pipeline info"
- echo " Load pipeline info"
- mc alias set local http://minio:9000 minioadmin minioadmin123
- mc get local/cicd/repository_$CI_REPO_REMOTE_ID/pipeline_$CI_PIPELINE_PARENT .buildinfo
- ls -als
- more .buildinfo
- name: get-artifact
image: *curlimages_curl
environment:
NEXUS_USERNAME:
from_secret: nexus_username
NEXUS_PASSWORD:
from_secret: nexus_password
NEXUS_REPOSITORY: domaine-passignat
NEXUS_URL: *nexus_url
commands: |
- ls -als
- more .buildinfo
- source .buildinfo
- echo new version: ${NEW_VERSION}
- curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar "$NEXUS_URL/${CI_REPO_NAME}/${NEW_VERSION}/${CI_REPO_NAME}-${VERSION}.tar"
depends_on: [ get-share-data]
depends_on: [ get-share-data ]
# Étape 7: Transfert vers le serveur distant (SCP)
- name: transfert

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.44",
"version": "0.0.46",
"description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL",
"scripts": {
"update:patch": "node scripts/update-version.js -patch",