X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fsigul-sign-dir.sh;h=724f1907d6fde66b6405fe5bfa2741475ba72649;hb=refs%2Ftags%2Fv0.82.3;hp=f708d37d2bfa10b77b91df82f81b7c030a53c973;hpb=fd0481da698114d2032192796e61c198669cedb3;p=releng%2Fglobal-jjb.git diff --git a/shell/sigul-sign-dir.sh b/shell/sigul-sign-dir.sh index f708d37d..724f1907 100644 --- a/shell/sigul-sign-dir.sh +++ b/shell/sigul-sign-dir.sh @@ -13,6 +13,11 @@ echo "---> sigul-sign-dir.sh" # Ensure we fail the job if any steps fail. set -e -o pipefail +# shellcheck disable=SC1090 +. ~/lf-env.sh + +lf-activate-venv --python python3 lftools + OS=$(facter operatingsystem | tr '[:upper:]' '[:lower:]') OS_RELEASE=$(facter lsbdistrelease | tr '[:upper:]' '[:lower:]') if [[ "$OS_RELEASE" == "8" && "$OS" == 'centos' ]]; then