Skip to content

Commit

Permalink
Merge pull request #29 from CSCfi/CCCP-2838
Browse files Browse the repository at this point in the history
Clone in rally-openstack
  • Loading branch information
martbhell authored Jul 30, 2019
2 parents 87705b4 + c90ce19 commit 62b3bee
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,7 @@ concurrency: 1
# - "[section1]"
# - "setting2 = True"

# Git clone rally-openstack because the sample scenarios are there and they are nice to have
rally_openstack_gitrepo_source: https://github.com/openstack/rally-openstack
rally_openstack_gitrepo_dest: /opt/rally/rally-openstack
#rally_openstack_gitrepo_version: "master"
6 changes: 6 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@

- import_tasks: tempest.yml
when: configure_tempest

- name: Create directories for deployments
file: path={{rally_openstack_gitrepo_dest|dirname}} owner=rally group=rally mode=0750 state=directory

- name: clone openstack/rally-openstack to get the samples directory - useful for tasks
git: repo="{{ rally_openstack_gitrepo_source }}" dest="{{ rally_openstack_gitrepo_dest }}" version="{{ rally_openstack_gitrepo_version|default(omit) }}"
2 changes: 1 addition & 1 deletion tests/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- "mysetting = False"
- "[section1]"
- "setting2 = True"
- rally_install_version: 'stable/0.12'
- rally_install_version: '1.6.0'
- tempest_manual_forloop_cleanup: True
- clouds:
testcloud:
Expand Down

0 comments on commit 62b3bee

Please sign in to comment.