Comments (4)
Validation du processus de mise en production
Conclusions des tests de mise à jour avec Vagrant.
Protocole de test
-
Déploiement de master avec Vagrant
-
Déplacement de
/home/ubuntu/mes-aides-ui/node_modules
vers/home/ubuntu/node_modules
-
Modification de
/opt/mes-aides/ui_target_revision
(=origin/bump) -
Modification de
/opt/mes-aides/ops_target_revision
(=origin/node_6) -
Lancement de provisioning via
ssh
-
Lancement d'une simulation
-
OpenFisca timeout
-
Ajout en local d'un timeout dans la configuration d'OpenFisca (
/home/ubuntu/mes-aides-ui/openfisca/api_config.ini
) -
service openfisca restart
from aides-jeunes-ops.
Sur Vagrant, OpenFisca timeout lors du calcul d'une simulation.
from aides-jeunes-ops.
Procédures de mise à jour du VPS
Scripts
- Déplacement de node_modules (car
bson
etkerberos
sont utilisés) - Lancement du provisioning
Migration
sudo --user ubuntu mv /home/ubuntu/mes-aides-ui/node_modules /home/ubuntu/node_modules_0.10 &&
/opt/mes-aides/update.sh provision
Rollback
- Suppression des dépendances Node 6
- Remise en place des dépendances Node 0.10
- Mise de la cible mes-aides-ui vers le SHA1 du origin/master actuel
- Lancement du provisioning
rm -fr /home/ubuntu/mes-aides-ui/node_modules &&
sudo --user ubuntu mv /home/ubuntu/node_modules_0.10 /home/ubuntu/mes-aides-ui/node_modules &&
echo 72973ce2e601e8abc66edec2a98da761d86a50cb > /opt/mes-aides/ui_target_revision &&
/opt/mes-aides/update.sh provision
from aides-jeunes-ops.
Done manually on metal.
Done on VPS via #31 (comment)
from aides-jeunes-ops.
Related Issues (20)
- Add VPS instance as an upstream in production HOT 2
- Update SSL Server test raking to A using Puppet provisioning HOT 1
- Include SSL certificate issuance in CI HOT 3
- Test deployment HOT 1
- Mise en production HOT 18
- Supporter le déploiement d'une branche spécifique HOT 2
- Mettre en cache les pages HOT 1
- Documenter graphiquement l'architecture logicielle HOT 1
- Check MongoDB permission issue replicability HOT 1
- Améliorer la stratégie de monitoring
- Identify and fix provisioning issues HOT 2
- Make sure /root/.ssh exists HOT 1
- Implement 0-downtime deployment HOT 1
- Merge & rotate PM2 logs HOT 1
- Install libyaml HOT 1
- Activate PM2 log rotation HOT 1
- Corriger l'horloge du serveur HOT 2
- Fonts are throwing 404s
- Migration vers une debian 10 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aides-jeunes-ops.