Compare commits
4 Commits
v0.0.7
...
e63b6c4e3f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e63b6c4e3f | ||
|
|
9f5f919ff9 | ||
|
|
bae02f80e2 | ||
|
|
0aa601d144 |
@@ -8,7 +8,7 @@ variables:
|
|||||||
- &node_image node:18-alpine
|
- &node_image node:18-alpine
|
||||||
- &git_image alpine/git
|
- &git_image alpine/git
|
||||||
- &curl_image curlimages/curl:latest
|
- &curl_image curlimages/curl:latest
|
||||||
- &repository domaine-passignat
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Étape 1: Nettoyage du projet
|
# Étape 1: Nettoyage du projet
|
||||||
@@ -113,6 +113,7 @@ 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
|
||||||
commands: |
|
commands: |
|
||||||
source $CI_WORKSPACE/version.env
|
source $CI_WORKSPACE/version.env
|
||||||
echo $CI_REPO_OWNER
|
echo $CI_REPO_OWNER
|
||||||
@@ -131,7 +132,7 @@ steps:
|
|||||||
-F "raw.directory=apps/$CI_REPO_NAME/$NEW_VERSION" \
|
-F "raw.directory=apps/$CI_REPO_NAME/$NEW_VERSION" \
|
||||||
-F "raw.asset1=@$ARTIFACT_FILE" \
|
-F "raw.asset1=@$ARTIFACT_FILE" \
|
||||||
-F "raw.asset1.filename=$ARTIFACT" \
|
-F "raw.asset1.filename=$ARTIFACT" \
|
||||||
http://nexus.cicd.exygen.fr/service/rest/v1/components?repository=*repository
|
http://nexus.cicd.exygen.fr/service/rest/v1/components?repository=$NEXUS_REPOSITORY
|
||||||
echo "✅ Artefact publié"
|
echo "✅ Artefact publié"
|
||||||
else
|
else
|
||||||
echo "⏭️ Pas de publication (version_type=none)"
|
echo "⏭️ Pas de publication (version_type=none)"
|
||||||
|
|||||||
1
database/src/sql/version-0.0.7-0.0.8.sql
Normal file
1
database/src/sql/version-0.0.7-0.0.8.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "cicd",
|
"name": "cicd",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.7",
|
"version": "0.0.8",
|
||||||
"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