chromium/_/ansible
Sparticuz 034e9e0d56 Initial Fork from chrome-aws-lambda
For repo history, please see: abdc140008
2022-09-26 15:05:08 -04:00
..
plays Initial Fork from chrome-aws-lambda 2022-09-26 15:05:08 -04:00
Makefile Initial Fork from chrome-aws-lambda 2022-09-26 15:05:08 -04:00
README.md Initial Fork from chrome-aws-lambda 2022-09-26 15:05:08 -04:00
ansible.cfg Initial Fork from chrome-aws-lambda 2022-09-26 15:05:08 -04:00
inventory.ini Initial Fork from chrome-aws-lambda 2022-09-26 15:05:08 -04:00

README.md

Chromium Playbook

This Ansible playbook will launch an EC2 c6a.12xlarge Spot Instance and compile Chromium statically.

Once the compilation finishes, the binary will be compressed with Brotli and downloaded.

The whole process usually takes around 1 hour to on a c6a.12xlarge instance.

Chromium Version

To compile a specific version of Chromium, update the puppeteer_version variable in the Ansible inventory, i.e.:

puppeteer_version=v1.9.0

If not specified, the current main will be used.

Usage

AWS_REGION=us-east-1 \
AWS_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX \
AWS_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
make chromium

Requirements

  • Ansible
  • AWS SDK for Python (boto and boto3)