From ee2228c5fcf79cc3a67984a9f583154e5ff12db1 Mon Sep 17 00:00:00 2001 From: jregan Date: Thu, 14 May 2020 19:44:21 -0700 Subject: [PATCH] Test kustomize examples against head in prow presubmit. --- Makefile | 1 + examples/helloWorld/README.md | 4 ++-- examples/ldap/README.md | 4 ++-- examples/valueAdd.md | 3 ++- examples/zh/helloWorld.md | 4 ++-- examples/zh/ldap.md | 4 ++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index d9f9e182d..e129e10be 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,7 @@ verify-kustomize: \ prow-presubmit-check: \ lint-kustomize \ test-unit-kustomize-all \ + test-examples-kustomize-against-HEAD \ test-unit-cmd-all \ test-go-mod diff --git a/examples/helloWorld/README.md b/examples/helloWorld/README.md index 4e5819d76..b318353db 100644 --- a/examples/helloWorld/README.md +++ b/examples/helloWorld/README.md @@ -57,7 +57,7 @@ curl -s -o "$BASE/#1.yaml" "https://raw.githubusercontent.com\ Look at the directory: - + ``` tree $DEMO_HOME ``` @@ -228,7 +228,7 @@ EOF Review the directory structure and differences: - + ``` tree $DEMO_HOME ``` diff --git a/examples/ldap/README.md b/examples/ldap/README.md index 3e529d42d..443094430 100644 --- a/examples/ldap/README.md +++ b/examples/ldap/README.md @@ -53,7 +53,7 @@ curl -s -o "$BASE/#1" "$CONTENT/base\ Look at the directory: - + ``` tree $DEMO_HOME ``` @@ -196,7 +196,7 @@ The production customization adds 6 replica as well as a consistent disk. Review the directory structure and differences: - + ``` tree $DEMO_HOME ``` diff --git a/examples/valueAdd.md b/examples/valueAdd.md index cf237a881..134d50e04 100644 --- a/examples/valueAdd.md +++ b/examples/valueAdd.md @@ -289,10 +289,11 @@ EOF The layout is now: - + ``` tree $DEMO_HOME ``` + It should look like: > ``` diff --git a/examples/zh/helloWorld.md b/examples/zh/helloWorld.md index e4a259313..16df23fdb 100644 --- a/examples/zh/helloWorld.md +++ b/examples/zh/helloWorld.md @@ -51,7 +51,7 @@ curl -s -o "$BASE/#1.yaml" "https://raw.githubusercontent.com\ 观察该目录: - + ``` tree $DEMO_HOME ``` @@ -210,7 +210,7 @@ EOF 查看目录结构和差异: - + ``` tree $DEMO_HOME ``` diff --git a/examples/zh/ldap.md b/examples/zh/ldap.md index 956139e33..c8fd2f912 100644 --- a/examples/zh/ldap.md +++ b/examples/zh/ldap.md @@ -49,7 +49,7 @@ curl -s -o "$BASE/#1" "$CONTENT/base\ 检查这个目录: - + ``` tree $DEMO_HOME ``` @@ -185,7 +185,7 @@ curl -s -o "$OVERLAYS/production/#1" "$CONTENT/overlays/production\ 查看目录结构和差异: - + ``` tree $DEMO_HOME ```