File tree Expand file tree Collapse file tree 5 files changed +102
-0
lines changed
Expand file tree Collapse file tree 5 files changed +102
-0
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,18 @@ language: android
33
44android :
55 components :
6+ - tools
7+ - platform-tools
68 - build-tools-22.0.1
79 - android-22
810 - extra-google-m2repository
911 - extra-android-m2repository
12+ addons :
13+ apt_packages :
14+ - pandoc
15+
1016script : ./gradlew build
17+
18+ after_script :
19+ - for f in "websockets-example/build/outputs/lint-results*.html"; do pandoc $f -t plain; done
20+ - for f in "websockets-rxjava-example/build/outputs/lint-results*.html"; do pandoc $f -t plain; done
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ docker build -t jacekmarchwicki/rx-websocket-server:v1 .
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : frontend
5+ labels :
6+ name : frontend
7+ spec :
8+ ports :
9+ - port : 8080
10+ selector :
11+ name : frontend
12+ ---
13+ kind : Service
14+ apiVersion : v1
15+ metadata :
16+ name : nginx-ssl-proxy
17+ labels :
18+ name : nginx-ssl-proxy
19+ spec :
20+ type : LoadBalancer
21+ ports :
22+ - name : https
23+ port : 443
24+ targetPort : ssl-proxy-https
25+ protocol : TCP
26+ - name : http
27+ port : 80
28+ targetPort : ssl-proxy-http
29+ protocol : TCP
30+ selector :
31+ name : nginx-ssl-proxy
32+ ---
33+ apiVersion : v1
34+ kind : ReplicationController
35+ metadata :
36+ name : frontend
37+ spec :
38+ replicas : 1
39+ template :
40+ metadata :
41+ labels :
42+ name : frontend
43+ spec :
44+ containers :
45+ - name : rxserver
46+ image : gcr.io/rx-websockets/rx-server:v2
47+ command :
48+ - sh
49+ - -c
50+ - websockets-server --host rxserver --port 8080 --stdio
51+ resources :
52+ requests :
53+ cpu : 100m
54+ memory : 100Mi
55+ ports :
56+ - containerPort : 8080
57+ ---
58+ kind : ReplicationController
59+ apiVersion : v1
60+ metadata :
61+ name : nginx-ssl-proxy
62+ spec :
63+ replicas : 1
64+ template :
65+ metadata :
66+ labels :
67+ name : nginx-ssl-proxy
68+ spec :
69+ containers :
70+ - name : nginx-ssl-proxy
71+ image : gcr.io/cloud-solutions-images/nginx-ssl-proxy
72+ command :
73+ - /bin/bash
74+ - /usr/bin/start.sh
75+ env :
76+ - name : TARGET_SERVICE
77+ value : ' frontend:8080'
78+ - name : ENABLE_SSL
79+ value : ' false'
80+ - name : ENABLE_BASIC_AUTH
81+ value : ' false'
82+ ports :
83+ - name : ssl-proxy-http
84+ containerPort : 80
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ docker run --rm --tty --interactive -p 8080:8080 jacekmarchwicki/rx-websocket-server:v1
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ docker push jacekmarchwicki/rx-websocket-server:v1
You can’t perform that action at this time.
0 commit comments