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

This commit is contained in:
spassignat
2026-05-04 17:35:57 +02:00
parent 3d7f20d2bf
commit 680ac2fd2b
2 changed files with 9 additions and 9 deletions

View File

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

View File

@@ -3,10 +3,10 @@
when: when:
- event: [ deployment,manual ] - event: [ deployment,manual ]
variables: variables:
&minio_mc: minio/mc minio_mc: &minio_mc minio/mc
&appleboy_drone-scp: appleboy/drone-scp appleboy_drone_scp: &appleboy_drone_scp appleboy/drone-scp
&appleboy_drone-ssh: appleboy/drone-ssh appleboy_drone_ssh: &appleboy_drone_ssh appleboy/drone-ssh
&curlimages_curl: curlimages/curl:latest curlimages_curl: &curlimages_curl curlimages/curl:latest
NEXUS_URL: https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps NEXUS_URL: https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps
@@ -32,7 +32,7 @@ steps:
# Étape 7: Transfert vers le serveur distant (SCP) # Étape 7: Transfert vers le serveur distant (SCP)
- name: transfert - name: transfert
image: *appleboy_drone-scp image: *appleboy_drone_scp
settings: settings:
host: host:
from_secret: remote_host from_secret: remote_host
@@ -47,7 +47,7 @@ steps:
# Étape 8: Déploiement sur le serveur distant # Étape 8: Déploiement sur le serveur distant
- name: deploy - name: deploy
image: *appleboy_drone-ssh image: *appleboy_drone_ssh
environment: environment:
SUDO_PASSWORD: SUDO_PASSWORD:
from_secret: remote_password from_secret: remote_password