conan_deploy_stackato3 0.1.17 → 0.1.18
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 +8 -8
- data/lib/conan/deployment.rb +13 -7
- data/lib/conan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NjNjNDI1ZTE3ZjJlYmRiYTYzZWVmMzgzZDk0N2RkOTAyNzYzYzQzZA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZmM1MjZlMmMyYWViZjZjOGFlYWYzNDI0MGM2ZjUzMzEyMjcwNmM0MA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWRjYzRmNjUwNDY1NzA2MWMzNThiNjY5YzljYTJiNzJjMDRmNjI0ZjlkZjEw
|
|
10
|
+
MWJhZGI2ZDJiODRlMjQ4NGE3N2M0ZWY0OWY2YTJmNmExZmZkMzBhNzAxMGRj
|
|
11
|
+
NmRiZDVmM2M3Njc1Y2Y5NmU4NDU1N2Y1OGVhZGFjZmMwY2YyZmI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MTM5YWUyNDU1MjhmMDRlMGU3YzdjOGIxMDZjYmQ2MzhiMThiOTc5MmExZjI2
|
|
14
|
+
ODUzMjYxMmJhYjgzYWI3MjU0OGM5YTI4ZjZkMjFhZWU2ZDA2ZTM0MWI3NjY2
|
|
15
|
+
ZDVmZjAzOGEwNWUxYjc4ZTJjYzkyM2RmNGZlMTQ5YmZjMGQwYTU=
|
data/lib/conan/deployment.rb
CHANGED
|
@@ -49,24 +49,30 @@ class Deployment < HasOptions
|
|
|
49
49
|
"#{name(app)}-#{@randomid}"
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
def
|
|
52
|
+
def dns_names(app)
|
|
53
53
|
if @ship == "central"
|
|
54
|
-
"#{@environment.id}-#{app.url_segment}.paasv2.#{@ship}.#{@org}.mtnsatcloud.com"
|
|
54
|
+
[ "#{@environment.id}-#{app.url_segment}.paasv2.#{@ship}.#{@org}.mtnsatcloud.com",
|
|
55
|
+
"#{@environment.id}.#{app.url_segment}.#{@ship}.#{@org}.mtnsatcloud.com" ]
|
|
55
56
|
else
|
|
56
|
-
"#{app.url_segment}.#{@ship}.#{@org}.mtnsatcloud.com"
|
|
57
|
+
[ "#{app.url_segment}.#{@ship}.#{@org}.mtnsatcloud.com" ]
|
|
57
58
|
end
|
|
58
59
|
end
|
|
59
60
|
|
|
60
|
-
def
|
|
61
|
+
def dns_name(app)
|
|
62
|
+
dns_names(app)[0]
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def agnostic_dns_names(app)
|
|
61
66
|
if @ship == "central"
|
|
62
|
-
"#{@environment.id}.#{app.url_segment}.mtnsat.io"
|
|
67
|
+
[ "#{@environment.id}.#{app.url_segment}.mtnsat.io",
|
|
68
|
+
"#{@environment.id}.#{app.url_segment}.mtnsatcloud.com" ]
|
|
63
69
|
else
|
|
64
|
-
"#{app.url_segment}.mtnsat.io"
|
|
70
|
+
[ "#{app.url_segment}.mtnsat.io" ]
|
|
65
71
|
end
|
|
66
72
|
end
|
|
67
73
|
|
|
68
74
|
def active_urls(app)
|
|
69
|
-
|
|
75
|
+
dns_names(app) + agnostic_dns_names(app) + @additional_mappings
|
|
70
76
|
end
|
|
71
77
|
|
|
72
78
|
def inactive_urls(app)
|
data/lib/conan/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: conan_deploy_stackato3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Reardon
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: daphne_util
|