diff --git a/.drone.yml b/.drone.yml index e8bd9e7..13b98b2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,6 +16,7 @@ steps: pull: always environment: AUR_REPO_NAME: rad4day + NINJA_STATUS: "[ninja][%f/%t] " BUILD_GPG_KEY: from_secret: repo_signing_key REPO_ACCESS_KEY: @@ -28,3 +29,12 @@ steps: - "sudo chown aurutils: /repo" - "sudo chown -R aurutils: /drone/src" - "./entrypoint.sh" + - name: Print Summary + image: registry.tobiasmanske.de/git:latest + commands: + - cd packages + - cat .ninja_out | grep -E "^\[ninja\]" + when: + status: + - success + - failure diff --git a/entrypoint.sh b/entrypoint.sh index 9e2e6ee..ac85daf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -131,7 +131,7 @@ fi # aur build -S --noconfirm -a queue --no-sync --margs -s export AUR_SYNC_USE_NINJA=1 -cat graph | aur sync--ninja -S -- aur build -S --noconfirm --no-sync --margs -s | tee -a /dev/stderr | ninja -k 0 -f /dev/stdin +cat graph | aur sync--ninja -S -- aur build -S --noconfirm --no-sync --margs -s | tee -a .ninja_out | ninja -k 0 -f /dev/stdin echo "##################################" ls -la /repo