File tree Expand file tree Collapse file tree 5 files changed +976
-78
lines changed Expand file tree Collapse file tree 5 files changed +976
-78
lines changed Original file line number Diff line number Diff line change 1
- Note: These tests are importing code from kubernetes that isn't really
2
- meant to be used outside the repo. This causes vendoring problems. As
3
- a result, we have to work around those with these lines in the travis
4
- config:
1
+ To run the tests for a localization, use the following command:
5
2
6
3
```
7
- - rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
8
- - rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
9
- - rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
10
- - cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
11
- - rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
12
- - cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/
4
+ go test k8s.io/website/content/<lang>/examples
13
5
```
6
+
7
+ where ` <lang> ` is the two character representation of a language. For example:
8
+
9
+ ```
10
+ go test k8s.io/website/content/en/examples
11
+ ```
12
+
Original file line number Diff line number Diff line change 22
22
cpu : 500m
23
23
requests :
24
24
cpu : 200m
25
-
26
25
---
27
-
28
26
apiVersion : v1
29
27
kind : Service
30
28
metadata :
36
34
- port : 80
37
35
selector :
38
36
run : php-apache
39
-
You can’t perform that action at this time.
0 commit comments