Add exiftool to images used for CE/EE tests

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
This commit is contained in:
Balasankar "Balu" C 2019-03-19 19:00:21 +05:30
parent 132bafc2ff
commit 7a9dd56386
No known key found for this signature in database
GPG key ID: B77D2E2E23735427
5 changed files with 39 additions and 0 deletions

View file

@ -192,6 +192,19 @@ function print_graphicsmagick_args() {
printf -- "--build-arg GRAPHISMAGICK_DOWNLOAD_SHA256=%s " "$GRAPHISMAGICK_DOWNLOAD_SHA256"
}
function print_exiftool_args() {
case "$1" in
11.32)
EXIFTOOL_VERSION=11.32
EXIFTOOL_DOWNLOAD_SHA256=c6cc7d2232df9161d4e0d9af4ebc50a82dcbff8e4adeb6b4833376c228d2972e
;;
*) echo "Unknown exiftool version $1"; exit 1;
esac
printf -- "--build-arg EXIFTOOL_VERSION=%s " "$EXIFTOOL_VERSION"
printf -- "--build-arg EXIFTOOL_DOWNLOAD_SHA256=%s " "$EXIFTOOL_DOWNLOAD_SHA256"
}
function parse_arguments() {
read base
read base_version
@ -217,6 +230,7 @@ function parse_arguments() {
ansible) print_ansible_args $version ;;
terraform) print_terraform_args $version ;;
graphicsmagick) print_graphicsmagick_args $version ;;
exiftool) print_exiftool_args $version ;;
*) exit 1;;
esac
done