]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
install-deps.sh: fix install-deps script for focal and bionic 48009/head
authorLaura Flores <lflores@redhat.com>
Wed, 7 Sep 2022 19:45:57 +0000 (19:45 +0000)
committerLaura Flores <lflores@redhat.com>
Wed, 7 Sep 2022 19:45:57 +0000 (19:45 +0000)
commit0d2a5f3466a8f078dfa20dccb8b2234611bdf6f6
tree79d9ab69e55f1e6c038a188e69f8e40a4301fb82
parent7c73866e7da69e0798f75eba80c05b8891293bfc
install-deps.sh: fix install-deps script for focal and bionic

When run on focal and bionic, install-deps ends early
due to this extra debug message that was added to the
end of `ensure_decent_gcc_on_ubuntu`. The debug message
prints when the script is run in a jenkins environment.

When the script is not run in a jenkins environment, the
value returned there is "false" or "0", which acts as
an early return. This stops the script from completing.

We can remove this line, as `ensure_decent_gcc_on_ubuntu`
is only called for focal and bionic, and most of the jenkins
nodes are running jammy. Also, there is a debug message at the
beginning of the function that should suffice.

Fixes: https://tracker.ceph.com/issues/57466
Signed-off-by: Laura Flores <lflores@redhat.com>
install-deps.sh