Skip to content

Commit

Permalink
Merge pull request #5 from redhat-performance/meta-updates
Browse files Browse the repository at this point in the history
Meta updates
  • Loading branch information
sousinha97 authored Oct 1, 2024
2 parents 9a56946 + ee062d9 commit ea7ea0d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions reboot_measurement/reboot_measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@
command: "date -u +%s"
register: reboot_end

- name: Ensure tmp parent directories exist
file:
path: "/tmp/reboot_boot_info"
state: directory
mode: '0755'

- name: Create tmp reboot_timings file
file:
path: "/tmp/reboot_boot_info/reboot_timings"
state: touch
mode: '0644'

- name: Generate test metadata
shell: "{{ config_info.user_parent_home_dir }}/{{ config_info.test_user }}/tools_bin/test_header_info \
--front_matter \
Expand Down
3 changes: 2 additions & 1 deletion reboot_measurement/run_reboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
working_dir=`pwd`
iterations=1
boot_version="v1.0"
test_name = "reboot_measurement"
test_name="reboot_measurement"

usage()
{
Expand Down Expand Up @@ -137,3 +137,4 @@ for iteration in `seq 1 1 $iterations`
do
ansible-playbook -i ./inventory --extra-vars "working_dir=${working_dir} iteration=${iteration} ansible_python_interpreter=auto sys_type=${sys_type} to_tuned_setting=${tuned_setting} sysname=${sysname} boot_version=${boot_version} test_name=${test_name}" ${working_dir}/workloads/reboot_me*/reboot_measurement/reboot_measure.yml
done
exit 0

0 comments on commit ea7ea0d

Please sign in to comment.