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
Tianon Gravi
5f0c26381f
Add initial jq-template.awk
2020-08-27 15:39:03 -07:00
Tianon Gravi
76ed309a0c
Bump version to 0.1.2 (post-release)
2020-08-24 16:34:31 -07:00
yosifkit
f81eec301c
Merge pull request #18 from infosiftr/update-mods
...
Update Go dependencies
2020-08-24 15:42:20 -07:00
Tianon Gravi
e609341812
Update Go dependencies
2020-08-21 14:43:01 -07:00
Tianon Gravi
5efa400516
Update "pault.ag/go/debian" to fix https://github.com/paultag/go-debian/issues/104
2020-08-21 14:35:45 -07:00
Tianon Gravi
9f95f29c29
Merge pull request #17 from infosiftr/go-dockerlibrary
...
Merge github.com/docker-library/go-dockerlibrary into bashbrew
2020-08-21 13:49:41 -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
25ef470134
Remove redundant files
2020-08-19 15:53:15 -07:00
Tianon Gravi
f3591521e7
Merge pull request #26 from infosiftr/line-based-errors
...
As a first step towards line-based manifest file deprecation, stop returning line-based parsing errors
2020-08-19 15:44:08 -07:00
Tianon Gravi
718495e812
As a first step towards line-based manifest file deprecation, stop returning line-based parsing errors
2020-08-19 13:49:08 -07:00
Tianon Gravi
818df5f5b0
Fix nasty bug in output of "bashbrew children --uniq"
...
This was showing the repository of the repo-under-test with the tag of the child ("alpine:1.6.15-alpine" instead of "haproxy:1.6.15-alpine")
2020-05-29 13:26:25 -07:00
Tianon Gravi
013567335e
Update to github.com/go-git/go-git v5.1.0
...
See https://github.com/go-git/go-git/releases/tag/v5.1.0 for more details.
2020-05-26 12:09:00 -07:00
Tianon Gravi
e4869c6dd1
Fix "bashbrew --namespace foo list --repos bar" (should prefix with namespace)
2020-05-18 17:35:14 -07:00
Tianon Gravi
a40a54d4d8
Add "--uniq" to "parents"/"children" (and have it actually do the right thing)
2020-05-14 12:23:39 -07:00
Tianon Gravi
7c78a8a385
Fix interesting edge-case bug with "parents"/"children" and SharedTags interacting poorly
2020-05-14 12:14:35 -07:00
yosifkit
870ac0fb84
Merge pull request #12 from infosiftr/go-git-fetch-commit
...
Use new go-git functionality to fetch commits
2020-05-11 11:51:51 -07:00
Tianon Gravi
daa5333f67
Use new go-git functionality to fetch commits
...
This avoids shelling out by using the implementation from 8ecd388ae1 , which is going to be much more performant.
2020-05-11 11:21:57 -07:00
Tianon Gravi
0fc0b0968a
Add a "defaults" template function that returns "manifest.DefaultManifestEntry" (especially for doing "ClearDefaults" to be able to fully replicate the default output of "bashbrew cat", but in a different order)
2020-05-07 21:14:36 -07:00
Tianon Gravi
374f44bea9
Drop periodic pipelineTriggers from Jenkinsfile
...
The parent "multi-branch pipeline" already does SCM polling, so this is simply unnecessary.
2020-05-06 12:10:25 -07:00
Tianon Gravi
a986fdc583
Merge pull request #5 from infosiftr/go-git-v5
...
Update to github.com/go-git/go-git v5
2020-05-06 11:48:23 -07:00
Tianon Gravi
64bfd4ce30
Update to github.com/go-git/go-git v5
2020-05-06 11:42:58 -07:00
Tianon Gravi
4b1c709fbc
Merge pull request #7 from infosiftr/better-actions
...
Update Actions to test Bashbrew the same way we run it everywhere now
2020-05-06 11:38:17 -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
2b0225bfae
Merge pull request #6 from infosiftr/no-vendor
...
Ditch the vendor/ directory
2020-05-06 11:29:53 -07:00
Tianon Gravi
04fb217d5a
Ditch the vendor/ directory
...
Go modules are pretty good at finding the right source, so let's just trust them to do so instead of keeping our own local copy.
2020-05-06 11:24:14 -07:00
Tianon Gravi
6e218b8fcb
Add Actions job that does a build test of Dockerfile.release
2020-05-06 11:21:18 -07:00
yosifkit
0386241947
Merge pull request #4 from infosiftr/git-fetch-commit
...
Fall back to "git fetch ... +SHA:..." (like GitHub Actions do!) if we fail to find the commit
2020-05-06 10:27:10 -07:00
Tianon Gravi
5ab18b3a1a
Add link to my upstream go-git issue
2020-05-06 10:25:32 -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
ce6033aeda
Fall back to "git fetch ... +SHA:..." (like GitHub Actions do!) if we fail to find the commit
2020-05-06 10:06:33 -07:00
yosifkit
c5db18cf68
Merge pull request #25 from gingerbus/master
...
Update README to point to bashbrew tool repo
2020-05-01 12:57:59 -07:00
gingerbus
80cdc9e3db
Update README to point to bashbrew tool repo
2020-05-01 14:11:32 +01:00
Tianon Gravi
68878f489c
Make sure "froms" list is unique (so we don't waste time doing "docker pull" on the same thing twice, in some edge cases)
2020-04-29 14:28:31 -07:00
Tianon Gravi
9f67c3e82a
Fix "git fetch" to unshallow if possible too
2020-04-29 11:25:55 -07:00