John Giannelos
41900148df
Add Makefile to make deploying code easier
2020-01-09 14:44:37 +01:00
John Giannelos
8734f5b050
Fix failing flake8
2018-11-13 15:56:38 +01:00
Tasos Katsoulas
19465094d6
Remove obsolete files.
2017-08-01 14:12:03 +03:00
Tasos Katsoulas
2b2c14046b
Temporarily disable reindexing.
2017-06-21 23:02:55 +03:00
Tasos Katsoulas
2b7ede95cc
Re-create indexes on every release.
...
* Update print method.
2017-05-29 18:55:09 +03:00
John Giannelos
2aac532d12
Remove loading cities_light fixtures
2017-03-23 21:16:28 +02:00
John Giannelos
5b08eb98f3
Add support for django-cities-light
2017-02-28 11:19:19 +01:00
Tasos Katsoulas
0f4ed1b4e1
Remove unused mysql-anonymize scripts.
2017-02-13 17:13:23 +02:00
John Giannelos
82a39bf53e
Increase verbosity for debugging purposes.
2017-01-05 13:36:00 +02:00
John Giannelos
24e01dc736
Debug deployment migrations issue.
2017-01-05 12:57:55 +02:00
John Giannelos
00b27ab1e0
Deprecate BrowserID support
...
* Remove HTML/CSS/JS code related to BrowserID
* Remove static files used by BrowserID
* Remove custom BrowserID authentication backend/verification views
* Remove configuration entries related to BrowserID
* Remove BrowserID URL definitions
* Remove BrowserID tests and test helpers
* Remove django-browserid dependency
* Disable add alternate email functionality.
2016-11-11 12:48:51 +01:00
Tasos Katsoulas
453150269d
Use pip >=8.x instead of peep to install packages.
2016-06-02 14:58:43 +03:00
Tasos Katsoulas
30e6576625
Remove 'git submodule' entries from chief script.
2016-05-20 14:29:18 +03:00
John Giannelos
3fe2887b3a
[Bug 1257515] Replace svn references in update script.
2016-04-05 17:48:41 +02:00
John Giannelos
5a7c1dc2e3
[Fix bug 1257515] Update chief to fetch locales from github.
2016-04-05 16:25:46 +02:00
Tasos Katsoulas
dc149aa8c7
Revert "Drop and recreate djcelery table."
2016-03-04 17:21:31 +02:00
Tasos Katsoulas
06095a03c0
Drop and recreate djcelery table.
2016-03-04 16:56:38 +02:00
John Giannelos
0065f8574a
Use a single venv path across deployment script.
2016-01-26 14:28:04 +01:00
John Giannelos
a5209aea4c
Debug chief - show python executable location.
2016-01-26 12:49:59 +01:00
John Giannelos
c1d8afd327
Revert "[Fix bug 1242596] Change command order in update script."
2016-01-26 11:56:40 +01:00
Tasos Katsoulas
6bf62db16a
Merge pull request #1295 from akatsoulas/update-script
...
Update virtualenv var.
2016-01-26 12:34:25 +02:00
Tasos Katsoulas
66bade0d18
Update virtualenv var.
2016-01-26 12:12:25 +02:00
John Giannelos
9112261260
Fix `manage.py` path on update_info.
2016-01-26 11:11:31 +01:00
John Giannelos
df1967329c
[Fix bug 1242596] Change command order in update script.
2016-01-26 10:02:16 +01:00
Safwan Rahman
275b994100
Update deployment script.
2016-01-25 12:41:48 +01:00
John Giannelos
467e26d4b3
Adapt code after vendor/vendor-local removal.
...
* Replace /w vanilla manage.py
* Remove TastyPieRequestTimingMiddleware because of failing tests
* Adapt wsgi to project changes
* Add `peep.py` under `scripts`
* Add `peep.sh` that invokes `peep` regardless of `pip` version
2016-01-25 12:41:48 +01:00
Tasos Katsoulas
fac88cc66e
Change the order of import.
2015-09-18 11:52:30 +03:00
John Giannelos
d129b079fd
[Fix bug 1206005] Fix import error in chief script.
2015-09-18 11:33:23 +03:00
Tasos Katsoulas
16a694faec
[bug 1196244] Remove '--fake' option from chief migration command.
...
* More pythonic syntax
2015-08-31 12:54:37 +03:00
John Giannelos
1760bf3f09
Add `venv` to path when running update script.
2015-08-20 21:30:35 +02:00
John Giannelos
4c12d4cd5d
Use `python` instead of `python2-7` in update script.
2015-08-20 18:01:04 +02:00
John Giannelos
0ad2fab169
[bug 1196244] Fake initial migrations.
...
This task is temporary just for the django upgrade 1.7x release.
With this commit we are preparing the update script to fake the initial
migrations in order to use native migrations instead of south.
``--fake`` needs to be remove after django 1.7x upgrade.
2015-08-20 11:45:10 +02:00
John Giannelos
9657f02652
[bug 1196244] Use python2.7 in chief update script.
2015-08-19 16:03:03 +02:00
John Giannelos
e37e1f8ae9
Restart celery beat on code updates.
2015-07-21 19:15:31 +03:00
John Giannelos
3fac86ad4e
[Fix Bug 1119310] Upgrade playdoh-lib to latest version.
...
* Upgrade django to version 1.6.10
* Upgrade django-compressor to v1.4
* Codebase changes required for Django upgrade to 1.6.10.
* Use django-compressor for offline compression.
* Remove django-jingo-offline-compressor dependency.
2015-01-15 17:04:37 +02:00
Tasos Katsoulas
d12feeee52
[bug 907933] Update chief script.
2014-11-04 15:55:07 +02:00
Giorgos Logiotatidis
3f10e7dda9
[bug 1048940] Remove basket_token from stage dump.
...
Stage and Prod share the same Basket and ET setup which can result in
updating the email subscription preferences of users while testing on
stage.
We remove the basket tokens from stage dumps which, in combination with
the email address change of all profiles, will result in users getting
subscribed as new users in Basket/ET and therefore overcome this issue.
In the future we will have a staging Basket/ET setup connected with
mozillians stage and this change will be still needed, since the Prod
tokens will be no longer valid.
2014-08-27 16:21:50 +03:00
Giorgos Logiotatidis
a2afb1be52
Drop waffle tables during sanitization.
2014-07-18 14:06:36 +03:00
Giorgos Logiotatidis
f5c0ac7142
[bug 1033986] Update sanitization scripts fail gracefully on error.
...
Bash script now creates 4 databases instead of 2:
- sanitize_dev_$DB
- sanitized_dev_$DB
- sanitize_stage_$DB
- sanitized_stage_$DB
mysqldump is run against the sanitized_* databases,
i.e. sanitized_stage_mozillians_org and sanitized_dev_mozillians_org
Python SQL generation script was altered to:
- Execute all generated SQL into a transaction, so it's either all
executed or nothing executed.
- The last command of the sanitization process is to rename the database
E.g sanitize_dev_mozillians_org becomes sanitized_dev_mozillians_org
2014-07-18 14:06:36 +03:00
Giorgos Logiotatidis
c060280d96
[fix bug 1039442] Update su.sh script to add real Vouches to superuser.
2014-07-16 14:07:07 +03:00
Giorgos Logiotatidis
d039022054
Cleanup bin/ and scripts/
2014-07-14 12:14:57 +03:00
Giorgos Logiotatidis
a904636818
Update anonymize script.
2014-07-03 13:15:07 +03:00
Giorgos Logiotatidis
ce68a72c27
Convert emails in database dumps while preserving employee status.
...
Convert all @mozilla.com emails to XXXX@mozilla.com and all other
emails to XXXX@example.com so not all users are considered Mozilla
employees.
2014-07-02 22:07:59 +03:00
Giorgos Logiotatidis
e496dee019
Don't delete south migration history from db dumps.
...
South migration history is needed in db dumps so south knows the state
of the dump.
2014-07-02 22:03:48 +03:00
Andrei Hajdukewycz
2e87078e41
Anonymize geo_region and geo_city for dev
2014-06-23 12:16:29 -04:00
Sheeri
c27cf5cc42
put the right location for stage
...
put the right location for stage
2014-04-29 12:49:03 -04:00
Giorgos Logiotatidis
45b5b86e97
[bug 997080] Add .htaccess for media caching.
2014-04-16 12:45:44 +03:00
Sheeri
6c8b0ec997
Update mozillians-anonymize.sh
...
copy dev over
2014-04-07 14:01:28 -04:00
Sheeri
f86ae9625a
changing to the proper script location as per https://bugzilla.mozilla.org/show_bug.cgi?id=933749#c12
2014-03-28 13:15:55 -04:00
Sheeri
149758e9d3
change copy location to the right place
...
see bug 933749 for details on this script.
2014-03-27 17:53:47 -04:00