diff options
author | Karel Kočí <cynerd@email.cz> | 2018-10-14 17:23:50 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-10-14 17:23:50 +0200 |
commit | 4ddbc0c658e65fb14f4c22b63fff2e56032ccf7f (patch) | |
tree | c41888b91cfe17eea97b7c8c41239db9f65495ea | |
parent | a237d34158be871f474bbbe1079d6c32fc178bbb (diff) | |
download | laminar-cnf-4ddbc0c658e65fb14f4c22b63fff2e56032ccf7f.tar.gz laminar-cnf-4ddbc0c658e65fb14f4c22b63fff2e56032ccf7f.tar.bz2 laminar-cnf-4ddbc0c658e65fb14f4c22b63fff2e56032ccf7f.zip |
Add laminar reasons for trigger
-rw-r--r-- | crontab | 12 | ||||
-rwxr-xr-x | ssh-hook.sh | 2 |
2 files changed, 7 insertions, 7 deletions
@@ -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 |