Commit Graph

14 Commits

Author SHA1 Message Date
Tianon Gravi cedc7b7a7d Add "naughty-from.sh" script inspired by the report of the same name
This verifies that the "Architectures" field of each entry in a given pull request is a subset of its parent.
2018-10-29 22:44:56 -07:00
Tianon Gravi b1e7e1e544 Stop testing "extra commands" on bashbrew changes (so they'll succeed more often) 2018-10-29 21:47:25 -07:00
Tianon Gravi 8a19a999a3 Adjust wording 2018-03-20 10:11:34 -07:00
Tianon Gravi 0899285c36 Fix grep logic 2018-03-20 10:11:34 -07:00
Tianon Gravi 7696ce2888 Add simple Travis test for incorrect "latest" tags
```console
$ TRAVIS_BRANCH=master TRAVIS_PULL_REQUEST=false ./bashbrew/travis.sh
Testing master -- BUILD ALL THE THINGS!

Incorrectly 'latest' tags detected:
  geonetwork:latest-postgres

Read https://github.com/docker-library/official-images#tags-and-aliases for more details.

```
2018-03-20 10:11:34 -07:00
Tianon Gravi 3ee4b34a8c Add "--apply-constraints" in Travis so that "bashbrew from" doesn't fail on "windows-amd64" 2017-06-14 11:16:39 -07:00
Tianon Gravi dfc5512318 Convert "bashbrew" to Go and add a new RFC 2822 manifest file format
To satisfy both Windows (https://github.com/docker-library/golang/pull/92) building and "non-AUFS" (https://github.com/docker-library/official-images/pull/1612, https://github.com/docker-library/official-images/pull/1537) building ("build machine" constraints, if you will), an update to the manifest file format is necessary.

To this end, we're introducing a new format which uses RFC 2822, allowing much more expressivity (especially for additional metadata like `Constraints`) and readability.  The new tool also includes backwards compatibility for the older line-based manifest file format, but its usage is discouraged (and we will be slowly converting at least the `docker-library` repos to use the new format in their `generate-stackbrew-library.sh` scripts).

One of the tangential benefits of this conversion is a massive increase in the speed of the tool (`bashbrew list --all` on a very fast system with an SSD and a flaming hot cache used to take ~5s and now takes ~0.012s).
2016-06-03 10:23:09 -07:00
Joe Ferguson 0a16236a1f Add uniq option to bashbrew 2015-03-27 16:42:00 -07:00
Tianon Gravi afec27c9a9 Update travis.sh to full test master each merge 2015-02-19 16:41:06 -07:00
Tianon Gravi ddf06e15e0 Remove --namespaces from Travis because it's the default now 2015-02-19 16:29:03 -07:00
Tianon Gravi 86871e6051 Add new "bashbrew list" subcommand
This allows us to manipulate/use the repo lists from bashbrew directly in fun ways.

For example, `bashbrew list --namespaces='_' --all | xargs -n1 docker pull`.
2015-01-13 15:35:35 -07:00
Tianon Gravi a1c9df9ecc Travis Needs Love Too (TNLT) 2014-12-19 16:51:47 -07:00
Tianon Gravi ee8d1bd99b Fix Travis "bashbrew/" change detection 2014-12-11 14:26:40 -07:00
Tianon Gravi 42dcf1a6c8 Add new Travis stuff so PRs only test the bits that have changed 2014-12-09 14:36:14 -07:00