mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-12 16:43:42 +00:00

- No external dependencies - No predefined directory structure - Able to launch any kind of shell script with custom parameters - Get script output as text event stream (SSE) - Using common Makefiles - Extends docker/dind Docker image
19 lines
250 B
Bash
Executable File
19 lines
250 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Running test script..."
|
|
|
|
echo "Environment parameters:"
|
|
echo "firstname: $firstname"
|
|
echo "lastname: $lastname"
|
|
|
|
echo "Script parameters: $1"
|
|
|
|
for i in {1..5}; do
|
|
sleep .5
|
|
echo "running..."
|
|
done
|
|
|
|
echo "Expected error."
|
|
|
|
exit 1
|