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.

[FeatureReq] Easy Circle CI setup

See original GitHub issue

It would be great to install a circle-ci package or use an orb to quickly get started.

There’s an ENV variable called CIRCLE_COMPARE_URL which can be used to:

  1. Find the last successful build 1.1. If any, get that commit sha 1.2. If none, fall back to master branch
  2. Define range from current commit sha to commit from 1

Although it might be “better” if we could find the default branch at 1.2, this is something we can build too for commitlint.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
rrjohnson85commented, Apr 2, 2020

If you’re using pipelines in CircleCI, I believe the following would work:

npx commitlint --from << pipeline.git.base_revision >> --to << pipeline.git.revision >>
1reaction
AdeAttwoodcommented, May 17, 2021

I don’t use CircleCI, but there are some docs on the website that haven’t been linked to yet.

Could be worth updating that if it’s not what you are after. The above snippet is not in there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quickstart Guide - CircleCI
Create a repository called “hello-world” in GitHub or Bitbucket. Then in the left-hand menu, select Projects . Find the repository, and click Set...
Read more >
Continuous Integration with CircleCI and Github Easy Tutorial
Try CircleCI by using this link it's free to tryhttps:// circle. ci /codingphase ‍ | Looking to Learn...
Read more >
How to set up continuous integration with Circle CI, EmberJS ...
Tutorial Goals. This is your first step into the Continuous Integration process. So, let's keep things very simple. Our goal is to create...
Read more >
CircleCI - Rainforest QA
CircleCI is a hosted continuous integration (CI) server. Using the Rainforest CLI, it's easy to configure CircleCI to run your Rainforest test suite...
Read more >
How To Automate Deployment Using CircleCI and GitHub on ...
One Ubuntu 18.04 server set up by following this Initial Server Setup for Ubuntu 18.04 tutorial, including a sudo non-root user and a...
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