Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76c2e6800f | ||
|
|
e13fe00108 | ||
|
|
5ef1f821a0 | ||
|
|
95222843e6 | ||
|
|
ffa32e2e81 | ||
|
|
7ee393b594 |
@@ -7,6 +7,7 @@ variables:
|
|||||||
appleboy_drone_scp: &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 appleboy/drone-ssh
|
||||||
curlimages_curl: &curlimages_curl curlimages/curl:latest
|
curlimages_curl: &curlimages_curl curlimages/curl:latest
|
||||||
|
nexus_repository: &nexus_repository domaine-passignat
|
||||||
nexus_url: &nexus_url http://nexus.cicd.exygen.fr/repository/domaine-passignat/apps
|
nexus_url: &nexus_url http://nexus.cicd.exygen.fr/repository/domaine-passignat/apps
|
||||||
|
|
||||||
|
|
||||||
@@ -26,11 +27,18 @@ steps:
|
|||||||
from_secret: nexus_username
|
from_secret: nexus_username
|
||||||
NEXUS_PASSWORD:
|
NEXUS_PASSWORD:
|
||||||
from_secret: nexus_password
|
from_secret: nexus_password
|
||||||
NEXUS_REPOSITORY: domaine-passignat
|
NEXUS_REPOSITORY: *nexus_repository
|
||||||
NEXUS_URL: *nexus_url
|
NEXUS_URL: *nexus_url
|
||||||
commands:
|
commands:
|
||||||
- ls -als
|
- ls -als
|
||||||
- curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar "${NEXUS_URL}/${CI_REPO_NAME}/${NEW_VERSION}/${CI_REPO_NAME}-${NEW_VERSION}.tar"
|
- source .buildinfo
|
||||||
|
- env
|
||||||
|
- echo $NEW_VERSION
|
||||||
|
- echo ${NEW_VERSION}
|
||||||
|
- echo $NEXUS_URL
|
||||||
|
- echo ${NEXUS_URL}
|
||||||
|
- echo ${CI_REPO_NAME}
|
||||||
|
- curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar "$NEXUS_URL/${CI_REPO_NAME}/${NEW_VERSION}/${CI_REPO_NAME}-${NEW_VERSION}.tar"
|
||||||
depends_on: [ get-share-data ]
|
depends_on: [ get-share-data ]
|
||||||
|
|
||||||
# Étape 7: Transfert vers le serveur distant (SCP)
|
# Étape 7: Transfert vers le serveur distant (SCP)
|
||||||
|
|||||||
1
database/src/sql/version-0.0.50-0.0.51.sql
Normal file
1
database/src/sql/version-0.0.50-0.0.51.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
1
database/src/sql/version-0.0.51-0.0.52.sql
Normal file
1
database/src/sql/version-0.0.51-0.0.52.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
1
database/src/sql/version-0.0.52-0.0.53.sql
Normal file
1
database/src/sql/version-0.0.52-0.0.53.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "cicd",
|
"name": "cicd",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.50",
|
"version": "0.0.53",
|
||||||
"description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL",
|
"description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"update:patch": "node scripts/update-version.js -patch",
|
"update:patch": "node scripts/update-version.js -patch",
|
||||||
|
|||||||
Reference in New Issue
Block a user