Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 8419906

Browse files
author
Vincent PLANCHENAULT
committed
Updated check procedure for feature docker-compose
1 parent 16e095c commit 8419906

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

features/docker-compose.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,14 @@ feature:
3636
run: |
3737
case $LINUX_KIND in
3838
debian|ubuntu|centos|rhel|fedora)
39-
docker-compose -v &>/dev/null
39+
if ! file $(which docker-compose) 2>/dev/null | grep x86-64 &>/dev/null; then
40+
exit 1
41+
fi
42+
exit 0
4043
;;
4144
*)
4245
echo "Unsupported operating system '$LINUX_KIND'"
43-
exit 1
46+
exit 2
4447
;;
4548
esac
4649
@@ -72,4 +75,5 @@ feature:
7275
nodes: all
7376
run: |
7477
rm /usr/bin/docker-compose || rm -f /usr/local/bin/docker-compose
78+
exit 0
7579
...

0 commit comments

Comments
 (0)