refactor: remove unused example service from automations.yaml
This commit is contained in:
@@ -7,31 +7,3 @@ tasks:
|
|||||||
- manual
|
- manual
|
||||||
# - postEnvironmentStart
|
# - postEnvironmentStart
|
||||||
# - postDevcontainerStart
|
# - postDevcontainerStart
|
||||||
|
|
||||||
services:
|
|
||||||
example-service:
|
|
||||||
name: Example Service
|
|
||||||
description: Example service simulating a backend
|
|
||||||
commands:
|
|
||||||
start: |
|
|
||||||
echo "Starting backend service..."
|
|
||||||
touch /tmp/backend.started
|
|
||||||
while true; do
|
|
||||||
sleep 1
|
|
||||||
date
|
|
||||||
done
|
|
||||||
ready: |
|
|
||||||
if [ -f /tmp/backend.started ]; then
|
|
||||||
echo "Backend service is ready"
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "Backend service is not ready"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# stop: |
|
|
||||||
# echo "Stopping backend service..."
|
|
||||||
# rm /tmp/backend.started
|
|
||||||
# pkill backend
|
|
||||||
triggeredBy:
|
|
||||||
- postEnvironmentStart
|
|
||||||
# - postDevcontainerStart
|
|
||||||
|
|||||||
Reference in New Issue
Block a user