Commit Graph

560 Commits (269ec03957b71c85601deca47e3acb4b7a9d5827)

Author SHA1 Message Date
Michka Popoff 01a6a32928
triage.yml: remove wheezy label 2022-06-21 13:55:36 +01:00
Bo Anderson 13fbf19e6a
workflows/tests: use envs rather than interpolation 2022-06-14 13:16:04 +01:00
Alexander Bayandin 36b8a4aaf8
workflows/autobump: remove trino (#103300) 2022-06-09 13:59:09 +01:00
Bo Anderson 5533e0da8d
workflows/tests: temporarily stop dispatching jobs for ephemeral
Closes #101564.

Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
2022-05-15 03:56:07 +00:00
Bo Anderson da6187b285
workflows/test: add test ephemeral runner 2022-04-27 22:12:40 +01:00
Rui Chen 09ea1f78bd
autobump: track more formulae (#99474)
* autobump: track more formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* add more formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* add more formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* remove hugo

Signed-off-by: Rui Chen <rui@chenrui.dev>

* autobump: remove scalapack

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-04-25 09:07:53 +01:00
Rui Chen 69c108fd5f
triage: add more `long build` formulae (#99475)
* triage: add more `long build` formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* triage: remove cmake

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2022-04-25 09:07:47 +01:00
BrewTestBot a9fcb94214
triage-issues.yml: update to match main configuration (#99111) 2022-04-12 17:35:53 +01:00
Mike McQuaid 7d59f96806
Update Homebrew discussion links (#98573)
The organisation discussions have a cleaner URL.
2022-04-06 10:11:37 +01:00
Christian Clauss 1d406953b0
workflows: upgrade actions/github-script to v6 2022-03-22 01:05:25 +00:00
Sean Molenaar 514e23c2c9 Tests: set the default timeout to 90 minutes 2022-03-21 11:12:18 +01:00
Bo Anderson 64a184b5d9
workflows/tests: don't run dependent tests on cancel 2022-03-10 18:22:22 +00:00
Sam Ford eefe7be731
Remove autobump formulae with Repology issues (#94346)
The newest version reported by Repology for these formulae is
inappropriate with respect to the formula. Since the `autobump`
workflow is now using `brew bump` to open version bump PRs and `bump`
uses the newest version from livecheck and Repology, we have to remove
these formulae from this list until we can tell `bump` to only open a
PR for a new version from livecheck.
2022-03-08 11:31:27 -05:00
Bo Anderson 1a3d985a5e
workflows/publish-commit-bottles: allow running on self-hosted 2022-03-03 15:40:29 +00:00
Carlo Cabrera f48d2579be
workflows/tests: always test dependents unless requested otherwise (#95440)
Skipping testing dependents makes it that much harder to identify
formulae that need revision bumps.

See, for example, #91224, where the need to rebuild `gnuradio` could've
been identified days, if not weeks, earlier if we did not skip dependent
tests when one of the tested formulae fails.

Note that this will still skip the testing of dependents of failed
formulae, because these are passed in the `--skipped-or-failed-formulae`
flag.

Related discussion: #82220
2022-02-28 10:35:37 +08:00
Carlo Cabrera b6d0e2ee8f
triage: add more `long build` formulae (#95136) 2022-02-15 13:55:36 +08:00
Carlo Cabrera c356327ee1
workflows/tests: error when `long build` is set without `CI-long-timeout` (#94907)
We now use a `long build` label to identify PRs that need the
`CI-long-timeout` label but don't have it because other PRs are
currently using it.

Let's save some CI time by failing CI whenever a PR has the `long build`
label but not the `CI-long-timeout` label.

I've also updated `triage.yml` to add the `long build` label where
appropriate. The criterion I used here was whether a CI run that skips
dependent testing will still exceed the short timeout of 60 minutes.

This leaves out formulae that regularly take a long time only due to
having a large number of dependents (e.g. `python@3.*`, `go`). I think
this is the correct thing to do to avoid having to manually remove the
`long build` label every time the `triage` workflow is run in cases
where the CI run will not actually need `CI-long-timeout` (e.g. when we
use `CI-skip-dependents`).

This is based on the suggestion from #94792.
2022-02-11 23:26:48 +08:00
Carlo Cabrera c8e630a009
workflows/tests: set longer timeout for self-hosted Linux runner too (#93732) 2022-02-11 06:28:55 +08:00
Thierry Moisan d15507f655
Remove sonarqube-lts from the autobump list (#94557) 2022-02-10 17:43:24 +00:00
Carlo Cabrera dc934e95c6
tests: show linkage and bottle output earlier (#94825)
These don't need the outcome of the dependent tests, so let's show them
earlier. It'll also make the formulae step easier to distinguish from
the dependents step in the CI log.
2022-02-10 16:32:20 +08:00
rui 7d7647d91a
autobump: track more formulae (#94087)
* autobump: track more formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* remove dups and add more rust formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* fix case issue for `MeiliSearch` name

* autobump: remove `dwarfutils`

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>

* autobump: remove `fst`

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>

* autobump: remove `rover`

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-02-01 20:23:11 -05:00
Carlo Cabrera cc15e0491c
workflows/dispatch-build-bottle: always upload logs (#94130)
This is the same change as in #94067.

In particular, I need this in order to diagnose a bottling failure for
`libxslt` which I can't reproduce locally.
2022-01-30 15:46:45 +01:00
Dawid Dziurla a94d550a66
workflows: try to fix autobump (#94084) 2022-01-29 23:43:54 +01:00
Carlo Cabrera d59f5c4349
workflows/tests: always upload logs (#94067) 2022-01-29 23:54:33 +08:00
Carlo Cabrera ea93315763
workflows/tests: fix GraphQL query errors (#93472)
The `response` has no `data` property -- this is already read by
Octokit.
2022-01-20 22:51:50 +01:00
Carlo Cabrera 6a3ee7e606
workflows/tests: show `brew linkage` output (#93341)
Needs Homebrew/homebrew-test-bot#771.
2022-01-18 16:20:04 +01:00
Carlo Cabrera ad5776e46c
workflows: remove `HOMEBREW_RELOCATE_RPATHS` (#93327)
These now do nothing since Homebrew/brew#12745.
2022-01-18 21:16:56 +08:00
Carlo Cabrera c68d9b70d6
tests: get debug output for failed API queries (#93275)
I got in touch with GitHub Support about our constantly failing GraphQL
queries. They requested for the `x-github-request-id` in the response
header of any of our failed queries, so I'm adding this to try to
generate one.
2022-01-17 21:51:00 +08:00
rui e523676669
autobump: track more formulae (#92769)
* autobump: track more formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* track more go formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-10 13:56:05 +01:00
Carlo Cabrera 432a355fa7
workflows/tests: warn when label count query fails (#92555)
I suspect this query is failing all the time these days, but can't
confirm because the query fails silently. Let's at least set a warning
when it fails so what we can check whether it did or didn't.
2022-01-05 21:27:35 +08:00
rui c28cc34670
autobump: track more java formulae (#92328)
* autobump: track more java formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* add more apache formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-03 10:58:48 -05:00
rui 8281139e75
autobump: track more php formulae (#92189)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-30 07:42:58 -05:00
rui f688d269b3
autobump: track more formulae (#91955)
* autobump: track more formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>

* remove dup

Signed-off-by: Rui Chen <rui@chenrui.dev>

* add some more formulae

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-24 08:49:09 +01:00
Rui Chen ef6cd71d2d autobump: track more rust formulae
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-19 18:29:14 +01:00
Bo Anderson e0174499bb
workflows: invoke self-hosted logic on Linux (#91274) 2021-12-14 19:09:41 +00:00
Carlo Cabrera 5950a53872
workflows/tests: remove `bottles` directory on Linux (#90766)
Creating this directory produces a `File exists` error on the
self-hosted Linux runner (cf. #90611).

There ought to be a better solution, but I have no idea what it is, so
let's unblock PRs that need the self-hosted runner for now.
2021-12-09 19:00:15 +08:00
Issy Long 9c63066585
ci: Make the 'CI-long-timeout' check fail open on GitHub API errors (#90735) 2021-12-09 08:09:17 +08:00
Carlo Cabrera 631d0f057c
workflows/tests: limit use of `CI-long-timeout` label (#90718)
* workflows/tests: limit use of `CI-long-timeout` label

The `CI-long-timeout` label is currently overused: it is almost always
added to every PR that takes longer than an hour to run, and we suffer
from long CI queues as a consequence. This defeats the purpose of having
the label in the first place.

Let's try to mitigate this by automatically removing the
`CI-long-timeout` label whenever there are at least two open PRs that
already have the label applied.

I employ a little hack to be able to use our `label-pull-requests`
action, since trying to do this with `actions/github-script` is a little
involved. An alternative to this is to use an external action such as
`andymckay/labeler`. [1] I can also look at adapting our action
properly, but this might take a while since I don't know JavaScript.

[1] https://github.com/andymckay/labeler

* Consolidate timeout label jobs

* Fail long-timeout PRs when there are too many of them

This gets around the issue of requiring a token with write permissions
to pull requests.

* Integrate long PR count into `tap_syntax` job

* Improve error message

Also, extract the maximum number of long-timeout PRs to a variable for
clarity.
2021-12-08 22:50:16 +08:00
Bo Anderson 044713f3a2
workflows/dispatch-rebottle: dynamic runner selection (#89984) 2021-12-04 06:59:31 +08:00
Carlo Cabrera 5745d44303
triage: skip recursive dependents for `sqlite` (#90332)
sqlite is quite good at maintaining API/ABI compatibility, so there
isn't really much of a need to spend an extra two days on CI testing
recursive dependents.

Let's also fix the incorrect reference to `openssl.rb` since it's also
on the same line, and remove sqlite and rust from having the
`CI-linux-self-hosted` label automatically applied.
2021-12-03 21:43:21 +00:00
Carlo Cabrera e70c5a9923
bug.yml: fix missing `label` property (#90232)
Submitting bug reports hasn't worked for a while because of the missing
`label`.

My editor complained about `labels` needing to be an array, so I've made
that one too. It was also complaining about the missing label property
for the checkboxes, so I guess it knows what it's talking about here.

See https://github.com/Homebrew/discussions/discussions/2526#discussioncomment-1731168
2021-12-01 15:28:41 -05:00
fn ⌃ ⌥ f03c62e3d4 workflows: update legacy formula exceptions 2021-11-23 11:56:49 +00:00
fn ⌃ ⌥ 3f3fa990a4
workflows/triage: replace JSON with YAML (#89759) 2021-11-22 20:03:41 +08:00
Dawid Dziurla f775b14e4a
workflows: use `container` (#89586) 2021-11-21 09:38:09 +01:00
Dawid Dziurla 84870fee08
workflows/autobump: fix username setting (#89747) 2021-11-20 16:51:57 +08:00
Carlo Cabrera 542ed55211
tests: set timeout via flags only on self-hosted runners (#89620)
We're not particularly constrained (yet?) in our use of GitHub runners,
so we probably don't need to cut jobs short when using them. This would
be useful for PRs such as #89617 where the macOS runners finish in under
an hour, but the Linux runner requires more than an hour to complete.
2021-11-18 21:30:58 +08:00
Dawid Dziurla a6f2a9d096
workflows/autobump: flip username logic 2021-11-18 10:38:17 +01:00
Rui Chen be475e0c30 workflows/autobump: track more formulae
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-11-17 00:58:33 -05:00
Rui Chen ed312b910e workflows/autobump: track more nodejs formulae
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-11-14 19:49:53 -05:00
Dawid Dziurla eeeeb6e109
workflows/triage: label dotnet formula PRs (#89327) 2021-11-13 21:40:13 +01:00
Carlo Cabrera 4642fe362e
workflows: use `--skip-online-checks` for bottle jobs (#89268)
This follows from the discussion at Homebrew/homebrew-test-bot#699, and
implements part of #89265.
2021-11-12 20:29:25 +08:00
Rui Chen cc327e2675 workflows/autobump: track some nodejs formulae
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-11-07 10:04:24 -05:00
Dawid Dziurla f141a8f3b6
workflows/autobump: fix you typo 2021-11-07 12:32:39 +01:00
Dawid Dziurla 363aac9ffa
workflows/autobump: configure git user based on event type 2021-11-07 12:24:31 +01:00
Rui Chen 04c6be9753 workflows/autobump: update formulae list 2021-11-06 02:05:58 -04:00
Carlo Cabrera bca470a3a1 Remove `CI-force-{arm,linux}` label handling
These will do nothing when Homebrew/homebrew-test-bot#687 is merged.
2021-11-05 18:19:23 +08:00
Carlo Cabrera b0b2d58211 workflows/tests: enable Monterey CI on PRs
Pair with Homebrew/homebrew-test-bot#682.
2021-11-05 18:19:23 +08:00
Carlo Cabrera 8f8ecf17c9
dispatch-build-bottle: upload failed bottles (#88191)
This is useful for examining built bottles that somehow failed the tests
for some other reason. (e.g. https://github.com/Homebrew/homebrew-core/issues/87708#issuecomment-951088501)

This change is identical to the code that's already in `tests.yml`:

ce050467b2/.github/workflows/tests.yml (L300-L315)

While we're here, let's also echo the timeout, since this is useful to
know while a job is running.
2021-10-28 20:50:40 +08:00
Bo Anderson eb2d6c0096
workflows/dispatch-build-bottle: allow an array of runners (#87867) 2021-10-25 04:11:55 +01:00
Carlo Cabrera 6190ea61a7
workflows/tests: run `git clean` in container setup (#87801)
This resolves `brew doctor` errors due to uncommitted modifications in
the Linux container seen at #87793 and #87794.
2021-10-23 08:15:51 +02:00
Bo Anderson 8de1f5a15c
workflows/tests: don't test Monterey by default for now 2021-10-21 19:29:28 +01:00
Bo Anderson 402f44a20b
workflows: add Monterey CI (#87707) 2021-10-21 19:11:19 +01:00
Bo Anderson 76c0e12670 Remove linuxbrew-core references 2021-10-21 14:52:39 +01:00
Dawid Dziurla 883587144d
workflows/autobump: add exploitdb 2021-10-20 19:58:44 +02:00
BrewTestBot 6fb6e310e9 triage-issues.yml: update to match main configuration 2021-09-28 19:26:51 +02:00
BrewTestBot c69c13c567
triage-issues.yml: update to match main configuration (#86038) 2021-09-28 19:01:33 +08:00
BrewTestBot 6b01e3adcd
triage-issues.yml: update to match main configuration (#85261) 2021-09-15 21:57:29 -04:00
Branch Vincent e3d6730447
workflows/tests: use shorter name 2021-09-12 23:57:15 -04:00
Dawid Dziurla f87b69819e
workflows: check for bottle block first 2021-08-29 20:03:45 +02:00
Dawid Dziurla fdb5778788
workflows: add `no Linux bottle` labeling (#84166)
* ignore macos-only and :all bottles
2021-08-29 08:49:42 +02:00
Mike McQuaid 5b0093e540 workflows/tests: fix --skip-dependents.
This didn't actually do anything since we split dependents to a separate
step. Now, it skips the entire `--only-formulae-dependents` run.
2021-08-26 14:12:30 +01:00
BrewTestBot d08bd03128
triage-issues.yml: update to match main configuration (#83662) 2021-08-20 17:24:03 +00:00
Michka Popoff 390865ea32
triage.yml: patchelf is now built on ubuntu (#83525) 2021-08-19 07:26:28 +02:00
Dawid Dziurla 6f36f4bb61
workflows: bump formulae in container
So we won't have to download gems every time
2021-08-15 12:16:43 +02:00
Dawid Dziurla 91f09b3a71
workflows: tweak bumping workflow name 2021-08-15 09:37:04 +02:00
Dawid Dziurla f68ded0263
workflows: remove concurrency group from bumping 2021-08-15 09:35:47 +02:00
Dawid Dziurla d95f3d8c4c
workflows: fix indentation 2021-08-15 09:34:12 +02:00
Dawid Dziurla d20f7aaf62
workflows: support custom formulae bump input 2021-08-15 09:31:21 +02:00
Dawid Dziurla 30f858fde3
workflows: add some more formulae to bump list 2021-08-15 09:16:27 +02:00
Dawid Dziurla 7ca893a642
workflows: change token for bumping 2021-08-13 23:14:19 +02:00
Dawid Dziurla 0ed3c3ee25
workflows: disable commit signing for bump 2021-08-13 22:58:03 +02:00
Dawid Dziurla 84dc9035f6
workflows: add skaffold to bumping list 2021-08-13 22:47:44 +02:00
Dawid Dziurla 9e02b04f07
workflows: polish bumping 2021-08-13 22:41:55 +02:00
Dawid Dziurla 5a9f496b43
workflows: fix typo 2021-08-13 22:37:35 +02:00
Dawid Dziurla f46ebfdbf8
workflows: add autobumping (#83235) 2021-08-13 22:35:37 +02:00
BrewTestBot 948f039c69
triage-issues.yml: update to match main configuration (#82475) 2021-08-02 22:07:08 -07:00
Dawid Dziurla c4ec351b49
workflows/autopublish: autosquash by default (#81464) 2021-07-20 19:47:06 +08:00
BrewTestBot 52584659e6
triage-issues.yml: update to match main configuration (#81346) 2021-07-16 14:04:09 +08:00
Mike McQuaid 428212f425 Revert "tests: skip unbottled linux reverse dependencies"
This reverts commit 9930149e4b.
2021-07-12 11:57:03 +01:00
Michka Popoff 9930149e4b tests: skip unbottled linux reverse dependencies
Even if we set the label to force the Linux build for the current formula,
we still want to skip testing reverse dependencies on Linux that are not bottled,
as these will probably fail.

This was working before but the logic change when both test-bot calls
were split a few days ago.

We can revert this change later when we have done all our Linux bottling.
2021-07-10 22:56:17 +02:00
Dawid Dziurla 0329cbcfba
workflows: we need bottles for Linux 2021-07-10 20:15:49 +02:00
Dawid Dziurla 2f59e2bcd9
workflows: fix triage concurrency 2021-07-09 18:19:28 +02:00
Dawid Dziurla ab4fc6b1db
workflows: tighten concurrency key 2021-07-09 18:14:08 +02:00
Dawid Dziurla 40eea9653b
workflows: don't cancel triage 2021-07-09 18:05:54 +02:00
BrewTestBot ec47f640a6 triage-issues.yml: update to match main configuration 2021-07-09 12:36:51 +01:00
Mike McQuaid d8de824734 .github/workflows: add more `concurrency`.
Set `concurrency` on all workflows where it makes sense to do so.
2021-07-09 12:27:18 +01:00
Sam Ford 14a2181168 workflows/tests: fix syntax-only condition 2021-07-08 16:37:11 -04:00
Mike McQuaid 0939bcd41a github/workflows: more test-bot tweaks.
- reorder some arguments
- trim some repeated argument lists
- `touch` file before `cat`ing it (so it doesn't fail)
- remove some no-op test-bot flags
2021-07-08 19:48:53 +01:00
Mike McQuaid 39939bef5a
workflows/tests: pass through skipped-or-failed-formulae.
Otherwise these aren't skipped properly on the dependents step.
2021-07-08 17:42:40 +01:00
Mike McQuaid a8d77aec17
workflows/tests: don't run --only-formulae-detect for master. 2021-07-08 17:24:50 +01:00