From e049ea92675dea9f898f579949931bcdccb36998 Mon Sep 17 00:00:00 2001 From: Navid Shaikh Date: Wed, 26 Feb 2020 12:37:50 +0530 Subject: [PATCH] Disable markdown link check and enable presubmit test fail fast (#685) sets `DISABLE_MD_LINK_CHECK=1` and `PRESUBMIT_TEST_FAIL_FAST=1` --- docs/README.md | 4 ++-- test/presubmit-tests.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 7d346cf7e..fdfeb8be1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -31,8 +31,8 @@ You'll need a `kubectl`-style config file to connect to your cluster. * Instructions for Google [GKE](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl) * Instructions for Amazon [EKS](https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html) * Instructions for IBM [IKS](https://cloud.ibm.com/docs/containers?topic=containers-getting-started) - * Instructions for Red Hat [OpenShift](https://docs.openshift.com/container-platform/4.1/cli_reference/administrator-cli-commands.html#create-kubeconfig). - * Or contact your cluster administrator. + * Instructions for Red Hat [OpenShift](https://docs.openshift.com/container-platform/4.1/cli_reference/administrator-cli-commands.html#create-kubeconfig) + * Or contact your cluster administrator `kn` will pick up your `kubectl` config file in the default location of `$HOME/.kube/config`. You can specify an alternate kubeconfig connection file with `--kubeconfig`, or the env var `$KUBECONFIG`, for any command. diff --git a/test/presubmit-tests.sh b/test/presubmit-tests.sh index 408275bd6..e63728830 100755 --- a/test/presubmit-tests.sh +++ b/test/presubmit-tests.sh @@ -32,6 +32,9 @@ # Serving / Eventing of this specific version. export DISABLE_MD_LINTING=1 +# TODO: Enable markdown link check as https://github.com/raviqqe/liche/issues/33 is fixed +export DISABLE_MD_LINK_CHECK=1 +export PRESUBMIT_TEST_FAIL_FAST=1 export GO111MODULE=on export KNATIVE_SERVING_VERSION=${KNATIVE_SERVING_VERSION:-latest}