From a7ba1ef3ae279c4f8eb633b790011cfb4b8c51a5 Mon Sep 17 00:00:00 2001 From: Rafael Siejakowski Date: Sun, 16 Jul 2023 12:27:10 +0200 Subject: [PATCH] Expose build artifacts under friendly names Replace the raw:job:names with user-friendly artifact labels in the Gitlab artifact download drop-down menu shown on MR pages. --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b329649de5..9817691e51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,6 +94,7 @@ inkscape:linux: - rm -rf src _CPack_Packages # exclude from artifacts - cd .. artifacts: + expose_as: 'Linux - DEB packages' expire_in: 1 year paths: - build/ @@ -114,6 +115,7 @@ appimage:linux: script: - bash -ex packaging/appimage/generate.sh artifacts: + name: 'Linux - AppImage file' expire_in: 1 year paths: - Inkscape*.AppImage* @@ -134,6 +136,7 @@ inkscape:macos:x64: script: - packaging/macos/build.sh artifacts: + name: 'MacOS - 64-bit Intel' expire_in: 1 year paths: - Inkscape*.dmg @@ -187,6 +190,7 @@ inkscape:windows:build: - C:/msys64/msys2_shell.cmd -defterm -no-start -mingw64 -here -c "timeout -k 10s 70m ninja -C build" - 7z a build.7z build artifacts: + expose_as: 'Windows build directory - 7z archive' paths: - build.7z @@ -209,6 +213,7 @@ inkscape:windows:dist: - 7z x build.7z - C:/msys64/msys2_shell.cmd -defterm -no-start -mingw64 -here -c "ninja -C build dist-win-${DIST}" artifacts: + name: 'Windows executables - 7z archive' paths: - build/inkscape*.${DIST} @@ -227,6 +232,7 @@ test:linux: - cd build - ctest -V artifacts: + expose_as: 'Linux test logs' paths: - build/testfiles - build/Testing @@ -241,6 +247,7 @@ test:macos:x64: script: - packaging/macos/test.sh artifacts: + expose_as: 'MacOS test logs' paths: - testfiles.tar.xz when: on_failure @@ -270,6 +277,7 @@ codequality: - if [[ -s clang_format.diff ]]; then false; fi allow_failure: true artifacts: + expose_as: 'Clang format diff file' paths: - clang_format.diff @@ -333,6 +341,7 @@ translations: fi' artifacts: name: "translations" + expose_as: 'Translations - PO files' paths: - po/ -- GitLab