Welcome to Chauffeur, deliverying changes to your Umbraco environment in style.
Aliases: d
This is the main Deliverable you’ll likely use, it’s the one that you can run from a Continuous Delivery pipeline. It looks for files that match the *.delivery
path in the Chauffeur folder and then runs each step within them. Once a file has been run it will be tracked in the Chauffeur tracking table so it won’t be run again on that environment.
While you can run this from the Chauffeur shell you’re more likely to run it from the CLI.
umbraco> delivery
This will work out what files haven’t been executed previously and run them in sequence.
A Delivery file is a file that contains a number of Deliverable steps to execute. This an example of one that will setup the database and then change the admin password:
## Install the database
install y
## Change the password
user change-password admin mySecretPassword!1
You can put comments in the file if you prefix the line with ##
Sometimes you might want to pass parameters into a Deliverable, for example, the admin user password (you don’t want that in source control do you!). To do this you can place a token that starts and ends with $
, making it look like this:
## Install the database
install y
## Change the password
user change-password admin $adminpwd$
Now you can pass those into Chauffeur when it starts:
PS> Chauffeur.Runner.exe delivery -p:adminpwd=mySecretPassword!1
Chauffeur will also inject a couple of parameters for you: