Updated prepare_env job in jenkins-dev for FD 3.0

Change-Id: I2d7553b5c4ff7c66bb11b4d7a5c6f9fe0eabb91c
This commit is contained in:
Mateusz Matuszkowiak
2016-06-24 16:05:37 +02:00
parent e0f638a72f
commit d2ecdca477
2 changed files with 8 additions and 5 deletions

View File

@@ -43,6 +43,9 @@ function update_devops () {
exit 1
fi
fi
# FIXME: temporary solution use fuel-devops 3.0 which is not yet relased, thus taking it from the master
sed -i 's/fuel-devops.git@2.9.*/fuel-devops.git/g' "${WORKSPACE}/venv-requirements.txt"
# /FIXME
# Upgrade pip inside virtualenv
pip install pip --upgrade
@@ -63,9 +66,9 @@ function download_images () {
mkdir -p ${TARGET_CLOUD_DIR}
}
# DevOps 2.9.x
if [[ ${update_devops_2_9_x} == "true" ]]; then
update_devops "-2.9" "fuel-qa" "master"
# DevOps 3.0.x
if [[ ${update_devops_3_0_x} == "true" ]]; then
update_devops "-3.0" "fuel-qa" "master"
fi
if [[ ${download_images} == "true" ]]; then

View File

@@ -5,13 +5,13 @@
concurrent: true
description: |
Creates a python virtual environment for system tests. Stores additional images.<br><br>
For current and above environments choose 2.9.x DevOps version from fuel-qa repository.
For current and above environments choose 3.0.x DevOps version from fuel-qa repository.
logrotate:
daysToKeep: 14
name: prepare_env
parameters:
- bool:
name: 'update_devops_2_9_x'
name: 'update_devops_3_0_x'
default: true
- bool:
name: 'download_images'