From 4ddbc0c658e65fb14f4c22b63fff2e56032ccf7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 14 Oct 2018 17:23:50 +0200 Subject: Add laminar reasons for trigger --- crontab | 12 ++++++------ ssh-hook.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crontab b/crontab index 3cb80c8..eb802a9 100644 --- a/crontab +++ b/crontab @@ -1,6 +1,6 @@ -0 1 * * * laminarc queue alpine-amd64 -0 2 * * * laminarc queue turris4x-mox -0 2 * * * laminarc queue turris4x-omnia -0 2 * * * laminarc queue turris4x-turris -0 2 * * * laminarc queue turris3x-omnia -0 2 * * * laminarc queue turris3x-turris +0 1 * * * LAMINAR_REASON="Periodic" laminarc queue alpine-amd64 +0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris4x-mox +0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris4x-omnia +0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris4x-turris +0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris3x-omnia +0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris3x-turris diff --git a/ssh-hook.sh b/ssh-hook.sh index 3643a2a..2980c03 100755 --- a/ssh-hook.sh +++ b/ssh-hook.sh @@ -18,6 +18,6 @@ if [ -z "$SSH_ORIGINAL_COMMAND" ]; then else echo "Laminar queue: $SSH_ORIGINAL_COMMAND" - laminarc queue "$SSH_ORIGINAL_COMMAND" + LAMINAR_REASON="Git hook" laminarc queue "$SSH_ORIGINAL_COMMAND" fi -- cgit v1.2.3