add container build post to c7 providers

c7 providers are missing container build logs.

Change-Id: Ifa817a401b496aadab66621038abd3b001485a89
This commit is contained in:
Rafael Folco 2020-10-30 19:09:44 -03:00 committed by Ronelle Landy
parent 5031b9c91f
commit c9be3a806f
2 changed files with 3 additions and 2 deletions

View File

@ -119,8 +119,8 @@ RETCODE=$?
### actual built containers
sudo {{ container_cli }} images | grep {{ registry_namespace }}/{{ kolla_base }}-binary > containers-successfully-built.log
### grep errors in all build logs
egrep "^Error:|No match" /tmp/kolla-*/docker -R > containers-build-errors.log 2>&1
egrep "^Error:|No match" /tmp/container-builds/*/docker -R >> containers-build-errors.log 2>&1
sudo egrep "^Error:|No match" /tmp/kolla-*/docker -R > containers-build-errors.log 2>&1 || true
sudo egrep "^Error:|No match" /tmp/container-builds/*/docker -R >> containers-build-errors.log 2>&1 || true
### not built (failed)
for i in `cat containers-expected-to-build.log`; do
grep "$i" containers-successfully-built.log || echo "$i" >> containers-failed-to-build.log

View File

@ -200,6 +200,7 @@
- playbooks/tripleo-buildcontainers/docker.yaml
- playbooks/tripleo-ci/run-v3.yaml
- playbooks/tripleo-ci/run-provider.yml
post-run: playbooks/tripleo-buildcontainers/post.yaml
voting: true
vars:
featureset: '027'