marathon_deploy 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/TODO +1 -9
- data/bin/marathon_deploy +1 -0
- data/lib/marathon_deploy/version.rb +1 -1
- metadata +2 -3
- data/input.txt +0 -66
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bcaf91224aa85fcdf139558d0a9b46e77ebe2d6
|
|
4
|
+
data.tar.gz: b49329c3062882104d991d1e2daa37f3fb8b19ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c37bd73039acd741397ad43832058cd7ab2414992d75acf910e18c8bf25e46bef87d3c85e44547f3b732f7a0f0debe7eafdce1b9e5894881555048bd5f00515
|
|
7
|
+
data.tar.gz: 8514f8c1b68168551fbb7f2dd493c759fad92c1908c4755c7095afc2cf3287a272bc1cf71a471a4da084339bd536d5b74bb76bdcefe3b2af25e2263952f51318
|
data/TODO
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
- SLACK notification
|
|
2
2
|
- https://mesosphere.com/blog/2015/04/02/continuous-deployment-with-mesos-marathon-docker/
|
|
3
3
|
- log to database
|
|
4
|
-
|
|
5
|
-
DONE deployment status polling
|
|
6
|
-
- config assembler / generate properties script ?
|
|
7
|
-
DESCOPED read in ENVIRONMENT VARIABLES WITH MARATHON_ and add to deployment json ?
|
|
8
|
-
- inject / replce minimumHealthCapacity is 1, maximumOverCapacity is 1
|
|
9
|
-
DESCOPED custom external ports (must be provided in json)
|
|
10
|
-
DONE read macros %NAME% from yaml/json and verify they are defined
|
|
11
|
-
DONE gem structure / packaging / metadata
|
|
12
|
-
DONE implement noop
|
|
4
|
+
- command line option for deployment-strategy: minimumHealthCapacity / maximumOverCapacity
|
data/bin/marathon_deploy
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: marathon_deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Colby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logger
|
|
@@ -96,7 +96,6 @@ files:
|
|
|
96
96
|
- examples/simple-python-example.yaml
|
|
97
97
|
- examples/testout.json
|
|
98
98
|
- examples/testout.yaml
|
|
99
|
-
- input.txt
|
|
100
99
|
- lib/marathon_deploy.rb
|
|
101
100
|
- lib/marathon_deploy/application.rb
|
|
102
101
|
- lib/marathon_deploy/deployment.rb
|
data/input.txt
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"args": [
|
|
3
|
-
"properties.py && FOO=\"`cat /opt/etc/public-search-germany-webapp-%FIRST_VAR%.properties | grep -v '^\\s*#' | grep -E '.+=.+'`\"; echo $FOO; echo; env $FOO; echo; env %SECOND_VAR%$FOO hostName=$HOSTNAME backend.instance.name=$HOSTNAME java -Dhttp.port=8080 -Dajp.port=8009 -Dinstance.confdir=file:///opt/etc -Dbackend.logdir=$MESOS_SANDBOX -Dlog.rootDir=$MESOS_SANDBOX -DlogDir=$MESOS_SANDBOX $CMD_OPTS -Xmx$JAVA_XMX -Xms$JAVA_XMS -jar $MESOS_SANDBOX/public-search-germany-webapp*.jar"
|
|
4
|
-
],
|
|
5
|
-
"cmd": null,
|
|
6
|
-
"container": {
|
|
7
|
-
"docker": {
|
|
8
|
-
"image": "dockerregistry.mobile.rz/mobile-java8:latest",
|
|
9
|
-
"network": "BRIDGE",
|
|
10
|
-
"portMappings": [
|
|
11
|
-
{
|
|
12
|
-
"containerPort": 8080,
|
|
13
|
-
"hostPort": 0,
|
|
14
|
-
"protocol": "tcp"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"containerPort": 8009,
|
|
18
|
-
"hostPort": 0,
|
|
19
|
-
"protocol": "tcp"
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"type": "DOCKER"
|
|
24
|
-
},
|
|
25
|
-
"cpus": 0.1,
|
|
26
|
-
"env": {
|
|
27
|
-
"APPLICATION_NAME": "public-search-germany-webapp",
|
|
28
|
-
"CMD_OPTS": "",
|
|
29
|
-
"CONFIG_ASSEMBLER_BASE_URL": "http://mobile-config-assembler.service.consul/config-assembler",
|
|
30
|
-
"DATACENTER_NUMBER": "44",
|
|
31
|
-
"JAVA_XMS": "252m",
|
|
32
|
-
"JAVA_XMX": "504m",
|
|
33
|
-
"SERVERCLASS_NAME": "pubse",
|
|
34
|
-
"SERVICE_8009_NAME": "public-search-germany-webapp",
|
|
35
|
-
"SERVICE_8009_TAGS": "ajp",
|
|
36
|
-
"SERVICE_8080_CHECK_SCRIPT": "curl --fail --silent $HOST_IP:%SERVICE_PORT%/fz/release-info",
|
|
37
|
-
"SERVICE_8080_NAME": "public-search-germany-webapp",
|
|
38
|
-
"SERVICE_8080_TAGS": "http,haproxy"
|
|
39
|
-
},
|
|
40
|
-
"healthChecks": [
|
|
41
|
-
{
|
|
42
|
-
"gracePeriodSeconds": 30,
|
|
43
|
-
"intervalSeconds": 10,
|
|
44
|
-
"maxConsecutiveFailures": 3,
|
|
45
|
-
"portIndex": 0,
|
|
46
|
-
"protocol": "TCP",
|
|
47
|
-
"timeoutSeconds": 30
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"gracePeriodSeconds": 30,
|
|
51
|
-
"intervalSeconds": 10,
|
|
52
|
-
"maxConsecutiveFailures": 3,
|
|
53
|
-
"path": "/%CONTEXT%%TRICKY%/release-info",
|
|
54
|
-
"portIndex": 0,
|
|
55
|
-
"protocol": "HTTP",
|
|
56
|
-
"timeoutSeconds": 30
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"id": "public-search-germany-webapp",
|
|
60
|
-
"instances": 4,
|
|
61
|
-
"mem": 512,
|
|
62
|
-
"storeUrls": [
|
|
63
|
-
"http://maven-download.mobile.rz/maven/hosted-mobile-deployment-productive-releases/de/mobile/public-search-germany-webapp/ecs-1558-gb70c745/public-search-germany-webapp-ecs-1558-gb70c745.jar"
|
|
64
|
-
],
|
|
65
|
-
"uris": []
|
|
66
|
-
}
|