X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=gitlab-templates%2FGoogleStorage.gitlab-ci.yml;h=4ddf313d6aabed7a25e3983329a23c911686362b;hb=6a47303b70036b5b0c7c9f865ee3f12e0304a29e;hp=be941a81e6678d7dce2e919d5e247a2b38c8ef98;hpb=a94f032a7b36b148728cd5bdf6fb32bcf0ca2ef3;p=releng.git diff --git a/gitlab-templates/GoogleStorage.gitlab-ci.yml b/gitlab-templates/GoogleStorage.gitlab-ci.yml index be941a81e..4ddf313d6 100644 --- a/gitlab-templates/GoogleStorage.gitlab-ci.yml +++ b/gitlab-templates/GoogleStorage.gitlab-ci.yml @@ -24,7 +24,12 @@ variables: .gsutil-install: &gsutil-install script: - - dnf -y install python3-pip + - | + if command -v dnf &> /dev/null; then + dnf -y install python3-pip + else + yum -y install python3-pip + fi - python3 -m pip install -U pip - python3 -m pip install gsutil - echo "$GSUTIL_CONFIG" > ~/.boto