Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
overwrite gardener-ci included component-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Schrodi committed Jun 14, 2021
1 parent 719a3d4 commit 04f5e25
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .ci/component_descriptor
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 04f5e25

Please sign in to comment.