moby--moby/hack/validate
Sebastiaan van Stijn 2a08f33166
Allow overriding repository and branch in validate scripts
When running CI in other repositories (e.g. Docker's downstream
docker/engine repository), or other branches, the validation
scripts were calculating the list of changes based on the wrong
information.

This lead to weird failures in CI in a branch where these values
were not updated ':-) (CI on a pull request failed because it detected
that new tests were added to the deprecated `integration-cli` test-suite,
but the pull request did not actually make changes in that area).

This patch allows overriding the target repository (and branch)
to compare to (without having to edit the scripts).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-01-31 01:23:42 +01:00
..
.swagger-yamllint Add swagger.yaml validation 2016-11-07 11:03:21 -08:00
.validate Allow overriding repository and branch in validate scripts 2019-01-31 01:23:42 +01:00
all Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
changelog-date-descending Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
changelog-well-formed Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
dco Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
default Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
default-seccomp Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
deprecate-integration-cli Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
gometalinter Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
gometalinter.json Fix swagger volume type generation 2018-05-14 13:46:20 -04:00
pkg-imports Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
swagger Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
swagger-gen Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
test-imports Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
toml Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
vendor Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00