From db7511ebd0cc9910db5a60ee7ab3b45a109d9b1e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 9 Mar 2025 14:01:06 -0300 Subject: src/cicd: Add unique buiuld id --- src/cicd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/cicd b/src/cicd index 0378f16..0d75268 100755 --- a/src/cicd +++ b/src/cicd @@ -39,12 +39,15 @@ eval "$(assert-arg -- "$ACTION" 'ACTION')" shift -for r in "$@"; do +for repo in "$@"; do + id="$(uuid)" cat <<-EOF | q cicd-inbox in - repo $r + repo $repo + id $id now $(now) deploy $DEPLOY version $VERSION refname $REFNAME EOF + printf 'Enqueued with id %s for %s\n' "$repo" "$id" done -- cgit v1.2.3