forked from d2iq-archive/universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
103 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"python": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"pip": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"title": "Embedded Requirements File", | ||
"description": "An array of strings representing of the requirements file to use for installing the subcommand for Pip. Each item is interpreted as a line in the requirements file." | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": ["pip"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"pip": [ | ||
"http://downloads.mesosphere.io/dcos-cli/{{helloworld/secret}}/dcos-0.1.0-py2.py3-none-any.whl", | ||
"git+https://github.com/mesosphere/dcos-helloworld.git#dcos-helloworld=0.1.0" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object", | ||
"properties": { | ||
"helloworld/secret": { | ||
"type": "string", | ||
"title": "Install Secret", | ||
"description": "The temporary secret needed to download and install the DCOS CLI packages" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ "helloworld/secret" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"id": "helloworld", | ||
"cpus": 1.0, | ||
"mem": 512, | ||
"instances": 1, | ||
"cmd": "python3 -m http.server 8080", | ||
"container": { | ||
"type": "DOCKER", | ||
"docker": { | ||
"image": "python/3.4.3", | ||
"network": "HOST" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "helloworld", | ||
"version": "0.1.0", | ||
"website": "https://github.com/mesosphere/dcos-helloworld", | ||
"maintainer": "[email protected]", | ||
"description": "Example DCOS application package", | ||
"tags": [ "mesosphere", "example", "subcommand" ] | ||
} |