Make MinIO check more flexible
What does this Merge Request do?
My version of minio
doesn't have the version
sub-command or the --version
flag so GDK thinks it's not installed. This changes the check so it can awk the version info from the help screen.
Output:
~/Projects/gitlab-development-kit minio ?1 | %0 | . (master)
NAME:
minio - High Performance Object Storage
DESCRIPTION:
Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO
USAGE:
minio [FLAGS] COMMAND [ARGS...]
COMMANDS:
server start object storage server
gateway start object storage gateway
FLAGS:
--config-dir value, -C value [DEPRECATED] path to legacy configuration directory (default: "/home/matteeyah/.minio")
--certs-dir value, -S value path to certs directory (default: "/home/matteeyah/.minio/certs")
--quiet disable startup information
--anonymous hide sensitive information from logging
--json output server logs and startup information in json format
--compat enable strict S3 compatibility by turning off certain performance optimizations
--help, -h show help
VERSION:
2019-12-17T23:16:33Z
Merge Request checklist
-
Tests added for new functionality. If not, please raise Issue to follow-up. -
This change is backward compatible. If not, please include steps to communicate to our users. - N/A Documentation added/updated, if needed.
- N/A
gdk doctor
test added, if needed.
Edited by Matija Čupić