diff options
author | Charles Baylis <charles.baylis@linaro.org> | 2016-09-26 20:35:53 +0100 |
---|---|---|
committer | Ryan Arnold <ryan.arnold@linaro.org> | 2016-10-14 18:08:41 +0000 |
commit | f307fd9dd7b00e1f86e1ddba79fd15a9801b8150 (patch) | |
tree | acdb39733dd02f0892c0de6dffa122d2a6caeef9 /MakeRelease.job | |
parent | b4a46e99bb6b84d8ad893ac1dfe08308b6618181 (diff) |
Validate manifests after build.
Use the abe-tests manifest validator to ensure that the manifest is
correct. Since it is not currently possible to determine whether the
build is for a release, release mode URL validation is not enabled.
Change-Id: I8a435f9d082aab72599b1a98d32d8b2d3b4430aa
Diffstat (limited to 'MakeRelease.job')
-rwxr-xr-x | MakeRelease.job | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/MakeRelease.job b/MakeRelease.job index eeed50d4..1e835d94 100755 --- a/MakeRelease.job +++ b/MakeRelease.job @@ -215,4 +215,16 @@ done tarballs="`find ${user_snapshots} -name \*${release}\*.xz -o -name \*${release}\*.asc`" scp ${tarballs} ${fileserver}:${binaries}/ +echo "Starting manifest validation." +git clone --depth 1 git://git.linaro.org/toolchain/abe-tests.git +for manifest in "${manifests[@]}"; do + ./abe-tests/validate-manifest.pl "${manifest}" + if test $? -ne 0; then + echo "Manifest validation failed." + exit 1 + else + echo "Manifest validation passed." + fi +done + exit 0 |