Thanks to visit codestin.com
Credit goes to github.com

Skip to content

An AWS Lambda to sign an XPI

License

jvehent/sign-xpi

 
 

Repository files navigation

sign-xpi

An AWS Lambda (and a supplementary CLI utility) to sign XPI files.

The packaging of this repository is meant to be reminiscent of the amo2kinto-lambdo repo.

Use this script to generate a zip for Amazon Lambda:

make clean virtualenv zip

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

This will package a lambda with a handler at aws_lambda.sign_xpi.handle.

If you don't have access to exactly the right kind of machine, you can also use Docker with the command:

make get_zip

This will package the same kind of lambda, but build it in a Docker container.

Development

Another virtualenv is created for doing development, so that we don't accidentally include dev tools in the lambda. To build it:

make virtualenv-dev

Run the tests using:

. .venv-dev/bin/activate
make run-autograph &
py.test

About

An AWS Lambda to sign an XPI

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.7%
  • Makefile 3.7%
  • Dockerfile 0.6%