Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91af4b5739 | ||
|
|
e267aeb1ca | ||
|
|
4e5e8f0644 | ||
|
|
a253393f58 | ||
|
|
0b1308e8f0 | ||
|
|
838d7a42eb | ||
|
|
55b60e06da | ||
|
|
7ee90cba7c | ||
|
|
bbb29459f6 | ||
|
|
f564b38987 | ||
|
|
78cab3ffe2 | ||
|
|
f8dcae93c5 | ||
|
|
244f46418b | ||
|
|
c334f5ec09 |
@@ -1,8 +1,6 @@
|
|||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: [ main ]
|
branch: [ main ]
|
||||||
- event: pull_request
|
|
||||||
- event: manual
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &node_image node:18-alpine
|
- &node_image node:18-alpine
|
||||||
@@ -14,7 +12,8 @@ steps:
|
|||||||
- name: clean_project
|
- name: clean_project
|
||||||
image: *git_image
|
image: *git_image
|
||||||
commands: |
|
commands: |
|
||||||
|
ls -als /
|
||||||
|
touch /shared/build.txt
|
||||||
echo "1 $CI_WORKSPACE"
|
echo "1 $CI_WORKSPACE"
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
rm -f $CI_WORKSPACE/build/version.env
|
rm -f $CI_WORKSPACE/build/version.env
|
||||||
@@ -199,6 +198,9 @@ steps:
|
|||||||
echo "⏭️ Pas de déclenchement (version_type=none)"
|
echo "⏭️ Pas de déclenchement (version_type=none)"
|
||||||
fi
|
fi
|
||||||
depends_on: [ commit_tag ]
|
depends_on: [ commit_tag ]
|
||||||
|
when:
|
||||||
|
- event: never
|
||||||
|
|
||||||
|
|
||||||
- name: trigger-deployment2
|
- name: trigger-deployment2
|
||||||
image: woodpeckerci/plugin-trigger
|
image: woodpeckerci/plugin-trigger
|
||||||
@@ -220,4 +222,6 @@ steps:
|
|||||||
# (Optionnel) Attendre la fin du pipeline déclenché
|
# (Optionnel) Attendre la fin du pipeline déclenché
|
||||||
wait: true
|
wait: true
|
||||||
# Déclenche cette étape uniquement après une publication réussie
|
# Déclenche cette étape uniquement après une publication réussie
|
||||||
depends_on: [ commit_tag ]
|
depends_on: [ commit_tag ]
|
||||||
|
when:
|
||||||
|
- event: never
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Documentation: https://woodpecker-ci.org/docs/usage/workflow-syntax
|
# Documentation: https://woodpecker-ci.org/docs/usage/workflow-syntax
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: deployment
|
- event: [ deployment,manual ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: get-artifact
|
- name: get-artifact
|
||||||
|
|||||||
1
database/src/sql/version-0.0.17-0.0.18.sql
Normal file
1
database/src/sql/version-0.0.17-0.0.18.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
1
database/src/sql/version-0.0.18-0.0.19.sql
Normal file
1
database/src/sql/version-0.0.18-0.0.19.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
1
database/src/sql/version-0.0.19-0.0.20.sql
Normal file
1
database/src/sql/version-0.0.19-0.0.20.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "cicd",
|
"name": "cicd",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.17",
|
"version": "0.0.20",
|
||||||
"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