Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d20a29408f | ||
|
|
78e682d10f |
@@ -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
|
||||
|
||||
1
database/src/sql/version-0.0.42-0.0.43.sql
Normal file
1
database/src/sql/version-0.0.42-0.0.43.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- none
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "cicd",
|
||||
"private": true,
|
||||
"version": "0.0.42",
|
||||
"version": "0.0.43",
|
||||
"description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL",
|
||||
"scripts": {
|
||||
"update:patch": "node scripts/update-version.js -patch",
|
||||
|
||||
Reference in New Issue
Block a user