This example shows how to execute a bash script with Qovery Lifecycle Job.
To test locally, you can run the following commands:
docker build -t shell-script .
docker run shell-script create-environment.sh
To use it on Qovery, set up the CMD Arguments to:
For environment start event:
["create-environment.sh"]
For environment stop event:
["stop-environment.sh"]
For environment delete event:
["delete-environment.sh"]