summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/cicd7
1 files 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