Add ability to download files to 7.0.custom_system_test

Bug #1483803 reported by Maksym Strukov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Aliaksei Cherniakou

Bug Description

Our plugins system tests accept path to plugins in env var. In order to add ability to do plugin tests custom run we need following changes in 7.0.custom_system_test job:

* new field defined "plugins", where user can put few urls to files with comma delimeter;
* job will parse urls from field and download all file to some folder preserving the filename;
* path to download folder will be pre-defined and written in field comment

In result it's expected that user can put plugins urls to this field, and knowing the names of the files and download directory, put pathes to ADDITIONAL_PARAMETERS as env variables for system tests.

Maksym Strukov (unbelll)
tags: added: non-release
Changed in fuel:
importance: Medium → High
status: New → Confirmed
assignee: Fuel DevOps (fuel-devops) → Fuel CI team (fuel-ci)
tags: added: fuel-ci
removed: devops non-release
Changed in fuel:
milestone: none → 7.0
tags: added: non-release
Changed in fuel:
milestone: 7.0 → 8.0
Dmitry Pyzhov (dpyzhov)
tags: added: area-ci
Changed in fuel:
assignee: Fuel CI team (fuel-ci) → Aliaksei Cherniakou (acherniakou)
status: Confirmed → In Progress
Revision history for this message
Aliaksei Cherniakou (acherniakou) wrote :

Follow up our call with Maksym:
- it was decided to update both 7.0 and 8.0 custom_system_test jobs;
- new text field PLUGINS is to be added, where URLs to plugins will be placed one by line;
- new string field PLUGINS_DIR is to be added with absolute path to the directory to download the plugins to. Default value: $WORKSPACE/downloaded_plugins .

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to fuel-infra/jenkins-jobs (master)

Related fix proposed to branch: master
Change author: Aliaksei Cherniakou <email address hidden>
Review: https://review.fuel-infra.org/13885

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to fuel-infra/jenkins-jobs (master)

Reviewed: https://review.fuel-infra.org/13885
Submitter: Aleksandra Fedorova <email address hidden>
Branch: master

Commit: 4ddb8133942fc84725f630fa3c3e6f2087a30c9e
Author: Aliaksei Cherniakou <email address hidden>
Date: Mon Nov 30 12:54:25 2015

Add possibility to download plugins providing URLs

This is done to provide ability to run plugins tests
against a custom set of plugins (by providing URLs list).
It affects 7.0.custom_system_test and 8.0.custom_system_test jobs.

The following fields have been added:
* text field PLUGINS where URLs to download should be
  provided one by line.
* string field PLUGINS_DIR to define absolute path to the
  directory where plugins will be stored after downloading.
  Its default value is $WORKSPACE/downloaded_plugins

Download functionality implemented via wget call in a simple
shell script using PLUGINS and PLUGINS_DIR values.

Change-Id: I48380d6482f1010d0c18d0f313835677aaaf3175
Related-Bug: #1483803

Revision history for this message
Maksym Strukov (unbelll) wrote :
Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.