Skip to content
Snippets Groups Projects
Commit 8cca3a2e authored by Kristina Mazur's avatar Kristina Mazur
Browse files

Update file setup-integration-test.yml

parent 496a0a6d
Branches
No related tags found
3 merge requests!299CI-Pipeline for performance test,!298CI-Pipeline for black-boxtest,!297CI-Pipeline for integration test
Pipeline #1559320 failed
......@@ -28,19 +28,19 @@ setup-integration-test:
- if [ -d "${DIR_DESIGN_EVALUATOR}" ]; then rm -rf ${DIR_DESIGN_EVALUATOR}; fi
- if [ -d "${DIR_PROJECTS}" ]; then rm -rf ${DIR_PROJECTS}; fi
- git clone $GIT_REPO_URL ${DIR_UNICADO} --branch ${BRANCH_UNICADO}
#- cd ${PATH_CLEAN_AIRCRAFT_DESIGN} && git checkout ${BRANCH_AIRCRAFT_DESIGN} && cd ${DIR_SUBMODULE_LIBS} && git checkout ${BRANCH_LIBRARIES}
#- cd ${PATH_CLEAN_ADDITIONAL_SOFTWARE} && git checkout ${BRANCH_ADDITIONAL_SOFTWARE} && cd ${DIR_SUBMODULE_LIBS} && git checkout ${BRANCH_LIBRARIES}
#- cd ${PATH_CLEAN_AIRCRAFT_REFERENCES} && git checkout ${BRANCH_AIRCRAFT_REFERENCES}
#- cd ${PATH_CLEAN_LIBRARIES} && git checkout ${BRANCH_LIBRARIES} && cd ${CI_PROJECT_DIR}
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/".insteadOf "ssh://git@git.rwth-aachen.de/"
- git submodule sync
- git submodule update --init --recursive
- cd ${PATH_CLEAN_AIRCRAFT_DESIGN} && git checkout ${BRANCH_AIRCRAFT_DESIGN} && cd ${DIR_SUBMODULE_LIBS} && git checkout ${BRANCH_LIBRARIES}
- cd ${PATH_CLEAN_ADDITIONAL_SOFTWARE} && git checkout ${BRANCH_ADDITIONAL_SOFTWARE} && cd ${DIR_SUBMODULE_LIBS} && git checkout ${BRANCH_LIBRARIES}
- cd ${PATH_CLEAN_AIRCRAFT_REFERENCES} && git checkout ${BRANCH_AIRCRAFT_REFERENCES}
- cd ${PATH_CLEAN_LIBRARIES} && git checkout ${BRANCH_LIBRARIES} && cd ${CI_PROJECT_DIR}
## If needed - checkout other lib version
## Caution: the merge request shall work with the provided libraries,
## otherwise a submodule update shall be commited as well
#- rm -rf ${DIR_SUBMODULE_LIBS}
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/".insteadOf "ssh://git@git.rwth-aachen.de/"
- git submodule sync
- git submodule update --init --recursive
#- cd ${DIR_SUBMODULE_LIBS}
#- git checkout ${BRANCH_LIBRARIES}
#- cd ${CI_PROJECT_DIR}
......@@ -92,7 +92,7 @@ setup-integration-test:
echo "$SINGLE_CHANGED_FOLDER" > NAME_MODIFIED_TOOL.env
else
echo "No allowed folders have been changed."
echo "Use engineSizing as default test case"
echo "Use propulsion_design as default test case"
echo "$NAME_MODIFIED_TOOL" > NAME_MODIFIED_TOOL.env
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment