Compare commits
10 Commits
72d52577e3
...
v0.0.53
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76c2e6800f | ||
|
|
e13fe00108 | ||
|
|
5ef1f821a0 | ||
|
|
95222843e6 | ||
|
|
ffa32e2e81 | ||
|
|
7ee393b594 | ||
|
|
14342999e2 | ||
|
|
0e18715f05 | ||
|
|
b64fa8fada | ||
|
|
932c500c1b |
@@ -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
|
||||||
|
|
||||||
|
|
||||||
@@ -18,7 +19,6 @@ steps:
|
|||||||
- mc alias set local http://minio:9000 minioadmin minioadmin123
|
- mc alias set local http://minio:9000 minioadmin minioadmin123
|
||||||
- mc get local/cicd/repository_$CI_REPO_REMOTE_ID/pipeline_$CI_PIPELINE_PARENT .buildinfo
|
- mc get local/cicd/repository_$CI_REPO_REMOTE_ID/pipeline_$CI_PIPELINE_PARENT .buildinfo
|
||||||
- ls -als
|
- ls -als
|
||||||
- more .buildinfo
|
|
||||||
|
|
||||||
- name: get-artifact
|
- name: get-artifact
|
||||||
image: *curlimages_curl
|
image: *curlimages_curl
|
||||||
@@ -27,12 +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
|
||||||
- source .buildinfo
|
- source .buildinfo
|
||||||
- curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar "${NEXUS_URL}/${CI_REPO_NAME}/${NEW_VERSION}/${CI_REPO_NAME}-${NEW_VERSION}.tar"
|
- 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.49-0.0.50.sql
Normal file
1
database/src/sql/version-0.0.49-0.0.50.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
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.49",
|
"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