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

5181 Коммитов

Автор SHA1 Сообщение Дата
bors[bot] 04d602ab65
Merge #2238
2238: Enforce argument schemas on model creation r=rehandalal a=mythmon

I realized that since we weren't checking schemas at the model level, none of the tests for argument verification checked their schemas. I needed this assurance for the tests I'm writing for #2236, but it's interesting enough to include as a separate PR.

Co-authored-by: Mike Cooper <mythmon@gmail.com>
2020-06-16 22:15:07 +00:00
Mike Cooper f4d0c75730
Enforce argument schemas on model creation 2020-06-16 15:08:10 -07:00
bors[bot] f69977c06b
Merge #2233
2233: Remove JS build step and tooling r=mythmon a=rehandalal

Fixes #2232 

r?

Co-authored-by: Rehan Dalal <rehandalal@gmail.com>
2020-06-16 21:48:49 +00:00
Rehan Dalal c9671c92fe
Add comments/readme to `/client/` folder 2020-06-16 17:39:42 -04:00
Rehan Dalal cd59cf6b8b
Remove JS build step and tooling 2020-06-08 20:47:59 -04:00
bors[bot] af64ac2951
Merge #2225
2225: Fix windowsversion filter object r=mythmon a=uhlissuh

changes this filter object to take a list of versions.

Co-authored-by: Alissa Sobo <alissasobo@gmail.com>
2020-04-30 21:40:48 +00:00
bors[bot] 35ed417077
Merge #2214
2214: Updates to the containerized contract tests setup r=jaredlockhart a=chartjes

* renames action in Makefile for running the tests
* fixes problem with test container using the same port as app container
* replaces contract test job in Circle CI job file

Co-authored-by: Chris Hartjes <chartjes@mozilla.com>
Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2020-04-30 20:23:31 +00:00
Alissa Sobo 4456b689eb Fix windowsversion filter object 2020-04-30 13:22:42 -07:00
Jared Lockhart fdee06ebfd Gotta create the ssl dir first 2020-04-30 13:15:56 -04:00
Jared Lockhart 0b7d221177 Temporarily disable tests on circle 2020-04-30 12:24:58 -04:00
Jared Lockhart 6f647265ae No need to download geolite 2020-04-30 11:55:04 -04:00
Jared Lockhart 9e5f77d866 Remove unnecessary compose directives for contract tests 2020-04-30 11:42:57 -04:00
Chris Hartjes a02d53e45b Increased the timeout for a container to 30 seconds after seeing timeouts in CircleCI 2020-04-29 15:57:17 -04:00
Chris Hartjes a39bfc74d0 To run contract tests we need to wait for the 'app' container to be up and running, not the the 'db' container 2020-04-29 15:52:21 -04:00
Chris Hartjes 1c05d845b4 Adding step to force all the docker images to be up and running before the tests are run 2020-04-29 14:06:58 -04:00
Chris Hartjes 422dd98660 Changes dependency for 'app' for the test container to be a 'depends-on' instead of link 2020-04-29 13:36:24 -04:00
Chris Hartjes 803078e216 Remove using remote docker setup 2020-04-29 11:07:16 -04:00
Chris Hartjes 00e58ed50d Use machine executor 2020-04-29 11:03:23 -04:00
Chris Hartjes 7503a9a3c4 Fixed base image being used for contract tests job 2020-04-29 10:11:34 -04:00
Chris Hartjes 2d1c903d08 Trying out simple remote docker configuration for contract tests 2020-04-29 09:58:34 -04:00
bors[bot] 92ea943c95
Merge #2208
2208: Automatically set needed envvars during tests r=tiftran a=mythmon

This is another one of those "how did this even work" moments. We clearly set up these environment variables for tests at some point, but it doesn't work now, and I can't find a point in recent history where it did work.

Without these changes, a lot of the tests fail for me, especially when I'm using VSCode's Pytest integration. With this change, everything works great.

Co-authored-by: Mike Cooper <mythmon@gmail.com>
Co-authored-by: tiftran <ttran@mozilla.com>
2020-04-28 23:36:37 +00:00
tiftran 1618c020b0 Merge branch 'master' of https://github.com/mozilla/normandy into pytest-env 2020-04-28 16:27:34 -07:00
Chris Hartjes 31d90595f5 Added more specific details on what to use as our base image 2020-04-28 16:08:21 -04:00
Chris Hartjes c1a6641365 Set job to use 'machine' 2020-04-28 11:19:15 -04:00
Chris Hartjes 81f4ffdb8a Can't use 'machine' and 'setup_remote_docker' 2020-04-28 11:00:21 -04:00
Chris Hartjes 445c53e9ce Now using a remote docker setup to debug why the two docker containers cannot see each other 2020-04-28 10:52:34 -04:00
Chris Hartjes 26930253be Using pre-existing docker binaries for contract testing job 2020-04-28 09:49:22 -04:00
Chris Hartjes bbf7121ce2 Fix name of contract tests job in CircleCI configuration file 2020-04-28 09:43:24 -04:00
Chris Hartjes 337fea8c31 Bump to trigger CircleCI 2020-04-28 09:41:17 -04:00
bors[bot] 72dff6063f
Merge #2223
2223: Remove app user from Dockerfile.development fixes #2221 r=mythmon a=jaredlockhart



Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2020-04-27 22:41:55 +00:00
Jared Lockhart 583f106739 Remove app user from Dockerfile.development fixes #2221 2020-04-27 18:24:21 -04:00
bors[bot] 6154a7f25c
Merge #2217
2217: Update dependency gevent to v20 r=jaredlockhart a=renovate[bot]

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [gevent](http://www.gevent.org/) | dependencies | major | `^1.4.0` -> `^20.0.0` |


Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 22:02:03 +00:00
Renovate Bot 4d4002ade7
Update dependency gevent to v20 2020-04-27 20:22:43 +00:00
bors[bot] a3b8ff9f67
Merge #2218
2218: Update dependency djangorestframework-yaml to v2 r=mythmon a=renovate[bot]

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [djangorestframework-yaml](https://togithub.com/jpadilla/django-rest-framework-yaml) | dependencies | major | `^1.0.3` -> `^2.0.0` |


Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 19:01:14 +00:00
bors[bot] 10ff6a4bfe
Merge #2216
2216: Update dependency webpack to v4.43.0 r=mythmon a=renovate[bot]

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [webpack](https://togithub.com/webpack/webpack) | devDependencies | minor | [`4.42.1` -> `4.43.0`](https://renovatebot.com/diffs/npm/webpack/4.42.1/4.43.0) |


Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 17:55:25 +00:00
bors[bot] fc94df2309
Merge #2215
2215: Update python:3.7-slim Docker digest to 2167a93 r=mythmon a=renovate[bot]

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| python | final | digest | `d9a9ba5` -> `2167a93` |


Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 17:51:43 +00:00
Renovate Bot 7052f8882e
Update dependency djangorestframework-yaml to v2 2020-04-27 02:13:34 +00:00
Renovate Bot deb1d3210f
Update dependency webpack to v4.43.0 2020-04-27 00:12:32 +00:00
Renovate Bot 0ed332f3c6
Update python:3.7-slim Docker digest to 2167a93 2020-04-27 00:12:20 +00:00
Chris Hartjes 66dedde5b8 Updates to the containerized contract tests setup 2020-04-21 11:42:49 -04:00
bors[bot] 2ce7466eda
Merge #2211
2211: Pin dependency @mozilla/normandy-action-argument-schemas to 0.10.0 r=tiftran a=renovate[bot]

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| @&#8203;mozilla/normandy-action-argument-schemas | dependencies | pin | [`0.10` -> `0.10.0`](https://renovatebot.com/diffs/npm/@mozilla%2fnormandy-action-argument-schemas//) |

📌 **Important**: Renovate will wait until you have merged this Pin PR before creating any *upgrade* PRs for the affected packages. Add the preset `:preserveSemverRanges` your config if you instead don't wish to pin dependencies.


Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-20 16:27:17 +00:00
Renovate Bot 87053b8687
Pin dependency @mozilla/normandy-action-argument-schemas to 0.10.0 2020-04-20 06:57:09 +00:00
bors[bot] 4d13c2ba29
Merge #2212
2212: Update python:3.7-slim Docker digest to d9a9ba5 r=tiftran a=renovate[bot]

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| python | final | digest | `994806e` -> `d9a9ba5` |


Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-20 06:52:12 +00:00
Renovate Bot 3b83345a7a
Update python:3.7-slim Docker digest to d9a9ba5 2020-04-20 00:13:31 +00:00
bors[bot] bda520b00f
Merge #2210
2210: Add JEXL filter object r=rehandalal a=mythmon

This could be used by NDT to combine with other filter objects, so that we can nest a JEXL filter inside a sticky or OR expression, without having to bail out entirely. It also adds the ability to comment the reasons behind a JEXL expression, and note any additional capabilities that may be needed.

Co-authored-by: Mike Cooper <mythmon@gmail.com>
2020-04-15 22:05:11 +00:00
Mike Cooper 5113df123f
Add JEXL filter object
This could be used by NDT to combine with other filter objects, so that we
can nest a JEXL filter inside a sticky or OR expression, without having to
bail out entirely. It also adds the ability to comment the reasons behind a
JEXL expression, and note any additional capabilities that may be needed.
2020-04-15 13:18:27 -07:00
bors[bot] 1f95561584
Merge #2168
2168: API contract tests update r=mythmon a=chartjes

* tests can now be run using two Docker containers (one for 'test' and the other for 'app')
* added CircleCI job to run them

Co-authored-by: Chris Hartjes <chartjes@grumpy-learning.com>
Co-authored-by: Chris Hartjes <chartjes@mozilla.com>
2020-04-15 20:00:05 +00:00
bors[bot] 35949d5151
Merge #2209
2209: Update Normandy action schemas to 0.10 r=rehandalal a=mythmon

r?

CC @k88hudson

Co-authored-by: Mike Cooper <mythmon@gmail.com>
2020-04-15 18:15:12 +00:00
Mike Cooper f9272b54f4
Update Normandy action schemas to 0.10 2020-04-15 11:12:17 -07:00
Mike Cooper b2d2e84b2d
Automatically set needed envvars during tests 2020-04-14 16:53:42 -07:00