Sign inSign up

kmturley/lighthouse-ci

By kmturley

Updated about 9 years ago

Lighthouse CI tests a page and reports back the score

Image
1

1.7K

kmturley/lighthouse-ci repository overview

Lighthouse CI backend

Running Lighthouse in a Docker container.

Build the image

./docker_build.sh

Run the container

## Run a new container
./docker_run.sh

Usage

curl -X POST \
  -H "Content-Type: application/json" \
  -H "X-API-KEY: <YOUR_API_KEY>" \
  --data '{"format": "json", "url": "https://staging.example.com"}' \
  https://builder-dot-lighthouse-ci.appspot.com/ci
curl -i \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -X GET 'https://builder-dot-lighthouse-ci.appspot.com/stream?format=json&url=https://staging.example.com'

where format is one of json, html.

Tag summary

Content type

Image

Digest

Size

370.1 MB

Last updated

about 9 years ago

docker pull kmturley/lighthouse-ci