patch: pipeline minio
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed

This commit is contained in:
spassignat
2026-05-04 16:59:01 +02:00
parent c51709bd26
commit 78e682d10f

View File

@@ -4,7 +4,7 @@ when:
- event: [ deployment,manual ] - event: [ deployment,manual ]
steps: steps:
- name: share-data - name: get-share-data
image: minio/mc image: minio/mc
commands: commands:
- echo " Save pipeline info" - echo " Save pipeline info"
@@ -19,6 +19,7 @@ steps:
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"
depends_on: [ get-share-data]
# Étape 7: Transfert vers le serveur distant (SCP) # Étape 7: Transfert vers le serveur distant (SCP)
- name: transfert - name: transfert
@@ -33,7 +34,7 @@ steps:
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 ,share-data] depends_on: [ get-artifact ]
# Étape 8: Déploiement sur le serveur distant # Étape 8: Déploiement sur le serveur distant
- name: deploy - name: deploy