diff options
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 70b9c229..570d06b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: debian:jessie +image: fedora:25 stages: - validate @@ -9,10 +9,9 @@ stages: before_script: - export LC_ALL="C.UTF-8" - - apt-get update -qq && apt-get install -y -qq git + - dnf -y install git which redhat-rpm-config - export CI_YBD_BRANCH=`[[ "$CI_BUILD_REF_NAME" =~ ^staging/fromybd/ ]] && echo -b ${CI_BUILD_REF_NAME#staging/fromybd/}` - git clone https://gitlab.com/baserock/spec.git - - echo "$CI_YBD_BRANCH" - git clone https://gitlab.com/baserock/ybd.git $CI_YBD_BRANCH - cd ybd && ./install_dependencies.sh && cd .. - pip install -r spec/requirements.txt |