-
Notifications
You must be signed in to change notification settings - Fork 43
Execution
The syntax for running drop kick is:
dk.exe [command] [/argument:value [/argument:value]] [--switch [--switch]]
##Commands
[trace|verify|execute]
do a fake run of the deployment without affecting system.
Verifies you settings and deployments is correctly configured.
perform the deployment.
[environment|roles|settings|deployment]
DK expects you to pass in the environment name you are targeting. This is core to setting up what settings files and servermaps it will be looking for when executing. If you pass in LOCAL
, it will start to look for LOCAL.js
and LOCAL.servermaps
.
/environment:LOCAL
Defaults to LOCAL
.
The name of the role or roles you want to deploy.
/roles:Web,Host
Defaults to all roles.
Path to the directory containing the settings files.
/settings:..\settings
Defaults to .\settings
relative to the current working directory.
The assembly or class to use for the deployment.
/deployment:..\deploys\somename.deployment.dll
Defaults to Deployment.dll
seated next to dk.exe, not the current working directory. (NOTE: We have talked about changing this behavior to scan the current directory instead of dk.exe directory)
Examples
- SomeName.Deployment.dll (path to the assembly containing your deployment class)
- OR SomeName.Deployment.StandardDepoy (a classname, lack of .dll)
[silent]
Unattended installation (this is a new feature, so some tasks may not yet adhere to it)
--silent
dk.exe execute
The above deploys all roles of Deployment.dll
(seated next to dk.exe) to the LOCAL
environment looking for .\settings\LOCAL.servermaps
and .\settings\LOCAL.js
.
dk.exe execute /deployment:..\deployments\somename.deployment.dll /environment:TEST /settings:..\settings /roles:Web,Host
This deploys just the Web,Host
roles of somename.deployment.dll
to the TEST
environment looking for ..\settings\TEST.servermaps
and ..\settings\TEST.js
.
dk.exe execute /environment:DEV --silent
The above silently deploys all roles of Deployment.dll
(seated next to dk.exe) to the DEV
environment looking for .\settings\DEV.servermaps
and .\settings\DEV.js
.
You can also run dk /? for current help settings.