diff options
author | Peter Krempa <pkrempa@redhat.com> | 2023-02-27 10:53:56 +0100 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2023-02-28 08:39:37 +0100 |
commit | e82a765078c8872ce01711d4cbebf5806205385b (patch) | |
tree | 7bede461e903bbc17d391397dfeda4d96bf1a172 | |
parent | b2cb5dc4d56a96eaffd4772a20fc7fbdf95ce59f (diff) | |
download | libvirt-ci-e82a765078c8872ce01711d4cbebf5806205385b.zip libvirt-ci-e82a765078c8872ce01711d4cbebf5806205385b.tar.gz libvirt-ci-e82a765078c8872ce01711d4cbebf5806205385b.tar.bz2 |
gitlab: Enable FF_SCRIPT_SECTIONS gitlab feature
Enabling this feature turns each script line from CI job definition
into a collapsible section in the job output and shows the duration of
each line.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
-rw-r--r-- | lcitool/gitlab.py | 1 | ||||
-rw-r--r-- | tests/data/manifest/out/ci/gitlab.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lcitool/gitlab.py b/lcitool/gitlab.py index 3954fb1..b2100fb 100644 --- a/lcitool/gitlab.py +++ b/lcitool/gitlab.py @@ -75,6 +75,7 @@ def variables(namespace): f""" variables: RUN_UPSTREAM_NAMESPACE: {namespace} + FF_SCRIPT_SECTIONS: 1 """) diff --git a/tests/data/manifest/out/ci/gitlab.yml b/tests/data/manifest/out/ci/gitlab.yml index 7bebe1e..741710d 100644 --- a/tests/data/manifest/out/ci/gitlab.yml +++ b/tests/data/manifest/out/ci/gitlab.yml @@ -43,6 +43,7 @@ variables: RUN_UPSTREAM_NAMESPACE: test-group + FF_SCRIPT_SECTIONS: 1 workflow: |