Commit Graph

12 Commits

Author SHA1 Message Date
Tianon Gravi 037aff1f1a Add initial GitHub CODEOWNERS 2024-01-12 15:57:17 -08: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