feat: Improve logging output (#139)

This commit is contained in:
Gerald Pinder 2024-03-26 12:23:10 -04:00 committed by GitHub
parent ab11362a0d
commit 189141924b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 107 additions and 40 deletions

View file

@ -29,8 +29,10 @@ RUN \
{%- endif %}
--mount=type=bind,from=stage-exports,src=/exports.sh,dst=/tmp/exports.sh \
--mount=type=cache,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-{{ recipe.name }}-{{ recipe.image_version }},sharing=locked \
chmod +x /tmp/modules/{{ type }}/{{ type }}.sh \
echo "========== Start {{ type|capitalize }} module ==========" \
&& chmod +x /tmp/modules/{{ type }}/{{ type }}.sh \
&& source /tmp/exports.sh && /tmp/modules/{{ type }}/{{ type }}.sh '{{ module.print_module_context() }}' \
&& echo "========== End {{ type|capitalize }} module ==========" \
&& ostree container commit
{%- endif %}
{%- endif %}