patch: pipeline minio
This commit is contained in:
@@ -4,7 +4,7 @@ when:
|
||||
- event: [ deployment,manual ]
|
||||
|
||||
steps:
|
||||
- name: share-data
|
||||
- name: get-share-data
|
||||
image: minio/mc
|
||||
commands:
|
||||
- echo "ℹ️ Save pipeline info"
|
||||
@@ -19,6 +19,7 @@ steps:
|
||||
echo new version: ${NEW_VERSION}
|
||||
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"
|
||||
depends_on: [ get-share-data]
|
||||
|
||||
# Étape 7: Transfert vers le serveur distant (SCP)
|
||||
- name: transfert
|
||||
@@ -33,7 +34,7 @@ steps:
|
||||
port: 22
|
||||
source: /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar
|
||||
target: /tmp/
|
||||
depends_on: [ get-artifact ,share-data]
|
||||
depends_on: [ get-artifact ]
|
||||
|
||||
# Étape 8: Déploiement sur le serveur distant
|
||||
- name: deploy
|
||||
|
||||
Reference in New Issue
Block a user