467 Commits

Author SHA1 Message Date
EricFromCanada
ec4d907d7d
CI: check for changes to autogenerated files 2023-02-23 09:17:56 +00:00
Bo Anderson
ae4fb07494
workflows/tests: fix failing CI when Homebrew/core not present 2023-02-18 03:31:59 +00:00
Mike McQuaid
80232af31d
More tweaks to testing output and speed
- Never bother to do `brew cleanup` after `brew install`
- Skip `brew test-bot --only-cleanup-before` in more places it's not
  needed
- Move `brew config`/`brew doctor` into the default formula run
  (through `brew test-bot --only-setup`)
- Install `buildpulse-test-reporter` rather than letting `brew tests`
  do it
- Improve the formatting of the `brew tests` step
- Further shorten the code coverage filenames
- Don't output BuildPulse results upload status unless failed
2023-02-17 16:17:45 +00:00
Mike McQuaid
9c96bf1832
workflows/tests: cache update-test's bundler.
This is only run on macOS for some reason but no harm in caching on
both.
2023-02-17 15:44:05 +00:00
Mike McQuaid
a743e9277f
workflows/tests: faster, more reliable tests.
- Extract update tests into separate tests.
- Make `brew tests --online` run only once in its own job. This job
  could be made non-required to fight flakiness.
- Split up the various macOS runs into several steps now that we have
  more parallel macOS workers available.
- Cleanup some flaky tests.
2023-02-17 15:26:18 +00:00
Mike McQuaid
2a5d41d41b
Revert "Merge pull request #14547 from Homebrew/revert-14412-homebrew_install_from_api_default"
This reverts commit f4e60482791d2ff628efadfdbf0d14d9237d2d29, reversing
changes made to e26784f424061ca16987afcb21e036c66a298492.
2023-02-07 19:25:40 +01:00
Mike McQuaid
0575903868
Revert "HOMEBREW_INSTALL_FROM_API: make the default for everyone." 2023-02-07 15:13:23 +01:00
Mike McQuaid
5f6c69bca2
HOMEBREW_INSTALL_FROM_API: make the default for everyone.
- remove all places we check the flag so it's a no-op now
- flip the messaging to refer to `HOMEBREW_NO_INSTALL_FROM_API` where
  relevant
- adjust the documentation
2023-02-05 18:13:08 +01:00
Bo Anderson
dc2f41cb8d
workflows: set working directory to repo location 2023-01-27 01:48:26 +00:00
Douglas Eichelberger
a2ed0f8eb9
Fix URL in vendor-gems.yml 2023-01-18 11:41:50 -08:00
Douglas Eichelberger
794b839e36 Fix remaining YARD exception 2023-01-12 09:56:05 -08:00
Kevin
99006870b1 workflow/tests: Remove redundant style check
The reason the redundant check exists is that we used to have separate core taps for MacOS and Linux but they have been merged. It also means that we don't have to manually fetch `homebrew/core` anymore.
2023-01-07 19:50:47 -08:00
Mike McQuaid
e0b79254e2
workflows/tests: only brew tests --online twice.
Previously, we ran it 5 times (4 on Linux, 1 on macOS) which burned up
our GitHub Actions token rate limit much quicker than is necessary.
2023-01-02 19:23:08 +00:00
Sean Molenaar
f1cc298956
Merge pull request #14265 from SMillerDev/feature/package/generate_mac_pkg
feature: generate macOS pkg files
2022-12-28 15:45:24 +01:00
Mike McQuaid
1d5dde1761
Merge pull request #14281 from MikeMcQuaid/checkboxes_to_discussion
ISSUE_TEMPLATE/bug: nudge people to discussions.
2022-12-27 20:45:41 +00:00
BrewTestBot
d9bfbfcba4
triage-issues.yml: update to match main configuration 2022-12-27 05:25:10 +00:00
Mike McQuaid
8c160639b0
ISSUE_TEMPLATE/bug: nudge people to discussions.
This probably won't work but gives us a stronger reason to ignore this.
2022-12-22 10:55:58 +00:00
Sean Molenaar
f6a9980e49
fix: cleanup macOS packaging
Don't allow specifying target
Add `set -e` to shell scripts
Don't try and package on every PR

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-21 13:18:09 +01:00
Sean Molenaar
72b3348fb1
feature: generate macOS pkg files 2022-12-19 21:26:24 +01:00
dependabot[bot]
614064d546
build(deps): bump reitermarkus/rerun-workflow from 1.2.2 to 1.3.0
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](c8d5bc3526...1a15891377)

---
updated-dependencies:
- dependency-name: reitermarkus/rerun-workflow
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:00:59 +00:00
BrewTestBot
6793974b95
triage-issues.yml: update to match main configuration 2022-12-05 10:01:56 +00:00
Mike McQuaid
f3085e51a2
Merge pull request #14156 from EricFromCanada/additional-ci-tests
CI: check yard & mdl output
2022-11-29 11:15:34 +00:00
Mike McQuaid
b936fd6677
Merge pull request #14173 from carlocab/rm-change-arch
brew.sh: remove `HOMEBREW_CHANGE_ARCH_TO_ARM`
2022-11-29 11:15:20 +00:00
Mike McQuaid
2262abf317
Merge branch 'master' into rm-change-arch 2022-11-29 10:38:32 +00:00
EricFromCanada
d9ef454528
CI: add docs.yml
With fixes for Markdown syntax to allow tests to pass.
2022-11-26 10:28:12 -05:00
Carlo Cabrera
2c1572c44c
workflows/doctor: skip unnecessary steps
Based on discussion from #14172.
2022-11-24 22:44:56 +08:00
Carlo Cabrera
cf01a7f985
brew.sh: remove HOMEBREW_CHANGE_ARCH_TO_ARM
We used to need this because the GitHub runner process was running under
Rosetta. GitHub Actions has supported native M1 runners for a few months
now, so I think it's time to remove this.
2022-11-24 22:07:30 +08:00
Carlo Cabrera
08e81aaf7a
Apply suggestions from code review
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-11-24 21:45:16 +08:00
Carlo Cabrera
2f28b28058
workflows/doctor: use ephemeral runners
This workflow hasn't been set up to run on our ephemeral runners. Let's
fix that.
2022-11-24 14:15:10 +08:00
Mike McQuaid
9e1ca132fc
Merge pull request #14126 from Homebrew/issue-templates
Improve issue templates
2022-11-11 12:56:05 +00:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04. 2022-11-09 14:45:43 +00:00
Mike McQuaid
e13c25f9f6
Update feature.yml 2022-11-09 12:48:45 +00:00
Mike McQuaid
280ed03c23
Update bug.yml 2022-11-09 12:46:22 +00:00
Bo Anderson
3867038ab7
workflows: migrate from deprecated set-output 2022-10-11 20:11:15 +01:00
Mike McQuaid
4aa765fafe
Cleanup and fix CI jobs
- use macOS 12 or Ubuntu 22.04 wherever appropriate
- don't append `(Linux)` to job names
- use specific Ubuntu 22.04 and Ubuntu 18.04 jobs

We may want to consider more Ubuntu 18.04 jobs in future, too.
2022-09-27 10:30:08 +01:00
BrewTestBot
a3dca99798
triage-issues.yml: update to match main configuration 2022-09-22 14:49:50 +00:00
BrewTestBot
7cc51580ca
triage-issues.yml: update to match main configuration 2022-09-21 09:28:06 +00:00
dependabot[bot]
5e1f2d7a7a
build(deps): bump codecov/codecov-action from 3.1.0 to 3.1.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](81cd2dc814...d9f34f8cd5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 18:07:23 +00:00
Mike McQuaid
344d47accc
sponsors-maintainers-man-completions: various fixes.
- fix name
- use correct command
2022-09-08 12:19:13 +01:00
Mike McQuaid
04dfb9d4b8
Merge pull request #13820 from MikeMcQuaid/update-update-sponsors
update-sponsors: don't require admin token.
2022-09-08 11:14:49 +01:00
Mike McQuaid
8be9094622
sponsors-maintainers-man-completions: update sponsors too. 2022-09-08 10:45:15 +01:00
Bo Anderson
a0985191ea
Add messaging for Docker image deprecation 2022-09-07 13:26:08 +01:00
Shaun Jackman
0de4282511
CI: Use ubuntu-22.04 rather than ubuntu-latest (ubuntu-20.04)
Use ubuntu-22.04 for the CI tests rather than ubuntu-latest,
which is currently ubuntu-20.04.
2022-09-06 14:16:16 +01:00
Shaun Jackman
b01e0abcf8
Update LINUX_CI_OS_VERSION and related constants
- Change `LINUX_CI_OS_VERSION` from `Ubuntu 16.04` to `Ubuntu 22.04`
- Change `LINUX_GLIBC_CI_VERSION` from `2.23` to `2.35`
- Change `LINUX_GCC_CI_VERSION` from `5.0` to `11.0`
- Change `LINUX_PREFERRED_GCC_FORMULA` from `gcc@5` to `gcc@11`
- Build the Docker image `ghcr.io/homebrew/ubuntu22.04:master`
2022-09-06 14:16:16 +01:00
Mike McQuaid
9cfa3d9f2a
Merge pull request #13790 from MikeMcQuaid/all_deprecation
Deprecate reading all formulae through commands
2022-09-05 14:27:42 +01:00
Mike McQuaid
e2759fbdff
Deprecate reading all formulae through commands
We added the `--all` flag (now renamed to `--eval-all`) for various
commands for this behaviour so let's start deprecating this.

Also, introduce a `HOMEBREW_EVAL_ALL` environment variable to use the
existing, less secure, behaviour by default and avoid passing
`--eval-all` everywhere.
2022-09-05 13:57:22 +01:00
Mike McQuaid
56cca1edd3
.github/workflows: various fixes.
- don't try to `brew update-sponsors`, @BrewTestBot doesn't have
  `admin:org` rights, nor should they
- allow testing the `maintainers-man-completions` workflow on branches
- cache RubyGems for `brew generate-man-completions`
- add `workflow_dispatch` support to `spdx` workflow for easier testing
2022-09-05 13:27:50 +01:00
Mike McQuaid
af6165aab7
Automate sponsors updates
- Add sponsors updating to the existing man/completion/maintainer update workflow
- Hide/deprecated --fail-if-not-changed arguments and make them default behaviour
- Rename man-completions workflow to sponsors-maintainers-man-completions for consistency
- Make output and exit codes more consistent between these updating commands
- Fix maintainers updates not always being committed correctly
2022-09-02 08:24:33 +01:00
BrewTestBot
b56f95395b
triage-issues.yml: update to match main configuration 2022-07-18 16:16:31 +00:00
Rylan Polster
a64f04f678
Merge pull request #13464 from Homebrew/dependabot/github_actions/reitermarkus/rerun-workflow-1.2.2
build(deps): bump reitermarkus/rerun-workflow from 1.2.1 to 1.2.2
2022-06-23 10:31:40 -04:00