diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2016-11-03 08:10:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-11-03 08:10:41 +0000 |
commit | 403e8ead12863163573f45c1be07a48c05061f45 (patch) | |
tree | 9f0398c9a8e3ebc397e3f30e88a083f09a04d0b5 /benchmarks/playbooks/cachebench.yaml | |
parent | 10fa387f3ad554a4c42c580b424f79c2171c64d3 (diff) | |
parent | a9d5c798ad0da8494056181cc1b68f85f9b203c9 (diff) |
Merge "Remove playbooks directory"
Diffstat (limited to 'benchmarks/playbooks/cachebench.yaml')
-rw-r--r-- | benchmarks/playbooks/cachebench.yaml | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/benchmarks/playbooks/cachebench.yaml b/benchmarks/playbooks/cachebench.yaml deleted file mode 100644 index ca9a709c..00000000 --- a/benchmarks/playbooks/cachebench.yaml +++ /dev/null @@ -1,49 +0,0 @@ - - hosts: "{{ roles }}" - - tasks: - - name: clean - shell: rm -rf /usr/bin/phoronix-test-suite - shell: rm -rf /usr/share/doc/phoronix-test-suite/ - shell: rm -rf /usr/share/phoronix-test-suite - shell: rm -rf /root/photmp/ - - - name: cleaning results - file: path=/root/results state=absent - - - name: make direc - file: path=/root/photmp/ state=directory - - - name: Fetch Phornonix - shell: cd /root/photmp/ && wget https://www.dropbox.com/s/5kks513ozxy7vvs/phoronix-suite.tar.gz - - - name: unarchive Phoronix - shell: cd /root/photmp/ && tar -zxvf phoronix-suite.tar.gz - - - name: Install Phornonix Dependencies - shell: yum install php php-xml php-client php-process -y - - - name: Install Phornonix - shell: cd /root/photmp/phoronix-test-suite-master/&&./install-sh - - - name: batchSetup - shell: phoronix-test-suite batch-setup - - - name: install - shell: phoronix-test-suite batch-install cachebench - - - name: run - shell: phoronix-test-suite batch-run cachebench - - - name: making directory - file: path=/root/results state=directory - - - name: copying result to temp directory - shell: cp -r /var/lib/phoronix-test-suite/test-results/* /root/results/ - - - name: registering files - shell: (cd /root/results/; find . -maxdepth 1 -type f) | cut -d'/' -f2 - register: files_to_copy - - - name: copy results - fetch: src=/root/results/{{item}} dest={{workingdir}}/{{Dest_dir}}/cachebench - with_items: "{{files_to_copy.stdout_lines}}" |