Don't capture quickstart.tar.gz

This archive appears to not contain any logs, but contains the
quickstart runtime files (including all site-packages).

There is space savings of 44MB per job from removing this file.

Change-Id: I3085c1f7807925e144550adf3cd94ec41fcc121e
Related-Bug: #1698172
This commit is contained in:
Steve Baker 2017-06-16 12:22:36 +12:00
parent f6adce68e3
commit 5ccdf00217
2 changed files with 0 additions and 4 deletions

View File

@ -82,8 +82,6 @@ TIME_FOR_DEPLOY=$(( REMAINING_TIME - ($(date +%s) - START_JOB_TIME)/60 - 15 ))
$OOOQ_DEFAULT_ARGS $EXTRA_ARGS undercloud 2>&1 \ $OOOQ_DEFAULT_ARGS $EXTRA_ARGS undercloud 2>&1 \
| tee $OOOQ_LOGS/quickstart_install.log && exit_value=0 || exit_value=$? | tee $OOOQ_LOGS/quickstart_install.log && exit_value=0 || exit_value=$?
tar -czf $OOOQ_LOGS/quickstart.tar.gz $OPT_WORKDIR
# TODO(sshnaidm): fix this either in role or quickstart.sh # TODO(sshnaidm): fix this either in role or quickstart.sh
# it will not duplicate logs from undercloud and 127.0.0.2 # it will not duplicate logs from undercloud and 127.0.0.2
sed -i 's/hosts: all:!localhost/hosts: all:!localhost:!127.0.0.2/' $OPT_WORKDIR/playbooks/collect-logs.yml || true sed -i 's/hosts: all:!localhost/hosts: all:!localhost:!127.0.0.2/' $OPT_WORKDIR/playbooks/collect-logs.yml || true

View File

@ -134,8 +134,6 @@ pushd $TRIPLEO_ROOT/tripleo-quickstart/
sudo journalctl -u os-collect-config | sudo tee /var/log/os-collect-config.txt sudo journalctl -u os-collect-config | sudo tee /var/log/os-collect-config.txt
tar -czf $OOOQ_LOGS/quickstart.tar.gz $OPT_WORKDIR
# TODO(sshnaidm): fix this either in role or quickstart.sh # TODO(sshnaidm): fix this either in role or quickstart.sh
# it will not duplicate logs from undercloud and 127.0.0.2 # it will not duplicate logs from undercloud and 127.0.0.2
sed -i 's/hosts: all:!localhost/hosts: all:!localhost:!127.0.0.2/' $OPT_WORKDIR/playbooks/collect-logs.yml || true sed -i 's/hosts: all:!localhost/hosts: all:!localhost:!127.0.0.2/' $OPT_WORKDIR/playbooks/collect-logs.yml || true