-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
As a developer I want to deploy my application on an environment, should it be local or remote, be able to synchronize the files I have in local and the ones on the remote environment.
Commands to add:
-
environment:initAsks questions about the location (server/directory) of the remote environment, environment variables to set and writes them inside a.kloud.environment.yamlfile in the local workspace. -
environment:deployintegrates https://deployer.org to deploy the application in the remote environment:- rsync the sources
- build the Docker infrastructure through
docker-compose up --no-start
-
environment:destroythat integrates https://deployer.org to destroy the application in the remote environment:- destroy the Docker infrastructure through
docker-compose downand delete the appropriate persistent volumes - delete the sources and the directory
- destroy the Docker infrastructure through
-
environment:startthat integrates https://deployer.org to start the application in the remote environment, should fail if the application wasn't previously deployed -
environment:stopthat integrates https://deployer.org to stop the application in the remote environment, should fail if the application wasn't previously deployed -
environemnt:cache:clearthat integrates https://deployer.org to clear the application caches and restart the FPM servcie(s) -
environment:rsyncthat synchronizes the local and remote sources (in case you switched from git branches) -
environment:database:dumpthat dumps the database in the current state -
environment:database:loadthat loads a database dump -
environment:variable:getthat prints the value of an environment variable -
environment:variable:setthat changes the value of an environment variable -
environment:variable:listthat prints the values of all environment variables -
environment:variable:unsetthat unsets an environment variable -
environment:proxythat proxies a port in the stack to a local port (especially for Xdebug and database accesses) -
environment:shellthat opens a shell in a node of the execution environment (be itsh,sh-xdebugorsqlnodes)
Metadata
Metadata
Assignees
Labels
No labels