UPDATED devcontainer configuration to enable VS CODE WEB development
This commit is contained in:
37
.gitpod/automations.yaml
Normal file
37
.gitpod/automations.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
tasks:
|
||||
hello:
|
||||
name: Hello World
|
||||
command: |
|
||||
echo "Hello, World!"
|
||||
triggeredBy:
|
||||
- manual
|
||||
# - postEnvironmentStart
|
||||
# - 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