Merge "Add timestamp to containers' build log"
This commit is contained in:
commit
aa70b38199
|
@ -66,7 +66,7 @@
|
||||||
args:
|
args:
|
||||||
chdir: '{{ workspace }}'
|
chdir: '{{ workspace }}'
|
||||||
shell: |
|
shell: |
|
||||||
set -x
|
set -o pipefail
|
||||||
source {{ workspace }}/venv/bin/activate
|
source {{ workspace }}/venv/bin/activate
|
||||||
TRIPLEO_COMMON_PATH="{{ openstack_git_root }}/tripleo-common"
|
TRIPLEO_COMMON_PATH="{{ openstack_git_root }}/tripleo-common"
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
{% if use_buildah is defined and use_buildah %}
|
{% if use_buildah is defined and use_buildah %}
|
||||||
--use-buildah \
|
--use-buildah \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
> {{ workspace }}/build.log 2> {{ workspace }}/build-err.log
|
2>&1 {{ timestamper_cmd }} > {{ workspace }}/build.log
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
exit $RESULT
|
exit $RESULT
|
||||||
|
|
||||||
|
|
|
@ -18,3 +18,6 @@ exclude_containers:
|
||||||
- sensu-base
|
- sensu-base
|
||||||
yum:
|
yum:
|
||||||
- opendaylight
|
- opendaylight
|
||||||
|
|
||||||
|
timestamper_cmd: >-
|
||||||
|
| awk '{ print strftime("%Y-%m-%d %H:%M:%S |"), $0; fflush(); }'
|
||||||
|
|
Loading…
Reference in New Issue