Compare commits

...

16 Commits

Author SHA1 Message Date
spassignat
fb305b72b3 Merge remote-tracking branch 'origin/main'
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-02 21:29:02 +02:00
spassignat
a7bcffac98 patch: with cicd 2026-05-02 21:28:31 +02:00
Woodpecker CI
62b401b5a1 chore: release v0.0.11 [skip ci] 2026-05-02 17:59:59 +00:00
spassignat
11b254dff0 patch: with cicd
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-02 19:59:00 +02:00
spassignat
d5a0aa55d5 Merge remote-tracking branch 'origin/main' 2026-05-02 19:58:53 +02:00
spassignat
4b5add7403 patch: with cicd 2026-05-02 19:58:45 +02:00
Woodpecker CI
c862b55393 chore: release v0.0.10 [skip ci] 2026-05-02 17:39:55 +00:00
spassignat
bb5aebdc83 patch: with cicd
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-02 19:38:55 +02:00
spassignat
d169289cb9 Merge remote-tracking branch 'origin/main'
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-02 19:37:09 +02:00
spassignat
ca1b8933a6 patch: with cicd 2026-05-02 19:37:01 +02:00
Woodpecker CI
0f10a62426 chore: release v0.0.9 [skip ci] 2026-05-02 17:28:20 +00:00
spassignat
ebcf40efb0 patch: with admin
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-02 19:27:17 +02:00
spassignat
066e5565c5 patch: upd pwd
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed
2026-05-02 19:24:05 +02:00
spassignat
91149183a2 patch: clean
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline failed
2026-05-02 19:19:14 +02:00
spassignat
42ce3769cd Merge remote-tracking branch 'origin/main'
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-02 19:08:39 +02:00
spassignat
33ab64f609 patch: variable env 2026-05-02 18:51:12 +02:00
6 changed files with 10 additions and 11 deletions

View File

@@ -9,7 +9,6 @@ variables:
- &git_image alpine/git - &git_image alpine/git
- &curl_image curlimages/curl:latest - &curl_image curlimages/curl:latest
steps: steps:
# Étape 1: Nettoyage du projet # Étape 1: Nettoyage du projet
- name: clean_project - name: clean_project
@@ -20,7 +19,6 @@ steps:
rm -rf dist rm -rf dist
rm -f $CI_WORKSPACE/build/version.env rm -f $CI_WORKSPACE/build/version.env
echo "✅ Nettoyage terminé" echo "✅ Nettoyage terminé"
depends_on: [ ] depends_on: [ ]
# Étape 2: Analyser le message du commit # Étape 2: Analyser le message du commit
@@ -67,15 +65,14 @@ steps:
echo "ARTIFACT=no-artifact" >> $CI_WORKSPACE/version.env echo "ARTIFACT=no-artifact" >> $CI_WORKSPACE/version.env
echo "⏭️ Pas de mise à jour de version" echo "⏭️ Pas de mise à jour de version"
fi fi
ls -als
depends_on: [ prepare ] depends_on: [ prepare ]
# Étape 4: Build de l'application # Étape 4: Build de l'application
- name: build - name: build
image: *node_image image: *node_image
commands: | commands:
npm ci --cache .npm --prefer-offline - npm ci --cache .npm --prefer-offline
npm run build - npm run build
depends_on: [ update_version ] depends_on: [ update_version ]
# Étape 5: Package des artefacts # Étape 5: Package des artefacts
@@ -116,8 +113,6 @@ steps:
NEXUS_REPOSITORY: domaine-passignat NEXUS_REPOSITORY: domaine-passignat
commands: | commands: |
source $CI_WORKSPACE/version.env source $CI_WORKSPACE/version.env
echo $CI_REPO_OWNER
echo $CI_REPO_NAME
if [ "$version_type" != "none" ]; then if [ "$version_type" != "none" ]; then
echo "📦 Publication de la version $NEW_VERSION : $ARTIFACT" echo "📦 Publication de la version $NEW_VERSION : $ARTIFACT"
@@ -127,7 +122,7 @@ steps:
exit 1 exit 1
fi fi
curl -v \ curl -v --fail \
-u "$NEXUS_USERNAME:$NEXUS_PASSWORD" \ -u "$NEXUS_USERNAME:$NEXUS_PASSWORD" \
-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" \
@@ -137,7 +132,7 @@ steps:
else else
echo "⏭️ Pas de publication (version_type=none)" echo "⏭️ Pas de publication (version_type=none)"
fi fi
ls -als
depends_on: [ package ] depends_on: [ package ]
# Étape 7: Commit et tag (après publication) # Étape 7: Commit et tag (après publication)

1
README.MD Normal file
View File

@@ -0,0 +1 @@
test 2222222

View File

@@ -0,0 +1 @@
-- none

View File

@@ -0,0 +1 @@
-- none

View File

@@ -0,0 +1 @@
-- none

View File

@@ -1,7 +1,7 @@
{ {
"name": "cicd", "name": "cicd",
"private": true, "private": true,
"version": "0.0.8", "version": "0.0.11",
"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",