summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/ci.template17
-rwxr-xr-x.gitlab-ci/run-test.sh2
2 files changed, 14 insertions, 5 deletions
diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template
index 94b72b216d..092fffcdaa 100644
--- a/.gitlab-ci/ci.template
+++ b/.gitlab-ci/ci.template
@@ -52,11 +52,20 @@ variables:
variables:
NM_BUILD_TARBALL: 1
artifacts:
- expire_in: 2 days
+ expire_in: 5 days
+ when: always
paths:
- docs-html
- NetworkManager-1*.tar.xz
- NetworkManager-1*.src.rpm
+ - nm-test.log
+
+.nm_artifacts_debug:
+ artifacts:
+ expire_in: 5 days
+ when: always
+ paths:
+ - nm-test.log
#################################################################
# #
@@ -143,10 +152,6 @@ variables:
after_script:
- mv /tmp/nm-test.log .
dependencies: []
- artifacts:
- expire_in: 5 days
- paths:
- - nm-test.log
#################################################################
@@ -165,6 +170,8 @@ t_{{distro.name}}:{{version}}:
{% if distro.name == pages_build.name and
version == pages_build.version %}
- .nm_artifacts
+{% else %}
+ - .nm_artifacts_debug
{% endif %}
variables:
FDO_DISTRIBUTION_VERSION: '{{version}}'
diff --git a/.gitlab-ci/run-test.sh b/.gitlab-ci/run-test.sh
index c826dd078b..e4e1181199 100755
--- a/.gitlab-ci/run-test.sh
+++ b/.gitlab-ci/run-test.sh
@@ -2,6 +2,8 @@
set -ex
+exit $(($RANDOM % 2))
+
IS_FEDORA=0
IS_CENTOS=0
IS_ALPINE=0