git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/1] ci: avoid unnecessary builds

From
Taylor Blau <me@ttaylorr.com>
Date
Nov 8, 2022, 20:09 UTC
Message-ID
<Y2q3f5noQSXmK0o8@nand.local>
In-Reply-To
<221108.86r0ydqmts.gmgdl@evledraar.gmail.com>
On Tue, Nov 08, 2022 at 07:52:07PM +0100, Ævar Arnfjörð Bjarmason wrote:
> I.e. the "cancel-in-progress" seems to work perfectly. I pushed a branch
> with this, it started CI, then I made a trivial update, re-pushed, and
> the initial branch's CI run was stopped, one job at a time (not all at
> the same time, but almost).
Thanks to Johannes for all of that ;-).
Show 8 quoted lines
> Now, obviously it's a bit more of a verbose solution v.s. Johannes's
> original in [1], but on the other hand our main.yml is full of that sort
> of copy/pasting already.
>
> Aside from the change under discussion I don't find that to be a big
> deal. It's a general "problem", and we could always generate the file
> with a script if we really cared, but I think for the forseeable future
> the copy/pasting is fine.

To be fair, I think that the solution I came up with is pretty gross. But after spending a few hours with the Actions docs, I think that it's the least-gross solution that meets the needs of our respective workflows.

So I'm OK with it.

Thanks, Taylor

Previous: Taylor Blau
Message 5 of 5 in “ci: avoid unnecessary builds, with ci-config”
  1. 0/1 ci: avoid unnecessary builds, with ci-configTaylor Blau, Nov 8, 2022
  2. 1/1 ci: avoid unnecessary buildsTaylor Blau, Nov 8, 2022
  3. Ævar Arnfjörð BjarmasonNov 8, 2022
  4. Taylor BlauNov 8, 2022
  5. Taylor BlauNov 8, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.