firmament-bash
Version:
Firmament module for interpreting commands in JSON files using bash
63 lines (62 loc) • 2.03 kB
JSON
{
"description" : "Install latest chrome on Ubuntu-16.04",
"options" : {
"displayExecutionGraphDescription": true
},
"asynchronousCommands" : [
{
"description" : "[sudo] Add Chrome linux signing key",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"outputColor" : "",
"useSudo" : true,
"command" : "/usr/bin/env",
"args" : [
"bash",
"-c",
"curl https://dl.google.com/linux/linux_signing_key.pub | apt-key add -"
]
},
{
"description" : "[sudo] Add Chrome sources",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"outputColor" : "",
"useSudo" : true,
"command" : "/usr/bin/env",
"args" : [
"bash",
"-c",
"echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' >> /etc/apt/sources.list"
]
}
],
"serialSynchronizedCommands": [
{
"description" : "[sudo] apt-get update",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"useSudo" : true,
"command" : "apt-get",
"args" : [
"update"
]
},
{
"description" : "apt-get install google-chrome-stable",
"suppressOutput" : false,
"suppressDiagnostics": true,
"showPreAndPostSpawnMessages": true,
"useSudo" : true,
"command" : "apt-get",
"args" : [
"install",
"-y",
"google-chrome-stable"
]
}
]
}