This is an automated email from the ASF dual-hosted git repository. ricardozanini pushed a commit to branch radtriste-fix-pipelines in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
commit 41dccfbfc4b0376ec9ca3f17a34dca758fba946c Author: jstastny-cz <[email protected]> AuthorDate: Wed Nov 15 11:35:09 2023 +0100 adjust folder for tests --- tests/test-apps/clone-repo.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test-apps/clone-repo.sh b/tests/test-apps/clone-repo.sh index 6433f055..4feb39f3 100755 --- a/tests/test-apps/clone-repo.sh +++ b/tests/test-apps/clone-repo.sh @@ -4,6 +4,7 @@ # if image name is supporting services, don't build it IMAGE_NAME="$2" KOGITO_EXAMPLES_REPO_NAME='incubator-kie-kogito-examples' +KOGITO_EXAMPLES_FOLDER_NAME='kogito-examples' # many tests rely on location /tmp/kogito-examples prod="" if [ -n "${IMAGE_NAME}" ]; then @@ -36,11 +37,10 @@ fi set -e # Clone examples -KOGITO_EXAMPLES_DIR=/tmp/${KOGITO_EXAMPLES_REPO_NAME} -cd /tmp -rm -rf ${KOGITO_EXAMPLES_REPO_NAME} -git clone https://github.com/apache/${KOGITO_EXAMPLES_REPO_NAME}.git -cd ${KOGITO_EXAMPLES_REPO_NAME}/ +KOGITO_EXAMPLES_DIR=/tmp/${KOGITO_EXAMPLES_FOLDER_NAME} +rm -rf ${KOGITO_EXAMPLES_DIR} +git clone https://github.com/apache/${KOGITO_EXAMPLES_REPO_NAME}.git ${KOGITO_EXAMPLES_DIR} +cd ${KOGITO_EXAMPLES_DIR}/ git fetch origin git fetch origin --tags git checkout -b nightly-main --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
