From 2c6285d4efe7d831f13775b20805b5bb241f2f5e Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Tue, 1 Dec 2015 15:43:13 +0100 Subject: [PATCH 1/2] Improve statement of version check 1.6, fixes #103 Add an as-of date. Signed-off-by: Andreas Stieger --- tests/1_host_configuration.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/1_host_configuration.sh b/tests/1_host_configuration.sh index 157c9a8..6eaa84a 100644 --- a/tests/1_host_configuration.sh +++ b/tests/1_host_configuration.sh @@ -42,12 +42,14 @@ check_1_6="1.6 - Keep Docker up to date" docker_version=$(docker version | grep -i -A1 '^server' | grep -i 'version:' \ | awk '{print $NF; exit}' | tr -d '[:alpha:]-,') docker_current_version="1.9.1" +docker_current_date="2015-11-09" do_version_check "$docker_current_version" "$docker_version" if [ $? -eq 11 ]; then warn "$check_1_6" - warn " * Using $docker_version, when $docker_current_version is current." + warn " * Using $docker_version, when $docker_current_version is current as of $docker_current_date" else pass "$check_1_6" + info " * Using $docker_version which is current as of $docker_current_date" fi # 1.7 From 3f538f537fcd00388701fd9bda25ae63ef47ee4c Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Tue, 1 Dec 2015 16:09:15 +0100 Subject: [PATCH 2/2] Vendors now support docker packages, add language for #103 Signed-off-by: Andreas Stieger --- tests/1_host_configuration.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/1_host_configuration.sh b/tests/1_host_configuration.sh index 6eaa84a..2f57526 100644 --- a/tests/1_host_configuration.sh +++ b/tests/1_host_configuration.sh @@ -47,9 +47,11 @@ do_version_check "$docker_current_version" "$docker_version" if [ $? -eq 11 ]; then warn "$check_1_6" warn " * Using $docker_version, when $docker_current_version is current as of $docker_current_date" + info " * Your operating system vendor may provide support and security maintenance for docker" else pass "$check_1_6" info " * Using $docker_version which is current as of $docker_current_date" + info " * Check with your operating system vendor for support and security maintenance for docker" fi # 1.7