Merge "Rename certification/ to tasks/"

This commit is contained in:
Jenkins 2017-09-26 15:04:23 +00:00 committed by Gerrit Code Review
commit d9db5a09d4
15 changed files with 11 additions and 5 deletions

View File

@ -14,7 +14,7 @@ RUN echo '[ ! -z "$TERM" -a -r /etc/motd ] && cat /etc/motd' \
>> /etc/bash.bashrc; echo '\
╔═════════════════════════════════════════════════════════════════════════════╗\n\
║ Welcome to Rally Docker container! ║\n\
║ Rally certification tasks, samples and docs are located at ~/source/\n\
║ Rally pre created tasks, samples and docs are located at ~/source/ \n\
║ Rally configuration and DB are in ~/.rally/ ║\n\
║ Rally at readthedocs - http://rally.readthedocs.org ║\n\
║ How to contribute - http://rally.readthedocs.org/en/latest/contribute.html ║\n\

View File

@ -135,7 +135,7 @@ be done via the following steps:
likely to work if your home directory has excessively open
permissions (e.g., ``0755``), which is not recommended.
You can find all task samples, docs and certification tasks at /opt/rally/.
You can find all task samples, docs and pre created tasks at /opt/rally/.
Also you may want to save the last command as an alias:
.. code-block:: bash

6
tasks/README.rst Normal file
View File

@ -0,0 +1,6 @@
================================
Rally Tasks For Production Usage
================================
Detailed Instruction TBD

View File

@ -5,7 +5,7 @@ source $SCRIPT_DIR/../rally_gate_functions.sh
setUp
TASK=$RALLY_DIR/certification/openstack/task.yaml
TASK=$RALLY_DIR/tasks/openstack/task.yaml
TASK_ARGS=$RALLY_DIR/rally-jobs/certifcation_task_args.yaml
TASK_ARGS="--task-args-file $TASK_ARGS"

View File

@ -21,13 +21,13 @@ import unittest
from tests.functional import utils
class TestCertificationTask(unittest.TestCase):
class TestPreCreatedTasks(unittest.TestCase):
def test_task_samples_is_valid(self):
rally = utils.Rally()
full_path = os.path.join(
os.path.dirname(__file__), os.pardir, os.pardir,
"certification", "openstack")
"tasks", "openstack")
task_path = os.path.join(full_path, "task.yaml")
args_path = os.path.join(full_path, "task_arguments.yaml")