Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
Project
L
leximpact-dotations-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur dotations aux communes
leximpact-dotations-ui
Merge requests
!9
Met à jour les sources du dépôt au déploiement en intégration
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Met à jour les sources du dépôt au déploiement en intégration
pull-src-server
into
main
Overview
0
Commits
7
Pipelines
3
Changes
1
Merged
Met à jour les sources du dépôt au déploiement en intégration
sandcha
requested to merge
pull-src-server
into
main
9 months ago
Overview
0
Commits
7
Pipelines
3
Changes
1
Amélioration technique.
Détails :
Ajoute la mise à jour du code source lors d'un déploiement en intégration
Complète le job de CI
deploy-integ
Définit la mise à jour du service en intégration dans
.gitlab/ci/deploy.sh
Edited
9 months ago
by
sandcha
0
0
Merge request reports
Viewing commit
2a9bbe0d
Previous
Next
Show latest version
1 file
+
6
−
6
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
2a9bbe0d
Evite de stopper le service en intégration en cas de build
· 2a9bbe0d
sandcha
authored
9 months ago
.gitlab/ci/deploy.sh
+
6
−
6
View file @ 2a9bbe0d
Edit in single-file editor
Open in Web IDE
Show full file
@@ -5,14 +5,14 @@
@@ -5,14 +5,14 @@
# stop at first error
# stop at first error
set
-e
set
-e
echo
"Stop the service before deleting the build..."
# INFO:
systemctl
--user
stop dotations-ui-integ.service
# no need to stop the service or delete the previous build before (re)build
# (in case of memory shortage move the building step to the CI)
npm run clean:
build
echo
"Update the application's dependencies and
build
..."
npm
install
npm
install
npm run build
npm run build
echo
"
S
tart the service after build
creation
..."
echo
"
Res
tart the service after build
update
..."
systemctl
--user
start dotations-ui-integ.service
systemctl
--user
re
start dotations-ui-integ.service
echo
"Deployment done! 🎉"
echo
"Deployment done! 🎉"
Loading