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.

ENH: CI: Add a `[skip cirrus]` markup to skip running Cirrus jobs.

See original GitHub issue

It would be nice to be able to skip the Cirrus jobs, especially in their current state. It looks like it might be as simple as adding something like

    if "[skip cirrus]" in dct["message"]:
        return []

at the appropriate place in .cirrus.star, but that idea is the result of about 5 minutes of code browsing. @andyfaff, would something like that work?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
andyfaffcommented, Oct 19, 2022

CIRRUS_CHANGE_IN_REPO is the SHA of the last commit. The code I mentioned above grabs information from GH on that commit message, placing it into dct. One of the keys is message which is the commit message.

1reaction
andyfaffcommented, Oct 18, 2022

It’s inbuilt to cirrus-ci. See https://github.com/andyfaff/scipy/pull/36/checks?check_run_id=8970766219 where I created a PR against my own fork with [skip cirrus] in the commit message. The CI run is skipped automatically without having to change any of our configuration.

Your suggestion would also work @WarrenWeckesser. Note however, that there’s nothing wrong with the infrastructure of the cirrus_general_ci runs, there are 15 failing tests that we need to address.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Careers | Cirrus Aircraft
Careers. We are a team of aviation enthusiasts fueled by a desire to look towards the ... Joining Cirrus Aircraft is much more...
Read more >
Careers | Cirrus Logic
A career at Cirrus Logic provides the opportunity to work on innovative projects alongside some of the industry's best engineers, developing integrated circuits ......
Read more >
Changelog - curl
m32: add support for custom ARCH [ci skip] · Makefile.m32: allow -nghttp3/-ngtcp2 without -ssl [ci skip] · Makefile.m32: do not set the libcurl....
Read more >
ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/le...
+- commit bd7c89a + +- usb: xhci-mtk: skip dropping bandwidth of ... +- commit 26dfc56 + +- cirrus: cs89x0: remove set but not...
Read more >
Independence Aviation: Cirrus flight training in Colorado
As a Platinum Cirrus flight training in Colorado, we offer the largest and newest Cirrus aircraft fleet all in one location.
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