Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
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
?
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
4
Merged
Met à jour les sources du dépôt au déploiement en intégration
sandcha
requested to merge
pull-src-server
into
main
6 months ago
Overview
0
Commits
7
Pipelines
3
Changes
4
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
6 months ago
by
sandcha
0
0
Merge request reports
Compare
main
version 2
d4f95b79
6 months ago
version 1
ef97eeec
6 months ago
main (base)
and
latest version
latest version
a186f133
7 commits,
6 months ago
version 2
d4f95b79
3 commits,
6 months ago
version 1
ef97eeec
2 commits,
6 months ago
4 files
+
29
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
.gitlab/ci/deploy.sh
+
6
−
6
View file @ a186f133
Edit in single-file editor
Open in Web IDE
Show full file
@@ -5,14 +5,14 @@
# stop at first error
set
-e
echo
"Stop all services..."
systemctl
--user
stop dotations-ui-integ.service
# Later: remove dependencies before reinstall?
# INFO:
# 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)
echo
"Update the application's dependencies and build..."
npm
install
npm run build
echo
"Restart service..."
systemctl
--user
start dotations-ui-integ.service
echo
"Restart
the
service
after build update
..."
systemctl
--user
re
start dotations-ui-integ.service
echo
"Deployment done! 🎉"
Loading