Skip to content

Commit

Permalink
Merge bitcoin#20615: cirrus: Schedule one task with paid credits for …
Browse files Browse the repository at this point in the history
…faster CI feedback

faf2c6e cirrus: Schedule one task with paid credits for faster CI feedback (MarcoFalke)

Pull request description:

  During times of high activity in the repo, the scheduling of Cirrus CI tasks might put them a few hours in the future. This is fine when all the tasks eventually pass. Though for failing tasks, a failure should ideally be shown to the author and reviewer as soon as possible.

  Compute credits can be used to schedule immediately: https://cirrus-ci.org/pricing/#compute-credits. Running all tasks with compute credits will probably be more expensive than our previous CI invoice. However, they are also more flexible.

  As a start we could enable only a single task and revisit/re-evaluate the next steps in a month.

ACKs for top commit:
  laanwj:
    Concept ACK faf2c6e
  fanquake:
    ACK faf2c6e
  practicalswift:
    cr ACK faf2c6e: patch looks correct

Tree-SHA512: df599e1c4cc0394f7f03413ad29954ddc87b163b02640d8bfc0497a5dc8d237b8c963c1dd9d01ac83c4a044f575300763097dac2ea6d1a4a163a1cece342b743
  • Loading branch information
laanwj authored and knst committed Mar 26, 2024
1 parent 5d66d57 commit 955fc41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ task:

task:
name: '[previous releases, uses qt5 dev package and some depends packages] [unsigned char] [focal]'
# For faster CI feedback, immediately schedule a task that compiles most modules. https://cirrus-ci.org/pricing/#compute-credits
use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'bitcoin/bitcoin'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
Expand Down

0 comments on commit 955fc41

Please sign in to comment.