website/test
Qiming b855bd1d52 Run tests against the current stable k8s version (#8122)
So far we have been running tests against the master branch of
kubernetes/kubernetes. This is creating quite some problems because the
master branch is always moving. We are actually checking the YAML files
against a version between 1.10 and 1.11.

This PR is attempting to fix the problem by checking out the
'release-1.10' branch before running the tests. We are supposed to
change the branch to be used when release-1.11 is out. With this PR
(hopefully it works), we will only need to fix the gate every time a new
release is out.
2018-04-26 14:05:27 -07:00
..
README.md Fix travis 2017-01-13 13:50:56 -08:00
examples.go Add tests for config files and Travis config. 2016-08-11 09:14:19 -07:00
examples_test.go Run tests against the current stable k8s version (#8122) 2018-04-26 14:05:27 -07:00
glossary_test.go [docs][glossary] Add page that lists all standardized k8s terms (#5657) 2017-10-12 18:12:38 -05:00

README.md

Note: These tests are importing code from kubernetes that isn't really meant to be used outside the repo. This causes vendoring problems. As a result, we have to work around those with these lines in the travis config:

- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
- cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
- rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
- cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/