firmament-bash
Version:
Firmament module for interpreting commands in JSON files using bash
112 lines (110 loc) • 3.74 kB
JSON
{
"description" : "Install Newman 3.x on Ubuntu 16.x based Linux (Step 2)",
"prerequisiteGraphUri" : "install-newman3-02.json",
"options" : {
"displayExecutionGraphDescription": true
},
"asynchronousCommands" : [
{
"description" : "docker load -i /var/tmp/newman_docker_apertium.tar",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"outputColor" : "",
"useSudo" : true,
"command" : "docker",
"args" : [
"load",
"-i",
"/var/tmp/newman_docker_apertium.tar"
]
},
{
"description" : "docker load -i /var/tmp/newman_docker_couchdb_offline_tiles.tar",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"outputColor" : "",
"useSudo" : true,
"command" : "docker",
"args" : [
"load",
"-i",
"/var/tmp/newman_docker_couchdb_offline_tiles.tar"
]
},
{
"description" : "docker load -i /var/tmp/newman_docker_geo_utils.tar",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"outputColor" : "",
"useSudo" : true,
"command" : "docker",
"args" : [
"load",
"-i",
"/var/tmp/newman_docker_geo_utils.tar"
]
},
{
"description" : "docker load -i /var/tmp/newman_docker_ocr.tar",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"outputColor" : "",
"useSudo" : true,
"command" : "docker",
"args" : [
"load",
"-i",
"/var/tmp/newman_docker_ocr.tar"
]
}
],
"serialSynchronizedCommands": [
{
"description" : "git newman-vm -> /vagrant",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"useSudo" : true,
"sudoUser" : "vagrant",
"command" : "git",
"args" : [
"clone",
"https://github.com/sotera/newman-vm",
"/vagrant"
]
},
{
"description" : "git newman-vm -> /vagrant",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"useSudo" : true,
"sudoUser" : "vagrant",
"command" : "git",
"args" : [
"--work-tree=/vagrant",
"--git-dir=/vagrant/.git",
"checkout",
"v3.x-firmament"
]
},
{
"description" : "chmod +x -R /vagrant",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"useSudo" : true,
"sudoUser" : "vagrant",
"sudoPassword" : "password",
"command" : "bash",
"args" : [
"-c",
"find /vagrant \\( -name \"*.py\" -o -name \"*.sh\" \\) -exec chmod +x {} \\;"
]
}
]
}