Skip to content

Commit

Permalink
whitesource script dir fix (kyma-project#1386)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Roth authored Aug 22, 2019
1 parent af00a1a commit 32de992
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions prow/scripts/cluster-integration/helpers/start-wssagent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@

set -o errexit


if [ -f "../../prow/scripts/library.sh" ]; then
export TEST_INFRA_SOURCES_DIR="../.."

elif [ -f "../test-infra/prow/scripts/library.sh" ]; then
export TEST_INFRA_SOURCES_DIR="../test-infra"

else
echo "File 'library.sh' can't be found."
exit 1;
fi

export TEST_INFRA_CLUSTER_INTEGRATION_SCRIPTS="${TEST_INFRA_SOURCES_DIR}/prow/scripts/cluster-integration/helpers"

gsutil cp "gs://kyma-prow-secrets/whitesource-userkey.encrypted" "."
gsutil cp "gs://kyma-prow-secrets/whitesource-apikey.encrypted" "."

Expand Down

0 comments on commit 32de992

Please # to comment.