Commit Graph

418 Commits

Author SHA1 Message Date
Tianon Gravi 017573ef53
Merge pull request #44 from infosiftr/codecov
Add back Codecov
2022-06-08 16:35:04 -07:00
Tianon Gravi 0c47227968 Add back Codecov
Let's give them another chance 😇
2022-06-08 16:28:22 -07:00
Tianon Gravi 0dbb69eaa5
Merge pull request #42 from hairyhenderson/update-containerd-dep
Update containerd to avoid CVEs
2022-04-19 14:30:15 -07:00
Dave Henderson 7a3d9de20f
Update containerd to avoid CVEs
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2022-04-15 20:25:35 -04:00
Tianon Gravi eb66051aab Adjust logrus default logging level to silence some containerd logs 2022-03-03 13:01:43 -08:00
Tianon Gravi b2cbaa3678
Merge pull request #40 from infosiftr/format-ociPlatform
Add "ociPlatform" template function
2022-02-23 16:49:08 -08:00
Tianon Gravi 42b3163e82 Add "ociPlatform" template function
This will allow us to convert from `Architectures:` values directly to `--platform` values (for `docker pull`, etc).
2022-02-23 16:39:24 -08:00
yosifkit 22e529f066
Merge pull request #39 from infosiftr/ltsc2016-eol
Remove support for ltsc2016 (EOL) in GitHub Actions script
2022-01-12 15:45:13 -08:00
Tianon Gravi 2eebccf6b6 Remove support for ltsc2016 (EOL) in GitHub Actions script
See https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/base-image-lifecycle
2022-01-12 13:57:07 -08:00
Tianon Gravi 875dcb4f08 Fix edge case around "bashbrew from" failing to create Git cache 2021-12-01 12:06:38 -08:00
yosifkit 7d8e6d56ac
Merge pull request #38 from infosiftr/update
Update dependencies
2021-11-30 15:18:50 -08:00
Tianon Gravi 81270c867e Update dependencies 2021-11-30 12:29:41 -08:00
Tianon Gravi 6e40f6a3b3
Merge pull request #37 from hairyhenderson/update-deps-to-avoid-vulns
Update some dependencies to avoid CVEs
2021-11-12 11:20:31 -08:00
Dave Henderson 8f2d87dc13
Update some dependencies to avoid CVEs
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2021-11-05 19:25:59 -04:00
Tianon Gravi b6f2193797
Merge pull request #35 from J0WI/bullseye
Debian Bullseye
2021-10-07 11:16:49 -07:00
J0WI 7651eb98bd Debian Bullseye 2021-10-07 10:47:36 +02:00
Tianon Gravi 3cb9266fbd Fix "bashbrew list --build-order" without arch-filter/apply-constraints 2021-09-14 13:16:31 -07:00
Tianon Gravi e05261eeb9
Merge pull request #34 from infosiftr/BASHBREW_GENERATE_SKIP_PGP_PROXY
Add BASHBREW_GENERATE_SKIP_PGP_PROXY variable to skip pgp-happy-eyeballs
2021-08-26 16:36:26 -07:00
Tianon Gravi a690dddbea Add BASHBREW_GENERATE_SKIP_PGP_PROXY variable to skip pgp-happy-eyeballs 2021-08-26 16:06:30 -07:00
Fabian Grutschus a4a65a7293
Added support for Windows Server 2022 to `generate.sh` (#33) 2021-08-24 14:38:50 -07:00
Tianon Gravi e7c3ecbffa Bump version to 0.1.4 (post-release) 2021-08-16 14:07:07 -07:00
Tianon Gravi 1eebbf318f Remove unnecessary extra "if"
This is something I missed in #32 😅
2021-08-16 13:22:48 -07:00
Tianon Gravi 4c95a9e960
Merge pull request #32 from infosiftr/shared-tags-children
Fix edge case of children for images that are FROM a SharedTag
2021-08-16 13:05:15 -07:00
Tianon Gravi 16fb204c2d Fix edge case of children for images that are FROM a SharedTag 2021-08-16 11:16:50 -07:00
yosifkit 7d4279f9b7
Merge pull request #31 from infosiftr/arch-filter
Add "--arch-filter" flag that mimics "--skip-constraints"
2021-08-04 10:50:03 -07:00
Tianon Gravi a880f4389f Add "--arch-filter" flag that mimics "--skip-constraints" but without printed warnings and without applying Constraints 2021-08-02 17:12:49 -07:00
Tianon Gravi 6b94cffe46 Handle an empty BASHBREW_ARCH variable 2021-08-02 17:11:59 -07:00
yosifkit 3ebdb4c18f
Merge pull request #30 from infosiftr/scratch-platform
Set DOCKER_DEFAULT_PLATFORM when building "FROM scratch" images
2021-08-02 15:25:28 -07:00
Tianon Gravi b9b4dacdc0 Set DOCKER_DEFAULT_PLATFORM when building "FROM scratch" images
This will make sure "variant" gets set properly on the resulting images if our Docker version is 20.10+.

We set this as tightly/sparingly as possible because the `--platform` flag is used for several different things inside Docker, the most visible being platform mismatch warnings/errors that we want to avoid.
2021-08-02 14:56:31 -07:00
Tianon Gravi cec2d64846 Fix bug in munge-i386 2021-08-02 10:48:52 -07:00
Tianon Gravi 1da7341a79 Fix jq-template to properly count {{ }} pairs
This fixes edge cases like:

```
{{ foo }} {{ bar }} {{
    baz
    | buzz
}}
```
2021-07-16 15:34:01 -07:00
Tianon Gravi faf7efe8f4 Switch from SKS to Ubuntu keyserver
See also https://github.com/docker-library/faq#openpgp--gnupg-keys-and-verification and https://github.com/tianon/pgp-happy-eyeballs
2021-06-22 14:18:59 -07:00
Tianon Gravi 9df92226ae Bump version to 0.1.3 (post-release) 2021-03-10 13:42:43 -08:00
Tianon Gravi 7a58081e4f
Merge pull request #26 from infosiftr/go1.16
Update to Go 1.16
2021-03-10 21:25:56 +00:00
Tianon Gravi 7143aaa8ad Update to Go 1.16
(and add riscv64 binaries 👀)
2021-03-10 13:04:46 -08:00
Tianon Gravi e7586033ad Add simple script for detecting the bashbrew architecture of a system 2021-03-10 10:20:13 -08:00
Tianon Gravi 2ed9d91c79
Merge pull request #25 from infosiftr/go-debian
Update pault.ag/go/debian to v0.11.0
2021-02-09 10:56:54 -08:00
Tianon Gravi 4c86d18022 Update pault.ag/go/debian to v0.11.0 2021-02-08 11:02:41 -08:00
yosifkit e7cedb7a54
Merge pull request #24 from infosiftr/maintainer-struct
Add explicit Manifest2822Maintainer struct
2021-02-01 16:29:58 -08:00
Tianon Gravi 8c7ed36470 Add explicit Manifest2822Maintainer struct
This allows us to more easily/reliably generate lists of users to ping on PRs (with the goal to ping them automatically, if one of them is not the PR author).

This is technically a breaking change, but I consider myself probably the most prolific user of bashbrew format strings (which is where this breakage would exhibit itself -- `bashbrew cat` should be unaffected), and I have exactly one script broken by it.  That script was doing some processing to generate this exact data, so IMO this is a win. 😁

    bashbrew cat --format='- `{{ $.RepoName }}`:{{ range .Manifest.Global.Maintainers }} @{{ .Handle }}{{ end }}' ...
2021-02-01 11:00:04 -08:00
Tianon Gravi 00e281f36e Update "jq-template.awk" to ignore pure-comment lines
{{ # ... -}}
2021-01-21 22:11:56 -08:00
yosifkit 8e42901dea
Merge pull request #21 from infosiftr/dockerhub-public-proxy
Add support for DOCKERHUB_PUBLIC_PROXY in skipping code
2020-12-10 17:14:01 -08:00
Tianon Gravi 44725baa98 Add support for DOCKERHUB_PUBLIC_PROXY in skipping code
This allows us to inject authentication at a separate layer, thus avoiding rate limiting.
2020-12-10 17:04:09 -08:00
Tianon Gravi 8e74bdc167 Remove "sort.Strings" on manifest-list digest comparisons
This bug causes reorderings (like the one required for https://github.com/docker-library/mongo/pull/444) to incorrectly no-op because order actually *does* matter here.
2020-12-04 13:33:50 -08:00
Tianon Gravi a0906cbda5 Fix typo 2020-11-09 11:08:24 -08:00
Tianon Gravi 07c3c9f599 Properly skip more things that we know "manifest-tool" will balk at (empty "manifests:" list) 2020-09-17 13:53:38 -07:00
Tianon Gravi 74e9c33de4 Fix edge case in detecting things we don't expect to push 2020-09-16 16:16:44 -07:00
yosifkit 137b0bf7e0
Merge pull request #20 from infosiftr/registry
Use containerd resolver/fetcher to query registry for "skip checking"
2020-09-15 17:11:42 -07:00
Tianon Gravi a6373f407d Use containerd resolver/fetcher to query registry for "skip checking" 2020-09-15 15:50:00 -07:00
Tianon Gravi ac3e8e9541
Merge pull request #19 from infosiftr/jq-template
Add initial jq-template.awk
2020-08-28 14:56:57 -07:00