mozilla-services/amo2kinto-lambda

Name: amo2kinto-lambda

Owner: Mozilla Services

Description: Allow to run amo2kinto scripts on lambda.

Created: 2016-05-09 10:40:13.0

Updated: 2018-05-22 20:31:34.0

Pushed: 2018-05-23 06:41:56.0

Homepage: http://amo2kinto-lambda.readthedocs.io/

Size: 464

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

amo2kinto Lambda

Test locally

For example, run kinto-dist locally (see README).

Initialize the server with the Kinto Dist smoke tests:

sh /path/to/kinto-dist/tests/smoke-test.sh
Validate signatures
ER=https://firefox.settings.services.mozilla.com/v1/  python aws_lambda.py validate_signature
 collection list from /buckets/monitor/collections/changes
7 /buckets/blocklists/collections/addons:  OK
7 /buckets/blocklists-preview/collections/addons:  OK
7 /buckets/blocklists/collections/certificates:  OK
7 /buckets/blocklists-preview/collections/certificates:  OK
7 /buckets/blocklists/collections/plugins:  OK
7 /buckets/blocklists-preview/collections/plugins:  OK
7 /buckets/security-state-preview/collections/intermediates:  SKIP
7 /buckets/security-state/collections/intermediates:  SKIP
7 /buckets/blocklists-preview/collections/gfx:  OK
7 /buckets/blocklists/collections/qa:  OK
7 /buckets/fingerprinting-defenses/collections/fonts:  OK
7 /buckets/fingerprinting-defenses-preview/collections/fonts:  OK
7 /buckets/focus-preview/collections/experiments:  SKIP
7 /buckets/pinning-preview/collections/pins:  SKIP
7 /buckets/focus/collections/experiments:  SKIP
7 /buckets/pinning/collections/pins:  OK
7 /buckets/blocklists/collections/gfx:  OK
Refresh signatures
FRESH_SIGNATURE_AUTH=reviewer:pass  python aws_lambda.py refresh_signature

ing at /buckets/monitor/collections/changes:
ing at /buckets/source/collections/source: to-review at 2018-03-05 13:56:08 UTC ( 1520258168885 )
ing at /buckets/staging/collections/addons: Trigger new signature: signed at 2018-03-05 13:57:31 UTC ( 1520258251343 )
ing at /buckets/staging/collections/certificates: Trigger new signature: signed at 2018-03-05 13:57:31 UTC ( 1520258251441 )
ing at /buckets/staging/collections/plugins: Trigger new signature: signed at 2018-03-05 13:57:31 UTC ( 1520258251547 )
ing at /buckets/staging/collections/gfx: Trigger new signature: signed at 2018-03-05 13:57:31 UTC ( 1520258251640 )
Releasing

You must run this on a linux x86_64 arch, the same as Amazon Lambda.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.