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

Update file setup-integration-test.yml

parent 944f6bb8
No related branches found
No related tags found
3 merge requests!299CI-Pipeline for performance test,!298CI-Pipeline for black-boxtest,!297CI-Pipeline for integration test
Pipeline #1559421 failed
......@@ -37,11 +37,20 @@ setup-integration-test:
# Rewrite submodule URLs to use HTTPS and remove .git suffix
- cd ${DIR_UNICADO}
- sed -i -e 's|ssh://git@git.rwth-aachen.de/|https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/|g' -e 's|\.git||g' .gitmodules
# Ensure submodules use HTTPS with the CI_JOB_TOKEN
- git submodule sync
# Debug: Show updated submodule URLs
- echo "Updated submodule URLs:"
- cat .gitmodules
# Explicitly update remote URLs for all submodules
- git submodule foreach --recursive 'git remote set-url origin https://gitlab-ci-token:${CI_JOB_TOKEN}@git.rwth-aachen.de/$(basename $name)'
# Reinitialize submodules
- 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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment