Skip to content

Commit a4a76b2

Browse files
committed
feat: add Beacon and Multi-Event capabilities
1 parent 2608d24 commit a4a76b2

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

templates/ethiack-job-manager.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ spec:
2424
type: string
2525
default: ""
2626
description: The URL of the target service. Required for commands "launch", and "check".
27+
beacon_id:
28+
type: string
29+
default: ""
30+
description: Optional beacon_id for "launch" and "check" commands.
31+
event_slug:
32+
type: string
33+
default: ""
34+
description: Optional event_slug for "launch" and "check" commands.
2735
args:
2836
type: string
2937
default: ""
@@ -51,6 +59,16 @@ ethiack-job-manager:
5159
if [ "$[[ inputs.command ]]" = "launch" ] || [ "$[[ inputs.command ]]" = "check" ]; then
5260
if [ -n "$[[ inputs.url ]]" ]; then
5361
COMMAND="$COMMAND $[[ inputs.url ]]"
62+
63+
# Add optional beacon_id if provided
64+
if [ -n "$[[ inputs.beacon_id ]]" ]; then
65+
COMMAND="$COMMAND --beacon-id $[[ inputs.beacon_id ]]"
66+
fi
67+
68+
# Add optional event_slug if provided
69+
if [ -n "$[[ inputs.event_slug ]]" ]; then
70+
COMMAND="$COMMAND --event-slug $[[ inputs.event_slug ]]"
71+
fi
5472
else
5573
echo "Error: URL is required for the $[[ inputs.command ]] command."
5674
exit 1

0 commit comments

Comments
 (0)