Commit Graph

424 Commits (d770327399f6da04a532e9a50965c9f5af901e10)

Author SHA1 Message Date
Bryce Glover f49ee83d88
.github/workflows/linux-recreate-runner.yml: Only run on official Homebrew (#78101)
taps' CI.

     This workflow recently got introduced without a check to guard against
running on user forks even if those didn't set Linux CI runners up for it to
recreate.
2021-05-27 11:21:55 +02:00
BrewTestBot d72eaf2c74
triage-issues.yml: update to match main configuration (#77878) 2021-05-23 17:14:16 +00:00
Dawid Dziurla 05b0f11f66
workflows: quotes consistency 2021-05-21 11:23:51 +02:00
Dawid Dziurla f46db56de5
workflows: fix cron for runner recreation 2021-05-21 11:22:59 +02:00
Michka Popoff bd7fe60b56
workflows: add workflow to recreate linux self-hosted VM on shedule (#75951)
This workflow will run once each 24h to delete the linux runner and create a new one,
to increaste the security of the runner in case it is compromised.

This is a middle ground as we can't have disposable self-hosted runners.

Right now this PR is just a WIP that tries to understand how to fetch the list of runners
and their status from github.
2021-05-20 14:16:19 +02:00
Mike McQuaid 215a1061d9 Revert "workflows/tests: set timeout, fail fast using labels."
This reverts commit 0bf313c275.
2021-05-17 15:14:36 +01:00
Mike McQuaid 0bf313c275 workflows/tests: set timeout, fail fast using labels.
This adds support for using `CI-long-timeout` and `CI-no-fail-fast` to
set the timeout to 3 days (the current default) and make matrix jobs
not fail fast (the current default).

We could potentially explore more labels like this in order to further
customise how we run things in CI. For example, optionally passing
`--fail-fast`, `--skip-recursive-dependents` and potentially new options
to e.g. skip all dependent checking could all be options to allow us to
customise our CI usage.

This could also allow us to disable e.g. failing on a `brew audit`
failure so that we can start requiring green CI to be able to merge PRs.

The code here is a bit copy-paste for now but I wanted feedback on the
approach before spending more time on it. As-is the YAML linter I'm
using also complains about the types being incorrect (strings rather
than boolean/integer) so I'm interested if there's a workaround for that
too.
2021-05-17 14:26:52 +01:00
BrewTestBot 5a8e3cbfd1
triage-issues.yml: update to match main configuration (#77334) 2021-05-14 18:04:58 -04:00
Rylan Polster b6492621ab
workflows/triage: auto-label `bump-formula-pr` (#76883)
* workflows/triage: indent using 2 spaces

* workflows/triage: auto-label `bump-formula-pr`
2021-05-10 12:20:19 -04:00
Carlo Cabrera 55bf5760f0
workflows: set `HOMEBREW_RELOCATE_RPATHS` (#76875)
This enables `RPATH` relocation when building bottles.
2021-05-10 16:12:33 +01:00
Michka Popoff 5f6ad61618
workflows: display and upload logs for Linux builds (#76753) 2021-05-06 08:59:28 +02:00
Bo Anderson f11b72d4c5
workflows: output `brew bottle` result (#76643) 2021-05-04 21:33:35 +02:00
Daniel Nachun e0449a3423
sysstat: new formula (Linux-only) (#76062)
* linux-pr-tests.yml: add sysstat

* sysstat: add new formula
2021-04-29 18:17:10 -07:00
Mike McQuaid 12daf5511c
workflows/dispatch-rebottle: debug upload. 2021-04-29 10:15:10 +00:00
Daniel Nachun 3eb2d7a200
lm-sensors: add new formula (Linux-only) (#76058)
* linux-pr-tests.yml: add lm-sensors

* lm-sensors: add new formula (Linux-only)
2021-04-28 00:41:16 -07:00
Daniel Nachun 0de26fbe2e
sshfs: update so this will build on Linux (#74760)
* sshfs: update so this can build on Linux

* linux-pr-tests.yml: add sshfs
2021-04-20 23:23:15 -07:00
Carlo Cabrera 546bb67312
bug.yml: remove `issue_body` (#75616)
The issue tracker doesn't work at the moment.

See https://github.com/Homebrew/brew/pull/11198
2021-04-20 23:03:21 +01:00
Mike McQuaid 685eea39ff github/workflows: bottle with `--only-json-tab`
This reverts commit 76096f7374.

Depends on https://github.com/Homebrew/brew/pull/11131
2021-04-14 15:39:20 +01:00
Mike McQuaid 76096f7374
Revert "github/workflows: bottle with `--only-json-tab`"
This reverts commit 36add14cca.
2021-04-13 13:34:32 +01:00
Carlo Cabrera d225bb651e bug.yml: apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-04-13 13:02:57 +01:00
Carlo Cabrera c9ed9dc308 bug.yml: update issue template 2021-04-13 13:02:57 +01:00
Mike McQuaid 36add14cca github/workflows: bottle with `--only-json-tab`
Depends on https://github.com/Homebrew/homebrew-test-bot/pull/597

Build all our (new) bottles excluding the tab (which is uploaded and
downloaded from GitHub Packages instead).

This will enable a few things:
- bottles that can be (more) reproducible (as we embed a timestamp
  without this which means they can't be reproducible more than a
  second apart)
- bottles between macOS versions (and perhaps even Linux) that have
  identical checksums and can be deduplicated by only uploading a
  single bottle (as GitHub Packages will not store multiple bottles
  with the same `sha256`)
- bottles identical between macOS and Linux can be migrated to use
  `all: $SHA256` (already in a Homebrew/brew tag) to share a single
  bottle for all platforms.
- remove all `bottle :unneeded` and bottle everything
- reduce (perhaps remove) our need for `brew mirror` as in favour of
  relying on bottles rather than building from source in more cases
2021-04-13 13:02:36 +01:00
Carlo Cabrera 6fe931e241 Revert "bug.yml: remind users to `brew update`"
This reverts commit 2d36c65377.
2021-04-13 09:50:54 +01:00
Carlo Cabrera 2e1cab6608 Revert "bug.yml: tweak wording of `brew doctor` checkbox"
This reverts commit 942bf6af1d.
2021-04-13 09:50:54 +01:00
Carlo Cabrera 942bf6af1d bug.yml: tweak wording of `brew doctor` checkbox 2021-04-13 09:49:08 +01:00
Carlo Cabrera 2d36c65377 bug.yml: remind users to `brew update` 2021-04-13 09:49:08 +01:00
Bo Anderson 97cf56c70b
workflows: update Big Sur runner labels (#75044) 2021-04-12 22:16:30 +01:00
Mike McQuaid 3a6e8b2748 github/workflows: remove Bintray upload.
There will be a brownout in ~35m from now so let's stop uploading
bottles to Bintray.
2021-04-12 13:44:04 +01:00
Michka Popoff 19c886eac5
net-tools (new formula) (#74906) 2021-04-10 14:51:13 +02:00
Michka Popoff 1574623ad7
systemd (new formula) (#74219) 2021-04-10 10:28:21 +02:00
Nanda H Krishna e0253bbcb6 workflows/publish-commit-bottles: change `pr-pull` token 2021-04-09 12:49:19 +01:00
Carlo Cabrera 3ba152c771
workflows: flip Bintray/GitHub packages logic (#74815)
* publish-commit-bottles: flip Bintray/Packages logic.
* dispatch-{build-bottle,rebottle}: flip Bintray/GH logic
* publish-commit-bottles: flip order, set root_url explicitly

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-04-08 16:29:54 +01:00
Mike McQuaid 79d48ec5ce
workflows/publish-commit-bottles: fix more tokens. 2021-04-08 09:23:39 +01:00
Dawid Dziurla 2224d02b18
workflows: fix token 2021-04-08 08:39:37 +02:00
Bo Anderson b06057a787
workflows/publish-commit-bottles: fix push token 2021-04-07 20:50:47 +01:00
Nanda H Krishna baa1c2f9d6
workflows/publish-commit-bottles: fix token usage (#74757)
Co-authored-by: Bo Anderson <mail@boanderson.me>
2021-04-07 22:25:07 +05:30
Mike McQuaid 760281826c Update token usage
- Move to `GITHUB_TOKEN` where possible
- Move from `HOMEBREW_GITHUB_API_TOKEN` to
  `HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN`
2021-04-07 17:01:05 +01:00
Mike McQuaid 4d59604238 github/workflows: use simpler GitHub Packages `--root-url`. 2021-04-07 16:39:15 +01:00
Carlo Cabrera f282f31541
workflows/triage: update legacy exceptions (#74673)
python-tk@3.9 should be included here.
2021-04-06 18:08:19 +01:00
BrewTestBot 8c23d4b5ba triage-issues.yml: update to match main configuration 2021-04-06 13:58:42 +01:00
Mike McQuaid 0f5efa7435
Upload bottles to GitHub Packages
Revert the reverts.

TODO: need to figure out how to get `skopeo` to not be built from
source.
2021-04-06 11:37:12 +00:00
Carlo Cabrera cb6dec0920
tests.yml: remove spaces in logs/failed bottles directory (#74578)
Currently, failed bottles are stored in a directory called "bottles
(11.0)" (or similarly for logs or other OS versions). This creates a
space in the directory name, which just isn't pleasant to deal with.

I've replaced the space with a `-`, and removed the parentheses.
2021-04-05 19:20:05 +01:00
Nanda H Krishna 9b8dc125f1
workflows: set committer for `git-try-push` action (#74468) 2021-04-03 19:00:43 +05:30
Mike McQuaid a883956917
Revert "Upload bottles to GitHub Packages"
This reverts commit 3dddd1de1d.
2021-04-02 16:56:27 +01:00
Mike McQuaid a2bbec6d21
Revert "Reorder GitHub Packages steps."
This reverts commit c78c3be94c.
2021-04-02 16:56:24 +01:00
Mike McQuaid c78c3be94c
Reorder GitHub Packages steps.
This will avoid pushes happening even on failures.
2021-04-02 16:14:48 +01:00
Mike McQuaid 3dddd1de1d
Upload bottles to GitHub Packages
Upload (new) bottles to both GitHub Packages and Bintray.
2021-04-02 15:45:40 +01:00
Dawid Dziurla a495193655 workflows: run container as linuxbrew user 2021-04-02 07:30:29 +02:00
Nanda H Krishna 11d99cd5c3
workflows: enable commit signing for BrewTestBot (#74368) 2021-04-01 23:36:14 +02:00
Michka Popoff f6500c9aaa linux-pam (new formula) 2021-03-24 20:41:01 +01:00
Mike McQuaid ed18465cac
bug.yml: fix deprecation warning. 2021-03-19 12:45:07 +00:00
Mike McQuaid 0ce9159d66
bug.yml: try to fix issue template syntax. 2021-03-19 12:42:43 +00:00
Mike McQuaid 51dba52da1
Render shell in issue templates. (#73507)
This will render nicer and use monospace in the form field.
2021-03-19 12:40:02 +00:00
Mike McQuaid 421f57b6e3
github/workflows: YAML cleanup. (#73413)
Do some minor YAML cleanup.
2021-03-18 13:16:54 +00:00
lexicol 38cc8c0a49 workflows/linux-pr-tests: add lttng-ust 2021-03-16 19:47:46 +00:00
lexicol 5aa66ad717
numactl 2.0.14 (new formula) (#73151)
* numactl 2.0.14 (new formula)

* workflows/linux-pr-tests: add numactl

* Rename numactl.rb to Formula/numactl.rb
2021-03-15 16:06:13 +01:00
Mike McQuaid b8fa765def
github/workflows: use GitHub Packages (#73185)
Also, ensure that pull requests to the Linux workflows test the
workflow too.
2021-03-15 13:28:14 +00:00
lexicol 4383e510a6 workflows/linux-pr-tests: add libunwind 2021-03-15 08:57:20 +01:00
Michka Popoff 13aa97e462 workflows: test glibc 2021-03-12 21:28:14 +01:00
Michka Popoff 05de98fd2f workflows: rename test workflows
Give the workflows a linux suffix, aligning it with the linux dispatch bottle workflow.
Allows to recognize linux workflows at a glance, especially as we will be adding at least
one more for self-hosted runners.
2021-03-08 21:05:44 +01:00
Bo Anderson 3cc6a063d2 workflows/tests: use HOMEBREW_SIMULATE_MACOS_ON_LINUX 2021-03-06 04:17:10 +00:00
Dawid Dziurla 42ec8917ed
workflows: set bottle domain for linux dispatch 2021-03-03 16:57:13 +01:00
Dawid Dziurla 2c5370ac14
workflows: move force homebrew env into upload job back 2021-03-03 16:43:38 +01:00
Dawid Dziurla 2318413008
workflows: setup homebrew instead of cleaning 2021-03-03 16:35:31 +01:00
Dawid Dziurla 57e3fead2d
workflows: cleanup before building dispatched linux bottle 2021-03-03 16:27:10 +01:00
Dawid Dziurla 8c947d43ff
workflows: force homebrew on linux globally 2021-03-03 16:23:13 +01:00
Michka Popoff 05a6b958b8
workflows: add dispatch workflow for Linux (#72351)
- Add Linux workflow
- The end of the Linux workflow is the same as the mac one
- The Linux workflow uses the linux container for builds, so I did not not add the setup/cleanup steps
- Remove useless HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK
2021-03-03 16:13:53 +01:00
Rylan Polster d2b380baa4 workflows/tests-linux: include "Linux" in name 2021-02-28 13:54:07 -05:00
Carlo Cabrera db2a9ac5d1
Revert "workflows/tests: set HOMEBREW_BOTTLE_DOMAIN (#72171)" (#72175)
This reverts commit 3327087e98.

HOMEBREW_BOTTLE_DOMAIN has been set in brew [1], so there's no need to also
set it here.

[1] ff367939ce
2021-02-28 18:47:06 +00:00
Carlo Cabrera 3327087e98
workflows/tests: set HOMEBREW_BOTTLE_DOMAIN (#72171)
This is a temporary workaround for the Bintray access issues. See

    https://github.com/Homebrew/brew/issues/10739#issuecomment-787482280
2021-02-28 17:07:31 +00:00
Mike McQuaid 6b79360d53 Revert "Revert ".github/ISSUE_TEMPLATE/bug.yml: update syntax. (#70976)" (#71200)"
This reverts commit fc83255a95.
2021-02-19 19:15:15 +00:00
Mike McQuaid fc83255a95
Revert ".github/ISSUE_TEMPLATE/bug.yml: update syntax. (#70976)" (#71200)
This reverts commit 2a204488f4.
2021-02-15 16:19:52 +00:00
Mike McQuaid 2a204488f4
.github/ISSUE_TEMPLATE/bug.yml: update syntax. (#70976)
Co-authored-by: Megan O'Neill <oneill38@github.com>
2021-02-15 11:22:48 +00:00
Carlo Cabrera efee345309
workflows/triage: fix `no ARM bottle` regex (#70825) 2021-02-10 16:18:22 +00:00
Caleb Xu 32f048f4f6
libmd 1.0.3 (new formula) (#70733) 2021-02-09 16:19:49 +00:00
Mike McQuaid d0ed8f6e84 Revert "tests: use HOMEBREW_BOOTSNAP."
This reverts commit 767412dd36.
2021-02-05 15:31:14 +00:00
Mike McQuaid 767412dd36 tests: use HOMEBREW_BOOTSNAP.
Let's see how much this improves performance.
2021-02-05 15:07:30 +00:00
Carlo Cabrera 37f8d3410c
workflows/triage: fix regex 2021-02-05 01:45:11 +00:00
Carlo Cabrera 4766f42a6a
workflows/triage: update no ARM bottle label regex (#70467) 2021-02-05 01:41:59 +00:00
Mike McQuaid 905ab3be3d .github/ISSUE_TEMPLATE/bug: use new YAML issue template.
Based off the one from Homebrew/brew with some tweaks.
2021-02-02 16:19:47 +00:00
Seeker 6c76d724e9
workflows/triage: fix regex 2021-01-29 12:19:30 -08:00
Seeker 50b4b0613e
workflows/triage: more improvements (#69992)
* workflows/triage: delete redundant `?:`

* workflows/triage: standardize dependency regexes

* workflows/triage: match `"python" => [:build, :test]`

* workflows/triage: sleep for 10 seconds before labelling

* workflows/triage: add lua if depends on luajit-openresty
2021-01-29 12:13:31 -08:00
Seeker 913c4e5064
workflows/triage: don't label as python if build/test dependency (#69975) 2021-01-29 11:00:27 +01:00
Michka Popoff a396574e22 workflow: do not pull linux bottles as we are only building from source right now 2021-01-27 19:34:06 +01:00
Seeker 119abe4b7c
workflows/tests: separate failed bottles by OS version (#69782) 2021-01-26 11:13:33 -08:00
Seeker b01bb338ca
workflows/tests: upload failed bottles (#69733)
* workflows/tests: upload failed bottles

* Update tests.yml
2021-01-26 07:40:22 -08:00
Michka Popoff 5d09f3ee8e wheezy_tests: do not copy non-existing bottles 2021-01-26 07:41:31 +01:00
Michka Popoff 5675b4a77c wheezy_tests: do not upload bottles as we are only building from source 2021-01-25 20:56:32 +01:00
Michka Popoff dc391bb04e wheezy_tests: use build from source
This will allow binutils to be built for the time being,
as we do not have a linux zlib bottle
2021-01-25 11:18:44 +01:00
BrewTestBot 5b8103d977 triage-issues.yml: update to match main configuration 2021-01-07 09:46:48 +00:00
Seeker 3b1fd5add8
workflows/publish-commit-bottles: start with new cache 2021-01-03 10:57:57 -08:00
Seeker 1ea2bbc16a
workflows/publish-commit-bottles: add workaround for caching gems (part 2) 2021-01-03 10:32:22 -08:00
Seeker 6f1da46848
workflows/publish-commit-bottles: add workaround for caching gems 2021-01-03 10:30:11 -08:00
Seeker 4c842d423d
workflows/publish-commit-bottles: use actions/cache@v2 2021-01-03 01:45:54 -08:00
Seeker 7d57baa777
workflows/publish-commit-bottles: cache gems (#68200) 2021-01-03 01:20:11 -08:00
carlocab 585c2199ad
workflows/triage: fix broken yml 2020-12-31 19:42:34 +00:00
Carlo Cabrera f999e2519d
workflows/triage: flag formulae with no ARM bottle (#68067) 2020-12-31 19:38:10 +00:00
Jonathan Chang 4d3cb563f0
workflows: add dispatch-rebottle (#67860) 2020-12-29 00:17:42 +11:00
FX Coudert 6aded4bc2e
tests.yml: add CI-force-arm label (#67760) (#67764) 2020-12-26 17:34:49 +01:00
Francois-Xavier Coudert 6efe13cdb2 Revert "tests.yml: add CI-force-arm label (#67760)"
This reverts commit 511150c35a.
2020-12-26 17:15:07 +01:00