CI: Fix symlinks for failed build logs

Follow up to I5b5f323471676317a2898875cbbf297082328fcc. Logs are no
longer gzipped, so we do not need to modify the 000_FAILED_* symlinks.

Change-Id: I5df42ac0ff91b1b97537a4fbc33fc7970f29d60e
(cherry picked from commit 63f773f569)
This commit is contained in:
Mark Goddard 2020-01-10 09:37:09 +00:00
parent 8eef0dc2b6
commit 11f54cfb09
1 changed files with 0 additions and 6 deletions

View File

@ -66,12 +66,6 @@
sudo mv $f ${f/.log/.txt} sudo mv $f ${f/.log/.txt}
done 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 # append .txt to all kolla config file
find logs/kolla_configs -type f -exec mv '{}' '{}'.txt \; find logs/kolla_configs -type f -exec mv '{}' '{}'.txt \;
executable: /bin/bash executable: /bin/bash