sct 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/sct/lib/sct/version.rb +1 -1
- data/shell/lib/shell/docker/php.rb +11 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bccdad524c4eddc87b2e6a51f77bdedbcf455753db1b12e6a111cca020c72ea4
|
4
|
+
data.tar.gz: 85f7cc6150fb7257b847be14c9778ccfd4e47a1e473671a859acad3a10323684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06e991dfc21f3bb3de82b55269c0c34bd2ba3997eae02a7e8d153f15a69116c6d2426439b1cd12105a60a36aad65236a3aa940cec75d00d37f6919a3f614440c
|
7
|
+
data.tar.gz: 5aea270e858e20f34ce1aaa97d21ea050e81d682c186affaf5a1985162ae095c1d15f19deac4d8566a0ec331b8bc005ff5c32bf8bf4b248f3a91c3c6f74038bd
|
data/sct/lib/sct/version.rb
CHANGED
@@ -13,12 +13,20 @@ module Shell
|
|
13
13
|
self.set_pwd_as_volume("/var/www")
|
14
14
|
self.set_current_user_and_group
|
15
15
|
self.set_entrypoint("php")
|
16
|
-
self.set_environment_variables(
|
16
|
+
self.set_environment_variables(self.get_environment_variables)
|
17
17
|
end
|
18
18
|
|
19
|
-
def self.
|
20
|
-
service_names = %w[mysql-service redis-service]
|
19
|
+
def self.get_environment_variables
|
21
20
|
environment_variables = {}
|
21
|
+
environment_variables.store("ENVIRONMENT", "local")
|
22
|
+
|
23
|
+
environment_variables = self.add_service_ip_and_port(environment_variables)
|
24
|
+
|
25
|
+
return environment_variables
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.add_service_ip_and_port(environment_variables)
|
29
|
+
service_names = %w[mysql-service redis-service]
|
22
30
|
|
23
31
|
minikube_status
|
24
32
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reshad Farid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored
|