Skip to content

Latest commit

 

History

History

shell-script

Bash Script

This example shows how to execute a bash script with Qovery Lifecycle Job.

How to use

Locally

To test locally, you can run the following commands:

docker build -t shell-script .
docker run shell-script create-environment.sh

Qovery

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"]