[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110939] Adding push hook for Guix
From: |
Ludovic Courtès |
Subject: |
[sr #110939] Adding push hook for Guix |
Date: |
Thu, 5 Oct 2023 05:24:33 -0400 (EDT) |
Follow-up Comment #2, sr #110939 (project administration):
Hello Bob!
> File post-receive-ci.guix.gnu.org called from above.
> #!/bin/sh
> wget --post-data="" -O/dev/null
https://ci.guix.gnu.org/jobset/guix/hook/evaluate
> while read oldrev newrev ref; do
> branch=$(basename $ref)
> wget --post-data="" -O/dev/null
https://ci.guix.gnu.org/jobset/$branch/hook/evaluate
> done
Not tested but that looks great to me. (Perhaps add double quotes for good
measure after branch= and around the URL that includes $branch.)
Let me know when it's installed and we'll see if it works according to plan.
Thank you!
Ludo'.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/support/?110939>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/