Skip to content
This repository

DropkicK Execution

The syntax for running drop kick is:

dk.exe [command] [/argument:value [/argument:value]] [--switch [--switch]]

Commands

[trace|verify|execute]

trace (default)

do a fake run of the deployment without affecting system.

verify

Verifies you settings and deployments is correctly configured.

execute

perform the deployment.

Arguments

[environment|roles|settings|deployment]

environment

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.

roles

The name of the role or roles you want to deploy.
/roles:Web,Host
Defaults to all roles.

settings

Path to the directory containing the settings files.
/settings:..\settings
Defaults to .\settings relative to the current working directory.

deployment

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)

Switches

[silent]

Silent

Unattended installation (this is a new feature, so some tasks may not yet adhere to it)
--silent

Examples

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.

Something went wrong with that request. Please try again.