Skip to content

Commit

Permalink
Run logs collection after job finished in RDO CI
Browse files Browse the repository at this point in the history
we run logs collection in post playbook in upstream infra CI,
do the same in third-party CI whith OVB and multinode jobs.
Collect logs fter job is finished.

Depends on https://review.rdoproject.org/r/#/c/12442/
Change-Id: I4c2ec1847a47bda6a30e5045b04b750e91b1ebda
  • Loading branch information
sshnaidm committed Feb 28, 2018
1 parent 2fcacf9 commit 765389d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions toci_quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,6 @@ sudo gzip -d -r /opt/stack/new/tempest/.testrepository || true
du -L -ch $LOGS_DIR/* | tail -n +1 | sort -rh | head -n 200 &> $LOGS_DIR/log-size.txt || true
EOF

if [[ "${NODEPOOL_PROVIDER:-''}" == "rdo-cloud-tripleo" ]] || [[ "${NODEPOOL_PROVIDER:-''}" == "tripleo-test-cloud-rh1" ]]; then
bash $LOGS_DIR/collect_logs.sh
# rename script to not to run it in multinode jobs
mv $LOGS_DIR/collect_logs.sh $LOGS_DIR/ovb_collect_logs.sh
fi

popd

sudo unbound-control dump_cache > /tmp/dns_cache.txt
Expand Down

0 comments on commit 765389d

Please sign in to comment.