-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
68 lines (45 loc) · 936 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# DC/OS CLI Tunnel Subcommand
A DC/OS CLI subcommand that provides SOCKS proxy, HTTP proxy, and VPN access
to your DC/OS cluster.
This is **NOT** meant as a standalone but as an _installable subcommand_ through
the _DC/OS Universe_.
## Development Setup
Clone the git repo:
```
git clone git@github.com:dcos/dcos-tunnel.git
```
Change directory to the repo directory:
```
cd dcos-tunnel
```
Make sure that you have python `virtualenv` installed.
Create a virtualenv for the project:
```
make env
```
Try it out with:
```
./env/bin/dcos-tunnel
```
The VPN container lives at [https://github.com/dcos/dcos-cli-vpn](https://github.com/dcos/dcos-cli-vpn)
### Binary
```
make binary
```
Run it with:
```
./dist/dcos-tunnel
```
### Running Tests
Syntax check:
```
make test
```
Syntax check + Integration test:
```
sudo make test-binary
```
Single Integration test:
```
sudo make test-binary-debug test=<test_name>
```