Skip to content

Instantly share code, notes, and snippets.

@indykish
Created October 22, 2015 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indykish/fcef594257e6b2a71e92 to your computer and use it in GitHub Desktop.
Save indykish/fcef594257e6b2a71e92 to your computer and use it in GitHub Desktop.
The declarative directive of megam cloud component json which illustrates launch of an app (php) in git based on CAMP/TOSCA specification.
{
"id":"COM1266309531965718528",
"name":"babyhood",
"tosca_type":"tosca.app.php",
"inputs":[
{
"key":"domain",
"value":"megambox.com"
},
{
"key":"version",
"value":"5.x"
}
],
"outputs":[
],
"artifacts":{
"artifact_type":"",
"content":"",
"requirements":[
]
},
"related_components":[
],
"operations":[
{
"operation_type":"CI",
"description":"Continous Integration",
"properties":[
{
"key":"type",
"value":"github"
},
{
"key":"token",
"value":"ec89f7dd750473f9d338193f8a24c01fa357828b"
},
{
"key":"username",
"value":"ranjithamca"
}
]
}
],
"status":"LAUNCHING",
"repo":{
"rtype":"source",
"source":"github",
"oneclick":"null",
"url":"https://secure.php.net/"
},
"created_at":"2015-10-15 05:12:13 +0000"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment