From 04f5e250f7bb7d181287235fc4cbc608e3ce8542 Mon Sep 17 00:00:00 2001 From: Tim Schrodi Date: Mon, 14 Jun 2021 13:25:38 +0200 Subject: [PATCH] overwrite gardener-ci included component-cli --- .ci/component_descriptor | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.ci/component_descriptor b/.ci/component_descriptor index 7fc70e14..678d4138 100755 --- a/.ci/component_descriptor +++ b/.ci/component_descriptor @@ -15,12 +15,16 @@ export GOROOT="/usr/lib/go" export GOPATH="/go" export PATH="/go/bin:$PATH" -cd "$(dirname $0)/.." +PROJECT_ROOT="$(dirname $0)/.." +cd ${PROJECT_ROOT} # build the component-cli make cross-build EFFECTIVE_VERSION="$(cat VERSION)" -COMPONENT_CLI="./dist/componentcli-linux-amd64" +COMPONENT_CLI="${PROJECT_ROOT}/dist/componentcli-linux-amd64" + +# overwrite included component-cli to also test it +cp ${COMPONENT_CLI} /bin/component-cli # copy base component descriptor to temporary directory COMPONENT_ARCHIVE_PATH="/tmp/ca"