Commit Graph

366 Commits

Author SHA1 Message Date
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
Tianon Gravi 3ce512a383 Update example YAML from "actions/checkout@v1" to "v2" 2020-04-29 09:09:15 -07:00
Tianon Gravi 1f5a50dd45 Fix "docker build --file" (relative to "Directory") 2020-04-28 17:08:03 -07:00
yosifkit edff514f3b
Merge pull request #3 from infosiftr/git-fetch
Adjust GitHub Actions to "git fetch" the current repository's history…
2020-04-28 14:38:39 -07:00
Tianon Gravi abb0e55f11 Adjust GitHub Actions to "git fetch" the current repository's history into the Bashbrew cache when the commits appear to be unreachable (such as on a PR branch, for example) 2020-04-28 14:25:39 -07:00
yosifkit c74be66ae6
Merge pull request #2 from infosiftr/downstream-github-actions
Add initial scripts for image maintainers to use to auto-generate appropriate GitHub Actions
2020-04-27 17:42:30 -07:00
Tianon Gravi b22f02ed1b Skip "docker pull" on scratch 2020-04-27 17:21:19 -07:00
Tianon Gravi 53b96a62f1 Adjust Bashbrew building logic to be less noisy if called multiple times (quietly adjust PATH if bashbrew is already built) 2020-04-27 17:21:13 -07:00
Tianon Gravi 8bc7e993ea Remove extraneous whitespace 2020-04-27 15:53:38 -07:00
Tianon Gravi dd71778b05 Account for BASHBREW_NAMESPACE to support non-library use cases too 2020-04-27 15:41:37 -07:00
Tianon Gravi 3af45bd402 Add initial scripts for image maintainers to use to auto-generate appropriate GitHub Actions 2020-04-27 15:22:33 -07:00
Tianon Gravi eb76b2e3ec Add LICENSE (Apache 2.0) 2020-04-24 14:32:48 -07:00
Tianon Gravi 169d5a8913 Fix the ability to use "bashbrew.sh" from any working directory 2020-04-24 13:53:45 -07:00
Tianon Gravi dfff1c3708 Move go.mod down to Go 1.11 (since that's really the bottom end of what we support) 2020-04-24 13:43:47 -07:00
Tianon Gravi 97dcbb46d0 Bump version to 0.1.1 (post-release) 2020-04-24 13:37:23 -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 173e6d74dc Update Jenkins URLs and add GitHub Actions badge 2020-04-24 13:08:53 -07:00
Tianon Gravi c0bcfc0b91 Add initial GitHub Actions 2020-04-24 12:45:02 -07:00
Tianon Gravi f0377aba26 Add initial Jenkinsfile 2020-04-24 12:36:15 -07:00