Merge pull request #1128 from aanand/jenkins-dco

Validate DCO in script/test-versions
This commit is contained in:
Ben Firshman 2015-03-18 14:49:40 +00:00
commit ae9c965823
3 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,7 @@ docker build -t "$TAG" .
docker run \ docker run \
--rm \ --rm \
--volume="/var/run/docker.sock:/var/run/docker.sock" \ --volume="/var/run/docker.sock:/var/run/docker.sock" \
--volume="$(pwd):/code" \
-e DOCKER_VERSIONS \ -e DOCKER_VERSIONS \
-e "TAG=$TAG" \ -e "TAG=$TAG" \
--entrypoint="script/test-versions" \ --entrypoint="script/test-versions" \

View File

@ -4,6 +4,9 @@
set -e set -e
>&2 echo "Validating DCO"
script/validate-dco
>&2 echo "Running lint checks" >&2 echo "Running lint checks"
flake8 compose flake8 compose

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
source "$(dirname "$BASH_SOURCE")/.validate" source "$(dirname "$BASH_SOURCE")/.validate"
adds=$(validate_diff --numstat | awk '{ s += $1 } END { print s }') adds=$(validate_diff --numstat | awk '{ s += $1 } END { print s }')