Граф коммитов

552 Коммитов

Автор SHA1 Сообщение Дата
Philip Cristiano 0b362b0d95 scripts: Use shell that supports `[[`
`[[` is a bash construct, while the shebang was listing `sh`.
2018-01-22 16:12:25 -05:00
Benjamin Forehand Jr 8a646cadc4 Addon Install Test (#6641)
* Use docker-compose>=1.18 and minimal docker-compose config version to 2.3
* Starts ui-tests in Firefox docker container
* Let's the Firefox docker-container hit directly nginx
* makes use of https://github.com/jrbenny35/selenium-firefox/ firefox+selenium image
* makes use of /user-media/ serving directly via nginx for XPI installs
* Adds a helper that creates an installable add-on
* Update `firefox_options` fixture with all options needed to install add-ons with a test signing signature

Fixes #7270 
Fixes #2488
2018-01-12 06:58:00 +01:00
Christopher Grebs c2b7f30d24
Add autograph signing server support (#6865)
Fixes #6640
Fixes #6866

This pull request adds support for our new Autograph signing server, adds it to our dockerized services and adds tests that now actually call our signing server.

* Add a waffle-switch for calls to our new autograph signing server
* Add the autograph signing server to docker-compose
* Add the autograph signing server to our travis setup
* avoid us specifying the signing server settings everywhere in the code, one single source of truth
* more use of `responses` instead of mocking, leaning towards
  the future where we can actually hit a signing server instead
  of a mock
* disallow http requests generically, unless configured otherwise
* Add migration for waffle flag
2017-11-13 17:29:57 +01:00
Benjamin Forehand Jr d6bb402a44 Updated UI-tests to run inside of docker and switched to circleci 2.0 (#6457)
* Updated config to use circleci as well as configure ui-tests to run within docker

* Removed hacky certifi installs

* Update requirements to master versions

Fixes #4697 (though not only that)
2017-10-05 13:14:08 +02:00
Christopher Grebs a50dc71b0d Start automating l10n message travis extraction (#6243)
* First prototype of a script that pushes extracted messages to github

* Fix generation, commit and push

* Set email and name properly

* Finalize script, add in safeguards again

* Always switch to master first

* Correct test when what script is being run

* Try correcting when our scripts are running and raise proper exit codes

* tmp

* fix committing

* Restrict commit to locale/ .po files

* Properly restore git config

* Whitespace

* Correctly unset signing that get's restored later. Thanks @eviljeff

* Don't touch git config, don't save things in netrc

* Commit templates too

* Try pushing directly to remote url, don't set any config
2017-09-14 22:36:43 +02:00
Christopher Grebs 42f06f2a73
Merge branch 'master' of github.com:mozilla/addons-server into try-elasticsearch-latest 2017-07-24 12:30:52 +02:00
Mathieu Pillard cf02beeefa Increase frequency of auto_approve command, prevent multiple runs in parallel (#5751)
Increase frequency of auto_approve command, prevent multiple runs in parallel
2017-06-27 11:13:07 -07:00
Christopher Grebs efc66b997c Update ElasticSearch, travis and docker-compose configs
* Bump elasticsearch in travis to 2.3.3
* Fix index store config option for es 2.3.3
* Install es 5.1.1
* Fix es reference in travis.yml
* Fix es startup
* Let's try and switch to use jdk8
* Fix bulk_index import
* Set es 5.1 for docker compose too
* Fix docker image to use official elastic images.
* small travis cleanup
* Make sure xpack authentication is disabled for testing (for now)
* Let's try disabling xpack on travis too...
* Stupid hack to support es5 default auth on travis...
* Remove custom travis_es script
* Use ES 5.3 for now...
2017-06-16 12:01:32 +08:00
Mathieu Pillard 33a2610bcf Automatically run auto_approve command every hour 2017-04-12 12:11:12 +02:00
Benjamin Forehand Jr c1f2db3c19 Added complete configuration to enable UI testing. 2017-03-24 08:38:50 -07:00
Christopher Grebs c7104cdc03 use safe name everywhere, partially avoids duplicate names being entered. 2017-01-18 11:57:45 +01:00
Mark Striemer 66641356da Remove user registration and confirmation (supports #3049) (#3629) 2016-10-12 10:52:51 -05:00
Jason Thomas 1dae4d0090
Change MAILTO address for cron output 2016-10-12 11:08:37 -04:00
Christopher Grebs af4f5fe6ef Update django to 1.8.15 2016-09-27 16:42:22 +02:00
Mathieu Pillard 7d255b8a55 Remove cleanup_synced_collections from the crontab, it was removed months ago 2016-09-21 14:35:53 +02:00
Stuart Colville d682254850 Revert "Add make update_deps to setup-docker.sh" 2016-09-06 12:44:19 +01:00
Stuart Colville 2c4788754e Add make update_deps to setup-docker.sh 2016-09-06 09:02:09 +01:00
Stuart Colville 439a296dac Fix olympia user uid docker for mac 2016-08-24 16:42:45 +01:00
Dave Hunt fd8ec837ef Move sleep for CircleCI (#3111)
* Move sleep to just after docker-compose up
* Activate debugging for setup-docker.sh
2016-07-28 10:24:57 +01:00
Dave Hunt 6730f9a9f8 Run UI integration tests in Circle CI 2016-06-28 11:55:22 +01:00
Mathieu Pillard 7c2831fc1c Upgrade docs-related dependencies 2016-06-15 15:30:44 +01:00
Christopher Grebs 966ca48bdd Update revdeps script to do hashing and cleaning up our requirements files.
* make sure hash_requirements.py understands nested requirements files
* skip packages/lines that don't come from the currently editing requirements file.
2016-06-15 15:12:39 +02:00
Andrew Williamson 91126b76aa Add find_revdeps.py script from zamboni and note requirements in files. 2016-05-18 11:38:26 +01:00
Mathieu Pillard f9c45b1a01 Explicitly declare all ES addons mapping fields, and add stricter tests. 2016-03-24 16:53:33 +01:00
Mathieu Pillard 3e3fab3cd7 Remove *_current_version crons (fix #1242) 2016-02-03 13:12:54 +01:00
Mathieu Pillard 1aa51d8cc2 Merge pull request #1433 from diox/optimize-theme-user-counts-indexation
Optimize theme-related statistics generation queries
2016-01-29 14:09:20 +01:00
Andy McKay c3da8450ce do a clean out of scripts 2016-01-22 16:04:51 -08:00
Mathieu Pillard 802b73ff2a Optimize theme-related statistics generation queries 2016-01-20 13:19:39 +01:00
Mathieu Pillard 338cfe6742 Remove Addon and Collection share counts
They haven't been updated in more than a year and nobody noticed.
Plus the counts were super low to begin with.
2016-01-19 16:41:59 +01:00
Jason Thomas c39e00c86f Fix NETAPP_STORAGE_ROOT override in stats related cron tasks 2016-01-15 15:29:49 -05:00
Jason Thomas 53c1a883cc Adjust cron times for stats 2016-01-08 12:13:29 -05:00
Mathieu Pillard 797390fb53 Remove recommendations cron (already broken, the table was dropped), refs #1174 2016-01-04 23:15:14 +01:00
Jason Thomas 7a2c9a55a5 Remove SCL python27 from cron 2015-12-01 12:15:32 -05:00
Jason Thomas 9e54e951b0 Add clean_redis to cron 2015-12-01 12:14:50 -05:00
Mathieu Agopian 12cbafc79c Iterate through the add-ons and repack them after fixing the 'let scope bustage' (bug 1224686) 2015-11-26 15:56:59 +01:00
Kumar McMillan fa65808a2d Revert "Use the Travis cache to dramatically speed up test dependency installation."
This reverts commit 81d6f202ee.

django-cache-machine==0.8 does not match what we were using in the git
revision beforehand. This is blocking us on master so I'm just going to revert
temporarily while we fix up pyrepo to get the right packages on there.
2015-10-19 16:32:27 -05:00
Kris Maglione 81d6f202ee Use the Travis cache to dramatically speed up test dependency installation. 2015-10-19 10:36:28 -07:00
Andy McKay d332fc4d44 remove unused script 2015-10-06 14:46:14 -07:00
Mathieu Agopian bb2cc64318 The switch to py27 was done a long time ago 2015-09-29 19:02:49 +02:00
Mark Striemer fe2e300de9 Automated and manual unlisted pass/fail daily counts (bug 1183396) 2015-09-22 16:51:06 -05:00
Andreas Wagner ed29e42599 Fix Makefile 2015-09-16 12:03:46 +02:00
Kris Maglione 4804f14dff Make Docker runs friendlier to the contents of the host filesystem, particularly for Linux users. 2015-08-07 21:35:52 -07:00
Mark Striemer 81a97dc1f0 Scripts to analyze validation results (bug 1183396)
Fixes #613
2015-07-29 17:20:34 -05:00
Jason Thomas a17e4a49b0 Remove old commander scripts, no longer used. 2015-07-28 10:58:58 -04:00
Mathieu Agopian 68f2647f47 Find XPIs that have a META-INF/MANIFEST.MF file (bug 1169574) 2015-05-29 18:43:18 +02:00
Mathieu Agopian f311f03232 Disable slow migration 811 (is_multi_package backfill), move it to standalone script 2015-05-04 22:36:02 +02:00
Jason Thomas cfae7eede2 Adjust metrics related crontab entries to ensure enough time for queries + transfer. 2015-04-14 11:39:36 -04:00
Mathieu Agopian d3f0fbe6cc don't fail travis builds on certificate errors for elasticsearch 2015-03-17 19:04:17 +01:00
Jason Thomas c4ceacf81d Add support for SCL python27. 2015-03-06 10:38:42 -05:00
Mathieu Agopian 513e1e8d43 Run update_product_details daily (bug 1137864) 2015-03-05 18:17:17 +01:00