aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/playbooks/post.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/playbooks/post.yml b/tests/playbooks/post.yml
index 413d3f757..9ed6128c5 100644
--- a/tests/playbooks/post.yml
+++ b/tests/playbooks/post.yml
@@ -65,6 +65,12 @@
sudo mv $f ${f/.log/.txt}
done
+ # Update symlinks to new file names
+ for f in $(find logs -name "*FAILED*"); do
+ sudo mv ${f} ${f}.gz
+ sudo ln -sf ${f#*/000_FAILED_}.gz ${f}.gz
+ done
+
# append .txt to all kolla config file
find logs/kolla_configs -type f -exec mv '{}' '{}'.txt \;