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:
parent
8eef0dc2b6
commit
11f54cfb09
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue