mvhub-dev team mailing list archive
-
mvhub-dev team
-
Mailing list archive
-
Message #00414
[Merge] lp:~omacneil/mvhub/up_pro_chk_07-01 into lp:mvhub
Dan MacNeil has proposed merging lp:~omacneil/mvhub/up_pro_chk_07-01 into lp:mvhub.
Requested reviews:
MVHub devs with commit rights (mvhub-commit)
added steps found to be needed in push to production
--
https://code.launchpad.net/~omacneil/mvhub/up_pro_chk_07-01/+merge/29181
Your team MVHub Developers is subscribed to branch lp:mvhub.
=== modified file 'app-mvhub/doc/checklists/move_to_production.txt'
--- app-mvhub/doc/checklists/move_to_production.txt 2010-06-18 20:07:50 +0000
+++ app-mvhub/doc/checklists/move_to_production.txt 2010-07-04 23:30:42 +0000
@@ -40,20 +40,32 @@
___ Tag the most recent revision as release
- bzr tag $RELEASE_TAG
+ bzr tag $RELEASE_TAG --force
# Push to Launchpad
- bzr push
+ bzr push --overwrite
___ Test the release in Staging
___ Pull the new release into Staging
-
+
ssh staging.inside
cd /var/www/mvhub/www-data/source-code/trunk
- sudo su www-data -c "bzr pull"
-
- ___make new trunk live on staging
+ sudo su www-data -c "bzr pull --overwrite"
+ ___ install needed 3rd party packages
+
+
+ sudo PERL5LIB=/var/www/mvhub/www-data/source-code/trunk/lib-mvhub/lib/ \
+ perl -MCPAN -e 'install Bundle::MVHub'
+
+# yes run this until everything says 'is up to date'
+ sudo PERL5LIB=/var/www/mvhub/www-data/source-code/trunk/lib-mvhub/lib/ \
+ perl -MCPAN -e 'install Bundle::MVHub'
+
+ # install the packages this tells you to install
+ app-mvhub/t/debian_packages_installed.t
+
+ ___change server enviroment to work with new live code
sudo app-mvhub/project-tools/bin/mv_update_staging
____ move to production
@@ -62,17 +74,29 @@
ssh production.inside
cd /var/www/mvhub/www-data/source-code/trunk/
- sudo su www-data -c 'bzr pull'
+ sudo su www-data -c 'bzr pull --overwrite'
- ___make new trunk live on production
+ ___ install needed 3rd party packages
+
+ sudo PERL5LIB=/var/www/mvhub/www-data/source-code/trunk/lib-mvhub/lib/ \
+ perl -MCPAN -e 'install Bundle::MVHub'
+
+# yes run this until everything says 'is up to date'
+ sudo PERL5LIB=/var/www/mvhub/www-data/source-code/trunk/lib-mvhub/lib/ \
+ perl -MCPAN -e 'install Bundle::MVHub'
+
+
+ # install the packages the test tells you to install
+ app-mvhub/t/debian_packages_installed.t
+
+ ___change server enviroment to work with new live code
sudo app-mvhub/project-tools/bin/mv_update_production
____ test by hand in web browser
# a. can do agency search
# b. can do program search
# c. can login as admin
- # d. can login as agency
- # e. can browse
+ # d. can browse
___ perform IMPORTANT hand cleanup
Follow ups