summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-02-08 10:34:56 +0100
committerThomas Haller <thaller@redhat.com>2019-02-08 10:35:37 +0100
commitbba33ba20c6d3bdbbafe6184903e0437f11c9c28 (patch)
treeb952066f7a36c252d0df05b267c9903c455dc5ca
parent211ac0ddad4a4a45f1602c32a386255536ed87a1 (diff)
downloadNetworkManager-bba33ba20c6d3bdbbafe6184903e0437f11c9c28.tar.gz
gitlab-ci: log timestamp of test steps
-rw-r--r--.gitlab-ci.yml28
1 files changed, 14 insertions, 14 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 68fd86fafa..ff7455911b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,29 +10,29 @@ stages:
.fedora_install: &fedora_install
before_script:
- - NM_INSTALL="dnf install -y" ./contrib/fedora/REQUIRED_PACKAGES
- - dnf install -y glibc-langpack-pl ccache clang
- - locale -a
- - contrib/scripts/nm-ci-patch-gtkdoc.sh || true
+ - date '+%Y%m%d-%H%M%S'; NM_INSTALL="dnf install -y" ./contrib/fedora/REQUIRED_PACKAGES
+ - date '+%Y%m%d-%H%M%S'; dnf install -y glibc-langpack-pl ccache clang
+ - date '+%Y%m%d-%H%M%S'; locale -a
+ - date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-ci-patch-gtkdoc.sh || true
.fedora_script: &fedora_script
stage: test
script:
- - git clean -fdx ; CI=gitlab BUILD_TYPE=autotools CC=gcc WITH_DOCS=1 contrib/scripts/nm-ci-run.sh
- - mv build/INST/share/gtk-doc/html .git/docs-html
- - git clean -fdx ; CI=gitlab BUILD_TYPE=meson CC=gcc WITH_DOCS=1 contrib/scripts/nm-ci-run.sh
- - git clean -fdx ; CI=gitlab BUILD_TYPE=autotools CC=clang WITH_DOCS=0 contrib/scripts/nm-ci-run.sh
- - git clean -fdx ; CI=gitlab BUILD_TYPE=meson CC=clang WITH_DOCS=0 contrib/scripts/nm-ci-run.sh
- - ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test
- - ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test -w meson
- - mv .git/docs-html .
+ - date '+%Y%m%d-%H%M%S'; git clean -fdx ; CI=gitlab BUILD_TYPE=autotools CC=gcc WITH_DOCS=1 contrib/scripts/nm-ci-run.sh
+ - date '+%Y%m%d-%H%M%S'; mv build/INST/share/gtk-doc/html .git/docs-html
+ - date '+%Y%m%d-%H%M%S'; git clean -fdx ; CI=gitlab BUILD_TYPE=meson CC=gcc WITH_DOCS=1 contrib/scripts/nm-ci-run.sh
+ - date '+%Y%m%d-%H%M%S'; git clean -fdx ; CI=gitlab BUILD_TYPE=autotools CC=clang WITH_DOCS=0 contrib/scripts/nm-ci-run.sh
+ - date '+%Y%m%d-%H%M%S'; git clean -fdx ; CI=gitlab BUILD_TYPE=meson CC=clang WITH_DOCS=0 contrib/scripts/nm-ci-run.sh
+ - date '+%Y%m%d-%H%M%S'; ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test
+ - date '+%Y%m%d-%H%M%S'; ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test -w meson
+ - date '+%Y%m%d-%H%M%S'; mv .git/docs-html .
checkpatch:
image: fedora:28
stage: test
script:
- - dnf install -y git
- - contrib/scripts/checkpatch-feature-branch.sh 2>&1 | tee checkpatch-out.txt
+ - date '+%Y%m%d-%H%M%S'; dnf install -y git
+ - date '+%Y%m%d-%H%M%S'; contrib/scripts/checkpatch-feature-branch.sh 2>&1 | tee checkpatch-out.txt
allow_failure: true
artifacts:
when: on_failure