Skip to content

Commit 40690c8

Browse files
authored
Merge pull request #4 from ethiack/staging
Staging
2 parents 2608d24 + 8978173 commit 40690c8

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.1.0-rc.1](https://github.com/ethiack/gitlab-cicd-component/compare/1.0.0...1.1.0-rc.1) (2025-04-08)
2+
3+
### 🚀 Features
4+
5+
* add Beacon and Multi-Event capabilities ([#3](https://github.com/ethiack/gitlab-cicd-component/issues/3)) ([4fb1fd4](https://github.com/ethiack/gitlab-cicd-component/commit/4fb1fd4f45aa985b4aa9c40230ea6e988e665ffa))
6+
17
## [1.0.0](https://github.com/ethiack/gitlab-cicd-component/compare/...1.0.0) (2024-02-02)
28

39

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)