question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document how to setup free CI server

See original GitHub issue

Hi,

I’ve setup a base PR with Lighthouse CI on GitHub Action. Result.

But I’m laking some features:

  1. The diff against master branch. I though it was built-in and I’ll be able to compare by current PR to the master branch for eg. (from this repo screenshots) My bet is that I can have this diff only with the Lighthouse Server behind. Do you think we could have a free-budget style for Lighthouse Server on OSS projects?
  2. Having a budget setup. I’ve setup the lighthouserc.json as follow:
{
    "ci": {
        "budgetsFile": "./lighthouse/budget.json",
        "collect": {
            "staticDistDir": "./build"
        },
        "upload": {
            "target": "temporary-public-storage"
        }
    }
}

but so far nothing change.

I’m having difficulties following the documentation overall. There a lot of option but it lack of full example like the cli doc but for the lighthouserc.json.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
patrickhulcecommented, Nov 15, 2019

Oh, if you’re just looking for a free hosting setup, Heroku’s free plan fits the use case quite well since they come with free persistent postgresql databases. That’s actually what we used for our canary testing environment to ensure it would work for folks on free-quality hardware 😃

The idea of a free container through GCP is an interesting one, but not sure we’ll be able to pull that off internally. We’ll keep you posted.

If you don’t mind, I’ll convert this issue to writing up a guide on how to get this hosted on Heroku’s free tier.

1reaction
patrickhulcecommented, Nov 15, 2019

Thanks for filing @HugoGresse!

My bet is that I can have this diff only with the Lighthouse Server behind.

Correct the historical reports and diffing are available only on the CI server.

Do you think we could have a free-budget style for Lighthouse Server on OSS projects?

It’s on our radar, but a large scale service is understandably a much larger effort than a service supporting a single organization. We will update the documentation and repo with this information when there’s something more substantial to report.

Having a budget setup. I’ve setup the lighthouserc.json as follow:

Very close!

{
  "ci": {
    "assert": {
        "budgetsFile": "./lighthouse/budget.json"
    },
    "collect": ...
  }
}

I’m having difficulties following the documentation overall. There a lot of option but it lack of full example like the cli doc but for the lighthouserc.json.

We’ll work on setting up richer examples of complete config files 👍

EDIT: edited to reflect the correct status of a service

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial: Create and run your first GitLab CI/CD pipeline
On the left sidebar, select Repository > Files. Above the file list, select the branch you want to commit to. If you're not...
Read more >
How To Set Up a Continuous Integration & Delivery (CI/CD ...
The primary goal of a CI/CD pipeline is to automate the software ... When the repot detects a change, it triggers the Jenkins...
Read more >
Create a CI/CD pipeline for GitHub repo using Azure DevOps ...
Use DevOps Starter to create a CI/CD pipeline; Configure access to your GitHub repo and choose a framework; Configure Azure DevOps and an ......
Read more >
Building a CI server - GitHub Docs
Build your own CI system using the Status API. ... The crux of this guide will be setting up and configuring the server...
Read more >
How to build a CI/CD pipeline -- with examples - TechTarget
CI /CD deployments to the cloud might require you to automate configuration inside the operating system. Look into configuration management tools ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found