Commit Graph

424 Commits (d770327399f6da04a532e9a50965c9f5af901e10)

Author SHA1 Message Date
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
Mike McQuaid 797125a9df
workflows/tests: skip unbottled for dependents too. 2021-07-08 17:22:05 +01:00
Mike McQuaid 4848257f4f
.github/workflows: use new test-bot features.
This commit is a fairly giant change to how our CI works. It:
- explains (in the name) the difference between `dispatch-build-bottle`
  and `dispatch-rebottle`
- allows a custom build timeout for `dispatch-build-bottle` and
  `dispatch-rebottle` (defaulting to an hour) to avoid the CI queue
  getting backed up by default
- does some general cleanup of the workflow files
- uses `--skip-dependents` for `dispatch-build-bottle` and
  `dispatch-rebottle`; we're not testing new changes in these cases so
  there's no sense doing the (sometimes incredibly slow) full dependency
  tree checks
- allows specifying whether `dispatch-rebottle` fails fast on the first
  matrix build or not. Given that we're almost always wanting to
  rebottle all macOS versions in this case: it defaults to true to save
  time on pointless builds
- runs `brew test-bot --only-formulae-detect` once in the `tap_syntax`
  job and uses these results in the remaining tests. This ensures that
  they are consistent, precalculated and more easily visible.
- move all `brew test-bot` label outputs into a single string with
  all the arguments to simplify adding more and DRY things up
- add support for new `CI-fail-fast`, `CI-long-timeout` labels to
  customise GitHub Actions behaviour and have quicker failures/timeouts
  by default to avoid the CI queue backing up
- add support for new `CI-skip-dependents`,
  `CI-build-dependents-from-source`, `CI-skip-recursive-dependents`
  labels for customising `brew test-bot` behaviour by passing the
  respective flags through. This will allow speeding up and slowing down
  builds using labels rather than hardcoded values in `brew test-bot`.
- Use separate `brew test-bot --only-dependents` step to fail faster if
  one of the original formulae has failed and to separate the output of
  dependents and original formulae builds
- autoformat `triage.yml`
- add support for `CI-long-timeout`, `CI-build-dependents-from-source`
  and `CI-skip-recursive-dependents` labels into `triage.yml`
2021-07-08 15:00:07 +01:00
Mike McQuaid 4e3dd912a9 github/workflows/tests: rename pre_tests to check_labels.
This more accurately describes what's happening here.
2021-07-07 17:27:02 +01:00
Dawid Dziurla 341fbdcd75
workflows: label macos formulae (#80487) 2021-07-03 09:51:21 +02:00
Carlo Cabrera f19c4603db
workflows/triage: restrict self-hosted Linux labelling (#80387)
We only need these to run for `openssl@1.1` and `python@3.9`, and not
any other version (e.g. `python@3.8`).

The existing code will run `python@3.8` PRs on the self-hosted Linux
runner, and these will end up waiting ages for no good reason if they
come in shortly after a `python@3.9` PR.
2021-07-01 18:43:50 +02:00
Dawid Dziurla a1f2955999
workflows: cancel tap syntax in PRs only 2021-07-01 11:05:27 +02:00
Michael Cho be99503861
workflows: use system bash to fix post cleanup (#80316) 2021-07-01 07:32:39 +02:00
Dawid Dziurla 627652b1f6
workflows: run tap_syntax job in container (#80010) 2021-06-30 11:49:00 +02:00
Dawid Dziurla 42dad98b2d
workflows: always pull image 2021-06-29 23:37:55 +02:00
Dawid Dziurla 187206315b
workflows: always pull image 2021-06-29 23:37:14 +02:00
Dawid Dziurla ce382e7d43
workflows: add more formulae for linux self-hosted 2021-06-29 19:10:15 +02:00
Dawid Dziurla e7e076cf56
workflows: cache gems when dispatching 2021-06-27 19:02:30 +02:00
Dawid Dziurla 5ab0f6d38d
workflows: run setup/doctor on Linux (#80082) 2021-06-27 18:18:10 +02:00
Dawid Dziurla 1d5979f1e7
workflows: use 'concurrency' (#80085)
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency
2021-06-27 17:37:42 +02:00
Dawid Dziurla c3eeb22da8
workflows: prepare for more Linux runners 2021-06-26 20:19:40 +02:00
Dawid Dziurla ccd3264772
workflows: slap Wheezy label on zlib PRs
CC @iMichka
2021-06-26 10:25:46 +02:00
Dawid Dziurla 442093b29a
workflows: fix JSON syntax 2021-06-25 21:56:21 +02:00
Dawid Dziurla 648a5bb298
workflows: label actions PRs 2021-06-25 20:55:19 +02:00
Dawid Dziurla cd69b88d80
workflows: fix syntax 2021-06-25 20:32:08 +02:00
Dawid Dziurla 2f8d3642bb
workflows: merge dispatch workflows into one (#80015) 2021-06-25 20:24:26 +02:00
Dawid Dziurla b05a0f99bb
Revert "workflows: don't run pre_tests if syntax-only"
This reverts commit a39ebd5a34.
2021-06-25 19:36:41 +02:00
Dawid Dziurla a39ebd5a34
workflows: don't run pre_tests if syntax-only 2021-06-25 19:18:06 +02:00
Michka Popoff 97ea401627
tests: merge Linux wheezy workflow with main workflow (#79936) 2021-06-25 19:08:56 +02:00
Mike McQuaid fc3e15ce40 Workflows tweaks
- use new `GITHUB_ACTIONS_HOMEBREW_MACOS_SELF_HOSTED` variable
- add some comments to explain Linux code
2021-06-25 15:02:46 +01:00
Dawid Dziurla eaabac4f68 workflows: blend in some Linux into tests 2021-06-24 21:44:58 +02:00
Sam Ford daf4140f36 workflows/tests: update skip unbottled ARM ENV 2021-06-18 18:08:12 -04:00
Sam Ford 8df6b12c80 workflows/tests: tidy up JavaScript style 2021-06-17 11:13:42 +01:00
Sam Ford 52c9831661 workflows/tests: rename variables to label names
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-06-17 11:13:42 +01:00
Sam Ford 8b9b75e08b workflows/tests: fix if conditions 2021-06-17 11:13:42 +01:00
Mike McQuaid 8f1b7cbb75 workflows/tests: set test-bot arguments.
Follow-up to https://github.com/Homebrew/homebrew-core/pull/76761

This allows passing `--fail-fast` or `--skip-recursive-dependents` to
`brew test-bot` using labels.
2021-06-16 14:13:35 +01:00
Mike McQuaid b97e549fab Revert "Revert "workflows/tests: set timeout, fail fast using labels.""
This reverts commit 215a1061d9.
2021-06-16 14:13:35 +01:00
Michka Popoff 80bc399630
elfutils (new formula) (#78814) 2021-06-11 07:28:36 +02:00
Daniel Nachun 8ccb85cc60
at-spi2-atk: new formula (Linux-only) (#78816)
* at-spi2-atk: new formula (Linux-only)

* linux-pr-tests.yml: add at-spi2-atk
2021-06-07 08:25:10 +02:00
Nanda H Krishna 3feed0fb39
`PULL_REQUEST_TEMPLATE.md`: make some steps explicit (#78584) 2021-06-03 14:12:59 +05:30
Daniel Nachun 3b5cec88a4
avahi: new formula (Linux-only) (#75916)
* linux-pr-tests.yml: add avahi

* avahi: new formula (Linux-only)
2021-06-02 17:52:44 -07:00
Daniel Nachun 8ac85f5be7
at-spi2-core: new formula (Linux-only) (#76059)
* linux-pr-tests.yml: add at-spi2-core

* at-spi2-core: add new formula (Linux-only)
2021-06-02 17:51:15 -07:00