patch: pipeline minio
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed

This commit is contained in:
spassignat
2026-05-04 17:19:25 +02:00
parent 161e2c12cf
commit 35adae3978
2 changed files with 11 additions and 7 deletions

View File

@@ -3,9 +3,9 @@ when:
branch: [ main ]
variables:
- &node_image: node:18-alpine
- &git_image: alpine/git
- &curl_image: curlimages/curl:latest
- &node_image node:18-alpine
- &git_image alpine/git
- &curl_image curlimages/curl:latest
- NEXUS_API: http://nexus.cicd.exygen.fr/service/rest/v1/
- WOODPECKER_API: http://woodpecker.cicd.exygen.fr/api
- NEXUS_URL: http://nexus.cicd.exygen.fr/repository/domaine-passignat/apps

View File

@@ -3,12 +3,16 @@
when:
- event: [ deployment,manual ]
variables:
- &minio_mc minio/mc
- &appleboy_drone-scp appleboy/drone-scp
- &appleboy_drone-ssh appleboy/drone-ssh
- &curlimages_curl:latest curlimages/curl:latest
- NEXUS_URL: https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps
steps:
- name: get-share-data
image: minio/mc
image: *minio_mc
commands:
- echo " Save pipeline info"
- mc alias set local http://minio:9000 minioadmin minioadmin123
@@ -17,7 +21,7 @@ steps:
- more .buildinfo
- name: get-artifact
image: curlimages/curl:latest
image: *curlimages_curl
commands: |
- ls -als
- more .buildinfo
@@ -28,7 +32,7 @@ steps:
# Étape 7: Transfert vers le serveur distant (SCP)
- name: transfert
image: appleboy/drone-scp
image: *appleboy_drone-scp
settings:
host:
from_secret: remote_host
@@ -43,7 +47,7 @@ steps:
# Étape 8: Déploiement sur le serveur distant
- name: deploy
image: appleboy/drone-ssh
image: *appleboy_drone-ssh
environment:
SUDO_PASSWORD:
from_secret: remote_password