From dc4daba07c734eade7addbf36b5ef761a63697c8 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Tue, 29 Apr 2025 22:08:59 +0200 Subject: [PATCH] send all imaging results to me this makes them accessible outside the production publishing. failed imaging+publishing runs upload for inspection as well --- .gitlab-ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 659e36b..8045f5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,8 +17,9 @@ imaging: RUNNER_AFTER_SCRIPT_TIMEOUT: 1h script: - ./in_docker.sh --force --debug - after_script: &after_script - - "[ $CI_JOB_STATUS == 'success' ] || ./upload-to-harald.sh || true" + after_script: + # Upload all images to Harald. You can grab them at http://images.kde-linux.haraldsitter.eu/ + - ./upload-to-harald.sh || true # Cleanup our btrfs subvolumes so docker doesn't stumble over them. - cargo run --manifest-path btrfs-cleanup/Cargo.toml . @@ -38,4 +39,8 @@ imaging+publish: - curl -s https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer | bash - ./in_docker.sh --force --debug - ./upload.sh - after_script: *after_script + after_script: + # Upload broken images to Harald for inspection + - "[ $CI_JOB_STATUS == 'success' ] || ./upload-to-harald.sh || true" + # Cleanup our btrfs subvolumes so docker doesn't stumble over them. + - cargo run --manifest-path btrfs-cleanup/Cargo.toml .