Skip to content

Instantly share code, notes, and snippets.

@Dalmirog-zz
Created July 28, 2015 16:09
Show Gist options
  • Select an option

  • Save Dalmirog-zz/9e9a969b9f4f3565d739 to your computer and use it in GitHub Desktop.

Select an option

Save Dalmirog-zz/9e9a969b9f4f3565d739 to your computer and use it in GitHub Desktop.
Example of variables file for Add-OctopusVariables
{
"Variables": [
{
"Name": "Variable1",
"Value": "Valuewow",
"Scope": {
"Environment": [
"Staging"
],
"Machine": [
"Localhost - Development"
],
"Action": [
"1. Deploy"
],
"Role": [
"WebServer"
]
},
"IsSensitive": false,
"IsEditable": true,
"Prompt": null
},
{
"Name": "Variable2",
"Value": null,
"Scope": { },
"IsSensitive": true,
"IsEditable": true,
"Prompt": {
"Label": "Variable 2",
"Description": "The value of variable 2",
"Required": true
}
},
{
"Name": "Variable3",
"Value": "Value3",
"Scope": {
"Environment": [
"Development"
],
"Machine": [
"Localhost - Development"
]
},
"IsSensitive": false,
"IsEditable": true,
"Prompt": null
},
{
"Name": "Variable4",
"Value": "Value of variable 4",
"Scope": {
"Environment": [
"Staging"
],
"Machine": [
"Localhost - Development"
],
"Action": [
"1. Deploy"
],
"Role": [
"WebServer"
]
},
"IsSensitive": false,
"IsEditable": true,
"Prompt": null
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment