aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/calibration
diff options
context:
space:
mode:
authorStanislav Chlebec <stanislavv.chlebec@pantheon.tech>2019-01-17 03:15:54 -0800
committerjuraj.linkes <juraj.linkes@pantheon.tech>2019-03-01 13:53:30 +0100
commit89e6be275715aefa8473835eb78eed309f37f2ee (patch)
tree3afd82fb84cc6dc3b815eb50707d3a9d4e79a29c /resources/tools/testbed-setup/ansible/roles/calibration
parent83e9b227be8316ac06b9104ce9096cfe4b06605e (diff)
Add ARM Taishan testbed33 perftest
Change-Id: Iaa0e7fbca7de26c7dce8b389cc3494f628a2ecd0 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/calibration')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml21
-rw-r--r--resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml21
2 files changed, 24 insertions, 18 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
index b70694ad31..17be80064a 100644
--- a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
@@ -13,21 +13,6 @@
- debug: var=spectre_meltdown_output.stdout_lines
tags: run-spectre-meltdown-checker
-- name: Clone Jitter tool
- git:
- repo: 'https://gerrit.fd.io/r/pma_tools'
- dest: '{{ jitter.directory }}'
- tags: run-jitter-tool
-
-- name: Compile Jitter tool
- raw: 'cd {{ jitter.directory }}/jitter && make'
- tags: run-jitter-tool
-
-- name: Run Jitter tool
- raw: '{{ jitter.directory }}/jitter/jitter -c {{ jitter.core }} -i {{ jitter.iterations }} -f'
- become: yes
- register: jitter_output
- tags: run-jitter-tool
-
-- debug: var=jitter_output.stdout_lines
- tags: run-jitter-tool
+- name: x86 specific
+ import_tasks: x86_64.yaml
+ when: ansible_machine == 'x86_64'
diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml
new file mode 100644
index 0000000000..a6132841a0
--- /dev/null
+++ b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml
@@ -0,0 +1,21 @@
+---
+# file: roles/calibration/tasks/x86_64.yaml
+
+- name: Clone Jitter tool
+ git:
+ repo: 'https://gerrit.fd.io/r/pma_tools'
+ dest: '{{ jitter.directory }}'
+ tags: run-jitter-tool
+
+- name: Compile Jitter tool
+ raw: 'cd {{ jitter.directory }}/jitter && make'
+ tags: run-jitter-tool
+
+- name: Run Jitter tool
+ raw: '{{ jitter.directory }}/jitter/jitter -c {{ jitter.core }} -i {{ jitter.iterations }} -f'
+ become: yes
+ register: jitter_output
+ tags: run-jitter-tool
+
+- debug: var=jitter_output.stdout_lines
+ tags: run-jitter-tool