Scrub 'contrib'
This commit is contained in:
parent
ad53194601
commit
2a7645cb0f
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/contrib/git-sync",
|
"ImportPath": "k8s.io/git-sync",
|
||||||
"GoVersion": "go1.5",
|
"GoVersion": "go1.5",
|
||||||
"Packages": [
|
"Packages": [
|
||||||
"./..."
|
"./..."
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,4 @@ docker run -d GIT_SYNC_REPO=https://github.com/GoogleCloudPlatform/kubernetes GI
|
||||||
docker run -d -p 8080:80 -v /git-data:/usr/share/nginx/html nginx
|
docker run -d -p 8080:80 -v /git-data:/usr/share/nginx/html nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
|
|
||||||
|
|
@ -30,4 +30,4 @@ kubectl services create config/pod.html
|
||||||
Open the service external ip in your browser
|
Open the service external ip in your browser
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,4 @@ title = "about"
|
||||||
Some content about the blog.
|
Some content about the blog.
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,4 @@ title = "first"
|
||||||
This is the first post.
|
This is the first post.
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ spec:
|
||||||
mountPath: /dest
|
mountPath: /dest
|
||||||
env:
|
env:
|
||||||
- name: HUGO_SRC
|
- name: HUGO_SRC
|
||||||
value: /src/contrib/git-sync/demo/blog
|
value: /src/git-sync/demo/blog
|
||||||
- name: HUGO_BUILD_DRAFT
|
- name: HUGO_BUILD_DRAFT
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: HUGO_BASE_URL
|
- name: HUGO_BASE_URL
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,4 @@ docker run -e HUGO_BASE_URL=example.com -v /path/to/md:/src -v /path/to/html:/de
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
|
|
||||||
2
main.go
2
main.go
|
|
@ -16,7 +16,7 @@ limitations under the License.
|
||||||
|
|
||||||
// git-sync is a command that pull a git repository to a local directory.
|
// git-sync is a command that pull a git repository to a local directory.
|
||||||
|
|
||||||
package main // import "k8s.io/contrib/git-sync"
|
package main // import "k8s.io/git-sync"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue