Commit Graph

129 Commits (52127faec98e9ce04697946cadfe277bdd1b25d2)

Author SHA1 Message Date
Raymond Yee cd1f2cc244 attempt to create settings/please.py via template 2016-11-29 15:46:11 -08:00
Raymond Yee 1b2109c57b found a way to loop over SECRET_KEYS in constructing the wsgi file -- need to parameterize the settings file. 2016-11-18 09:37:19 -08:00
Raymond Yee 16c78485ea try to build just and please with a setting coming from secrets.yml 2016-11-16 17:21:22 -08:00
Raymond Yee 2b82c6c786 testing templating 2016-11-15 21:02:36 -08:00
Raymond Yee 9e84a0bae9 for ansible 2.1.2, get rid of redundancy in specifying both pip executable and venv. 2016-11-15 15:37:45 -08:00
Raymond Yee fc4ca7dbc0 refine do_migrate for production in Vagrantfile 2016-09-08 17:52:25 -07:00
Raymond Yee c1c6b5ccbc don't migrate on just or production 2016-09-07 11:46:41 -07:00
Raymond Yee 8aceb005c9 integrate vagrant changes for building please into dj18 2016-09-07 10:45:53 -07:00
Raymond Yee 289d5cc834 now use master branch 2016-06-27 09:28:44 -07:00
Raymond Yee aaf9bf39f0 I think this is right now: set the ownership of /var/log/regluit to {{user}}
working for now...
2016-06-25 10:07:31 -07:00
Raymond Yee 6be6449780 set gid to www-data for /var/log/regluit 2016-06-25 09:16:10 -07:00
Raymond Yee aeb42c3142 for some reason, the previous commit makes for zombie apache...let's set /var/log/regluit to belong to www-data 2016-06-25 08:55:02 -07:00
Raymond Yee cd6be7a137 adjust relationship between {{user}} and www-data to hopefully fix permission issue for /var/log/regluit 2016-06-25 08:08:30 -07:00
Raymond Yee bb5d90c983 make use of www-data user, group for /var/log/regluit 2016-06-24 16:21:14 -07:00
Raymond Yee d7575455cd fix owner on /var/log/regluit 2016-06-24 15:32:11 -07:00
Raymond Yee 2042e939ee Merge branch 'nosudo_celery' into log_warnings 2016-06-24 14:25:11 -07:00
Raymond Yee 59d9ed4a17 change the various crontabs
add notebooks/fix_build_3550.ipynb, which is not directly related to celery
2016-06-24 14:23:03 -07:00
Raymond Yee 73d107afa4 now let's see whether we can get the logging working now
Merge branch 'nosudo_celery' into log_warnings
2016-06-23 13:54:50 -07:00
Raymond Yee f3647da90e fix syntax for celeryd_multi 2016-06-23 13:52:29 -07:00
Raymond Yee 32503802a2 celery multi not seeing Django config --> replace with django-admin.py celeryd_multi restart w1 2016-06-23 10:48:43 -07:00
Raymond Yee eb403ecad3 comment out pause statements on dev.yml 2016-06-23 06:25:52 -07:00
Raymond Yee f8411fe310 escape % in crontab and dev.yml 2016-06-22 15:55:42 -07:00
Raymond Yee b840845335 don't do sudo on crontab 2016-06-22 14:26:38 -07:00
Raymond Yee 06e4725cac remove some unnecessary sudo 2016-06-22 13:46:59 -07:00
Raymond Yee d36d5e6f9b syntax error on copying /opt/regluit/deploy/celeryd 2016-06-22 11:54:28 -07:00
Raymond Yee 8943bf27bc debugging setup of celery 2016-06-22 11:42:22 -07:00
Raymond Yee cb010751e5 need to turn off sudo for celery multi 2016-06-21 20:31:45 -07:00
Raymond Yee ac8dd6b20a I made mistakes on need of sudo for copying celerybeat related files 2016-06-21 20:10:40 -07:00
Raymond Yee f1ace96371 attempt to run celery without sudo 2016-06-21 19:49:50 -07:00
Raymond Yee 48b1a9a9e9 Merge branch 'sysadmin' into log_warnings 2016-06-21 11:29:36 -07:00
Raymond Yee 7b73cc366d adjust Vagrant configuration for please to log warnings 2016-06-21 09:20:46 -07:00
Raymond Yee 6a1253277f Merge branch 'master' into sysadmin 2016-05-31 16:50:02 -07:00
Raymond Yee 83756c5779 code in progress to test https://github.com/Gluejar/regluit/pull/584 2016-05-21 14:51:52 -07:00
Raymond Yee b7c44190be don't chmod +x on dump.sh if class not in production 2016-05-13 15:17:16 -07:00
Raymond Yee be232224ab sudo: no for many commands -- especially in collectstatic -- and chmod +x to dump.sh 2016-05-12 11:54:02 -07:00
Raymond Yee a6f7418f19 grab auth tokens from local deploy_keys directory 2016-05-10 17:52:49 -07:00
Raymond Yee c77c5b1b16 fix Vagrantfile error 2016-05-10 11:23:42 -07:00
Raymond Yee a7223e0e55 change setdns for just 2016-05-10 10:22:03 -07:00
Raymond Yee 60389ff7e0 get rid of placeholder for jenkins 2016-05-10 09:18:03 -07:00
Raymond Yee 17178f9840 update to Python 2.7.11 and apply security upgrades 2016-05-09 22:40:29 -07:00
Raymond Yee 7d6c57dfa8 prod2 added to Vagrantfile 2016-05-09 14:48:50 -07:00
Raymond Yee 3f9a7b15e5 define migrate 2016-05-09 14:26:24 -07:00
Raymond Yee 8211e5d3af first pass at getting vagrant/ansible working for prod 2016-05-09 14:11:49 -07:00
Raymond Yee 1222d677dc switch to master 2016-05-07 15:20:48 -07:00
Raymond Yee 761cafa110 need host_var for just2 and prod2 also -- eventually should use group_vars but this works for now. 2016-05-07 14:50:10 -07:00
Raymond Yee 83a36414d5 need to load campaign_starter.sql (not 2) for pre-Django 1.6 2016-05-07 13:56:19 -07:00
Raymond Yee d67c1f1d3e load data for please but deal with jenkins for just 2016-05-07 13:41:47 -07:00
Raymond Yee 6dc511a754 pick up changes from dj16ry that aren't about the shift to Django 1.6 2016-05-07 09:42:14 -07:00
Raymond Yee e2edac78b4 working on using a-play-aws.sh to use an inventory directory that comprise both vagrant computed inventory and static jenkins file 2016-05-04 13:47:16 -07:00
Raymond Yee 93ae8bca12 move from logrotate to cronolog 2016-05-02 15:58:20 -07:00
Raymond Yee 0f3e183fbb use dj16ry branch for now 2016-04-11 14:13:54 -07:00
Raymond Yee f37b04320c try to use Python 2.7.11 again 2016-04-11 13:40:12 -07:00
Raymond Yee a3a39ec8f5 dj16 2016-04-11 13:13:52 -07:00
Raymond Yee 45e923348a don't update to the latest Python 2.7 version 2016-01-21 14:51:16 -08:00
Raymond Yee dfb975484a just: moving from m1.medium to t1.micro works 2015-09-23 18:59:02 -07:00
Raymond Yee 1793803e3d migrated vagrant setup for please on aws to t2.micro (from t1.micro) + accompanying VPC 2015-09-23 18:19:32 -07:00
Raymond Yee c8af2e4194 add libjpg dependency 2015-08-25 21:05:11 -04:00
Raymond Yee b29f1af8a1 wire localvm into Vagrantfile 2015-07-06 16:44:55 -07:00
Raymond Yee 0fbb4f702c work in progress on parameterizing config_name 2015-07-03 11:06:55 -07:00
Raymond Yee dd367e39ff first pass at using roles w/ localvm 2015-07-03 11:06:54 -07:00
Raymond Yee eb0f51f1b7 make apache config 2.2 and 2.4 compatible 2015-07-03 11:06:54 -07:00
Raymond Yee e04ad9e915 changes to make things work for trusty64 on localvm 2015-07-03 11:06:54 -07:00
Raymond Yee e609313113 for some reason authorized_keys being skipped 2015-07-03 11:06:54 -07:00
Raymond Yee 56a5c17f1c trying localvm.test as a test domain 2015-07-03 11:06:54 -07:00
Raymond Yee 55ec76d283 forgot localvm.wsgi
fix apache config file to hopefully do redirect correctly -- hardcoding localvm as a name for the address for localvm vm.
2015-07-03 11:06:54 -07:00
Raymond Yee c8f39d9a7f fix security group setting for please
add setup_django_localvm.sh
2015-07-03 11:06:54 -07:00
Raymond Yee 426d9e126f name of localvm apache config 2015-07-03 11:06:54 -07:00
Raymond Yee c759ee8a73 pass 2 on localvm 2015-07-03 11:06:54 -07:00
Raymond Yee 7d76df7007 first pass at localvm 2015-07-03 11:06:54 -07:00
Raymond Yee c5466e9f0c add github key to jenkins known_hosts 2015-07-03 11:06:54 -07:00
Raymond Yee f7962c4db4 added command to fix up jenkins known_hosts 2015-05-18 16:39:14 -07:00
Raymond Yee 08cfd613c2 reconciled the mysql parameters in just with production/please and add first draft of ansible playbook for just 2015-05-18 12:38:09 -07:00
Raymond Yee db3c790bcb next iteration on getting just running 2015-05-16 13:30:09 -07:00
Raymond Yee 8f3051ffd3 get rid of public keys for Andromeda, Ed, and Jason 2015-05-16 13:30:09 -07:00
Raymond Yee c1c60bb233 fixes to do multimachine run_playbook 2015-05-16 13:30:09 -07:00
Raymond Yee d5776757d3 also first pass at a Python script for running ansible playbooks based on vagrant ssh-config 2015-05-16 13:30:09 -07:00
Raymond Yee 2d47d43992 moving towards multi-machine setup as well as setting up roles. 2015-05-16 13:30:09 -07:00
Raymond Yee 8d1715fe83 now upgrading Python to 2.7.9 2015-05-16 13:30:09 -07:00
Raymond Yee a8ce62bd89 First pass at a Vagrant setup for please.unglue.it 2015-05-08 15:37:55 -07:00