Merge pull request #4463 from kubernetes/release-1.4-patch

prevent bot indexing in v1.4 docs
This commit is contained in:
Andrew Chen
2017-07-24 16:12:31 -07:00
committed by GitHub
3 changed files with 14 additions and 1 deletions
+9 -1
View File
@@ -1,13 +1,21 @@
language: go
go:
- 1.6.2
- 1.8.1
# Don't want default ./... here:
install:
- export PATH=$GOPATH/bin:$PATH
- mkdir -p $HOME/gopath/src/k8s.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/kubernetes.github.io
# (1) Fetch dependencies for us to run the tests in test/examples_test.go
- go get -t -v k8s.io/kubernetes.github.io/test
# Simplified deduplication of dependencies.
- cp -L -R $GOPATH/src/k8s.io/kubernetes/vendor/ $GOPATH/src/
- rm -r $GOPATH/src/k8s.io/kubernetes/vendor/
# (2) Fetch md-check along with all its dependencies.
- git clone --depth=50 --branch=master https://github.com/kubernetes/md-check $HOME/gopath/src/k8s.io/md-check
- go get -t -v k8s.io/md-check
+2
View File
@@ -30,3 +30,5 @@ permalink: pretty
gems:
- jekyll-redirect-from
include: [_headers]
+3
View File
@@ -0,0 +1,3 @@
# Prevent bots from indexing site
/*
X-Robots-Tag: noindex