gitlab-ci: fix building artifacts (pages) during gitlab-ci test
This commit is contained in:
@@ -52,6 +52,8 @@ variables:
|
|||||||
CENTOS_EXEC: 'bash .gitlab-ci/centos-install.sh'
|
CENTOS_EXEC: 'bash .gitlab-ci/centos-install.sh'
|
||||||
|
|
||||||
.nm_artifacts:
|
.nm_artifacts:
|
||||||
|
variables:
|
||||||
|
NM_BUILD_TARBALL: 1
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 2 days
|
expire_in: 2 days
|
||||||
paths:
|
paths:
|
||||||
@@ -60,6 +62,8 @@ variables:
|
|||||||
- NetworkManager-1*.src.rpm
|
- NetworkManager-1*.src.rpm
|
||||||
|
|
||||||
.nm_artifacts_undo:
|
.nm_artifacts_undo:
|
||||||
|
variables:
|
||||||
|
NM_BUILD_TARBALL: 0
|
||||||
artifacts:
|
artifacts:
|
||||||
paths: []
|
paths: []
|
||||||
|
|
||||||
|
@@ -35,8 +35,8 @@ do_clean; BUILD_TYPE=meson CC=clang WITH_DOCS=0 contrib/scri
|
|||||||
do_clean; test $IS_FEDORA = 1 -o $IS_CENTOS = 1 && ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test -W meson
|
do_clean; test $IS_FEDORA = 1 -o $IS_CENTOS = 1 && ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test -W meson
|
||||||
do_clean; test $IS_FEDORA = 1 && ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test -w meson
|
do_clean; test $IS_FEDORA = 1 && ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test -w meson
|
||||||
|
|
||||||
|
do_clean
|
||||||
if [ "$NM_BUILD_TARBALL" = 1 ]; then
|
if [ "$NM_BUILD_TARBALL" = 1 ]; then
|
||||||
do_clean
|
|
||||||
SIGN_SOURCE=0 ./contrib/fedora/rpm/build_clean.sh -r
|
SIGN_SOURCE=0 ./contrib/fedora/rpm/build_clean.sh -r
|
||||||
mv ./NetworkManager-1*.tar.xz /tmp/
|
mv ./NetworkManager-1*.tar.xz /tmp/
|
||||||
mv ./contrib/fedora/rpm/latest/SRPMS/NetworkManager-1*.src.rpm /tmp/
|
mv ./contrib/fedora/rpm/latest/SRPMS/NetworkManager-1*.src.rpm /tmp/
|
||||||
|
@@ -42,6 +42,8 @@ variables:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
.nm_artifacts:
|
.nm_artifacts:
|
||||||
|
variables:
|
||||||
|
NM_BUILD_TARBALL: 1
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 2 days
|
expire_in: 2 days
|
||||||
paths:
|
paths:
|
||||||
@@ -50,6 +52,8 @@ variables:
|
|||||||
- NetworkManager-1*.src.rpm
|
- NetworkManager-1*.src.rpm
|
||||||
|
|
||||||
.nm_artifacts_undo:
|
.nm_artifacts_undo:
|
||||||
|
variables:
|
||||||
|
NM_BUILD_TARBALL: 0
|
||||||
artifacts:
|
artifacts:
|
||||||
paths: []
|
paths: []
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user