Commit Graph

17 Commits

Author SHA1 Message Date
Tianon Gravi 82fcc47ccb Remove Windows 2019 from GHA matrix (EOL on GitHub's side) 2025-06-16 10:54:12 -07:00
Tianon Gravi dbc5c3eee6 Remove `ubuntu-20.04` from CI
See https://github.com/actions/runner-images/issues/11101
2025-04-21 15:15:00 -07:00
Tianon Gravi 98f6610daa Upload coverage files to GHA so they're easier to inspect 2025-01-09 12:52:12 -08:00
Tianon Gravi 516951ac06 Update OS matrix in smoke test
This adds more explicit Ubuntu variants + Windows 2025
2024-12-19 23:41:14 -08:00
Tianon Gravi a00d28f873 Disable Codecov (for now)
It's been failing to upload for a while, and I don't think the failures are *completely* their fault (GitHub's got to share some of the blame, I think), but the end result is that we don't really have any good options for continuing to use the service (bad/unacceptable options include install an app with way too many privileges on the org/repo or add a "secret" with a personal access token ... and make that available to Pull Requests too 🙃).
2024-07-10 12:19:33 -07:00
Tianon Gravi 573448144c Update to actions/checkout@v4 🙃
(this is effectively a functional no-op solving a "problem" that really ought to be solved at a different level within GHA)
2024-07-09 15:42:00 -07:00
Joseph Ferguson c4273aae7c Add windows servers to smoke test
Disable cgo to fix build failure on GHA windows-2022
2023-09-25 16:26:12 -07:00
Tianon Gravi ba00ac06de Add initial "composite" action for installing Bashbrew
(Also, fix a few minor bugs in `scripts/github-actions/generate.sh` and update the example appropriately)
2022-11-16 13:20:29 -08:00
Tianon Gravi f54c8e397a Rewrite "bashbrew children" and "bashbrew parents"
This time, they are distinct implementations because the problem they are solving is inherently different.

For listing children of a given name, we *have* to walk the entire library (since we only have tag -> FROM mappings, not the reverse, which is fundamentally the question that "children" answers).

On the flip side, listing the parents of a given name is as straightforward as looking up the FROM values and walking until we can't anymore.

In my own testing, these new implementations are significantly more correct, and handle more edge cases (including things we couldn't support before like `bashbrew children --depth=1 scratch`, `bashbrew children mcr.microsoft.com/windows/servercore`, etc).

They also more correctly handle edge cases like tags that are `FROM` a "`SharedTag`" such that they don't walk up/down both sides of the tree (for example, `orientdb:3.2` -> `FROM eclipse-temurin:8-jdk`, which is both Windows *and* Linux, even though `orientdb:3.2` is Linux-only).
2022-11-14 14:32:20 -08:00
Tianon Gravi 8281cbe661 Make "codecov" upload failures fail the CI so we notice 2022-11-03 15:14:45 -07:00
Tianon Gravi 0c47227968 Add back Codecov
Let's give them another chance 😇
2022-06-08 16:28:22 -07:00
Tianon Gravi 143301cc9e Merge github.com/docker-library/go-dockerlibrary into bashbrew
This adjusts import paths, go.mod, and adds a new "Dockerfile.test" to run the unit tests.
2020-08-19 16:21:07 -07:00
Tianon Gravi 08fd63ecee Update Actions to test Bashbrew the same way we run it everywhere now
Also, explicitly test both Dockerfiles.
2020-05-06 11:35:53 -07:00
Tianon Gravi 6e218b8fcb Add Actions job that does a build test of Dockerfile.release 2020-05-06 11:21:18 -07:00
Tianon Gravi d8fcd27172 Add "bashbrew from" to the list of smoke test commands (so we test the fetching workflow to some minor extent) 2020-05-06 10:11:12 -07:00
Tianon Gravi 61ca39fc4f Add explicit binary version and resurrect "bashbrew.sh" for helping users compile from source 2020-04-24 13:26:39 -07:00
Tianon Gravi c0bcfc0b91 Add initial GitHub Actions 2020-04-24 12:45:02 -07:00