Compare commits
6 Commits
v0.0.44
...
a2512b1cca
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2512b1cca | ||
|
|
bcee6b5514 | ||
|
|
11f0109bc5 | ||
|
|
e25080a87c | ||
|
|
f71058a31a | ||
|
|
bd98d8eb6e |
@@ -7,25 +7,31 @@ 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_URL: https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps
|
nexus_url: &nexus_url http://nexus.cicd.exygen.fr/repository/domaine-passignat/apps
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: get-share-data
|
- name: get-share-data
|
||||||
image: *minio_mc
|
image: *minio_mc
|
||||||
commands:
|
commands:
|
||||||
- echo "ℹ️ Save pipeline info"
|
- echo "ℹ️ Load pipeline info"
|
||||||
- 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
|
||||||
|
environment:
|
||||||
|
NEXUS_USERNAME:
|
||||||
|
from_secret: nexus_username
|
||||||
|
NEXUS_PASSWORD:
|
||||||
|
from_secret: nexus_password
|
||||||
|
NEXUS_REPOSITORY: domaine-passignat
|
||||||
|
NEXUS_URL: *nexus_url
|
||||||
commands: |
|
commands: |
|
||||||
- ls -als
|
- ls -als
|
||||||
- more .buildinfo
|
|
||||||
- source .buildinfo
|
- source .buildinfo
|
||||||
|
- more .buildinfo
|
||||||
- echo new version: ${NEW_VERSION}
|
- echo new version: ${NEW_VERSION}
|
||||||
- curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar "$NEXUS_URL/${CI_REPO_NAME}/${NEW_VERSION}/${CI_REPO_NAME}-${VERSION}.tar"
|
- curl -o /tmp/${CI_REPO_NAME}-${NEW_VERSION}.tar "$NEXUS_URL/${CI_REPO_NAME}/${NEW_VERSION}/${CI_REPO_NAME}-${VERSION}.tar"
|
||||||
depends_on: [ get-share-data ]
|
depends_on: [ get-share-data ]
|
||||||
|
|||||||
1
database/src/sql/version-0.0.44-0.0.45.sql
Normal file
1
database/src/sql/version-0.0.44-0.0.45.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
1
database/src/sql/version-0.0.45-0.0.46.sql
Normal file
1
database/src/sql/version-0.0.45-0.0.46.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "cicd",
|
"name": "cicd",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.44",
|
"version": "0.0.46",
|
||||||
"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