rubypitaya 2.7.1 → 2.7.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0801956a1c2919b56c0346bfc1c8c1838960a918534e8a1d1c568187a08684cb'
|
|
4
|
+
data.tar.gz: 1875aaca3ac03c385558cfb491a020c68765e8342cf11f792ccbcc181f555357
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a2171a45a971cdebe47f4616c2332af0775f0519b579b16895c2321062bbbff277d9ac7d331348a0b47aa08ab4b8fbc99dc73edee309beb4ecb25b541e8185e
|
|
7
|
+
data.tar.gz: f6d3aa355d457b67c177e44ca67403797c2843c23e1d63b1e5eb53d49bc14bc11af011aee87b1484526599069bb40cac55c332f12d3104a2be7292be86e6e149
|
|
@@ -69,7 +69,7 @@ GEM
|
|
|
69
69
|
rspec-support (~> 3.8.0)
|
|
70
70
|
rspec-support (3.8.3)
|
|
71
71
|
ruby2_keywords (0.0.2)
|
|
72
|
-
rubypitaya (2.7.
|
|
72
|
+
rubypitaya (2.7.3)
|
|
73
73
|
activerecord (= 6.0.2)
|
|
74
74
|
etcdv3 (= 0.10.2)
|
|
75
75
|
eventmachine (= 1.2.7)
|
|
@@ -106,7 +106,7 @@ DEPENDENCIES
|
|
|
106
106
|
listen (= 3.2.1)
|
|
107
107
|
pry (= 0.12.2)
|
|
108
108
|
rspec (= 3.8.0)
|
|
109
|
-
rubypitaya (= 2.7.
|
|
109
|
+
rubypitaya (= 2.7.3)
|
|
110
110
|
|
|
111
111
|
BUNDLED WITH
|
|
112
112
|
1.17.2
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
IMAGE_TAG ?= latest
|
|
2
|
+
IMAGE_REGISTRY ?= [put-your-registry-here]
|
|
3
|
+
KUBE_NAMESPACE ?= [put-your-namespace-here]
|
|
4
|
+
KUBE_DEPLOYMENT_SERVER ?= rubypitaya
|
|
5
|
+
|
|
1
6
|
## Run ruby pitaya metagame project
|
|
2
7
|
run:
|
|
3
8
|
@docker-compose run --service-ports --rm rubypitaya bundle exec rubypitaya run
|
|
@@ -48,15 +53,15 @@ generate-gemfilelock:
|
|
|
48
53
|
|
|
49
54
|
## Build image to production environment
|
|
50
55
|
prod-build-image:
|
|
51
|
-
@docker build . -f docker/prod/Dockerfile -t
|
|
56
|
+
@docker build . -f docker/prod/Dockerfile -t $(IMAGE_REGISTRY):$(IMAGE_TAG)
|
|
52
57
|
|
|
53
58
|
## Push prod image to gitlab
|
|
54
59
|
prod-push-image:
|
|
55
|
-
@docker push
|
|
60
|
+
@docker push $(IMAGE_REGISTRY):$(IMAGE_TAG)
|
|
56
61
|
|
|
57
62
|
## Deploy prod image to kubernetes cluster
|
|
58
63
|
prod-deploy-image:
|
|
59
|
-
kubectl -n $(
|
|
64
|
+
kubectl --context='$(KUBECONTEXT)' -n $(KUBE_NAMESPACE) set image deployment $(KUBE_DEPLOYMENT_SERVER) $(KUBE_DEPLOYMENT_SERVER)=$(IMAGE_REGISTRY):$(IMAGE_TAG)
|
|
60
65
|
|
|
61
66
|
.DEFAULT_GOAL := show-help
|
|
62
67
|
|
|
@@ -98,6 +103,3 @@ show-help:
|
|
|
98
103
|
} \
|
|
99
104
|
printf "\n"; \
|
|
100
105
|
}'
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
data/lib/rubypitaya/core/main.rb
CHANGED
|
@@ -8,6 +8,7 @@ require 'rubypitaya/core/config'
|
|
|
8
8
|
require 'rubypitaya/core/session'
|
|
9
9
|
require 'rubypitaya/core/postman'
|
|
10
10
|
require 'rubypitaya/core/parameters'
|
|
11
|
+
require 'rubypitaya/core/http_routes'
|
|
11
12
|
require 'rubypitaya/core/routes_base'
|
|
12
13
|
require 'rubypitaya/core/status_codes'
|
|
13
14
|
require 'rubypitaya/core/handler_router'
|
data/lib/rubypitaya/version.rb
CHANGED