Skip to content

Commit

Permalink
Updated check procedure for feature docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent PLANCHENAULT committed Jul 4, 2019
1 parent 16e095c commit 8419906
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions features/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ feature:
run: |
case $LINUX_KIND in
debian|ubuntu|centos|rhel|fedora)
docker-compose -v &>/dev/null
if ! file $(which docker-compose) 2>/dev/null | grep x86-64 &>/dev/null; then
exit 1
fi
exit 0
;;
*)
echo "Unsupported operating system '$LINUX_KIND'"
exit 1
exit 2
;;
esac
Expand Down Expand Up @@ -72,4 +75,5 @@ feature:
nodes: all
run: |
rm /usr/bin/docker-compose || rm -f /usr/local/bin/docker-compose
exit 0
...

0 comments on commit 8419906

Please sign in to comment.