From ab9b01085658c0375516df48cbe2ce1903c20c00 Mon Sep 17 00:00:00 2001 From: Petr Studeny Date: Tue, 13 Jul 2021 14:34:50 +0200 Subject: [PATCH] fix: Allow custom MYGOBIN in mdrip invokations --- examples/chart.md | 2 +- hack/testExamplesAgainstKustomize.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/chart.md b/examples/chart.md index 0e84074b7..1f999e41a 100644 --- a/examples/chart.md +++ b/examples/chart.md @@ -32,7 +32,7 @@ chart repository. This example defines the `helm` command as ``` -helmCommand=~/go/bin/helmV3 +helmCommand=${MYGOBIN:-~/go/bin}/helmV3 ``` This value is needed for testing this example in CI/CD. diff --git a/hack/testExamplesAgainstKustomize.sh b/hack/testExamplesAgainstKustomize.sh index 8ef8401ae..1a447ee41 100755 --- a/hack/testExamplesAgainstKustomize.sh +++ b/hack/testExamplesAgainstKustomize.sh @@ -29,6 +29,7 @@ fi # We test against the latest release, and HEAD, and presumably # any branch using this label, so it should probably get # a new value. +export MYGOBIN mdrip --mode test --blockTimeOut 15m \ --label testAgainstLatestRelease examples