Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Aircraft Design
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNICADO
Aircraft Design
Commits
e0174f25
Commit
e0174f25
authored
4 months ago
by
Kristina Mazur
Browse files
Options
Downloads
Patches
Plain Diff
Change branches and update setup pipeline
parent
cad7add9
No related branches found
No related tags found
3 merge requests
!299
CI-Pipeline for performance test
,
!298
CI-Pipeline for black-boxtest
,
!297
CI-Pipeline for integration test
Pipeline
#1559301
failed
4 months ago
Stage: setup
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci-scripts/setup-integration-test.yml
+14
-12
14 additions, 12 deletions
.ci-scripts/setup-integration-test.yml
.ci-scripts/variables.yml
+1
-1
1 addition, 1 deletion
.ci-scripts/variables.yml
with
15 additions
and
13 deletions
.ci-scripts/setup-integration-test.yml
+
14
−
12
View file @
e0174f25
...
...
@@ -24,24 +24,26 @@ setup-integration-test:
-
git config --global http.sslVerify
false
# CAUTION: unsecure! Find another way
## Clean up and clone
-
if [ -d "${DIR_UNICADO}" ]; then rm -rf ${DIR_UNICADO}; fi
-
if [ -d "${DIR_DESIGN_EVALUATOR}" ]; then rm -rf ${DIR_DESIGN_EVALUATOR}; fi
-
if [ -d "${DIR_PROJECTS}" ]; then rm -rf ${DIR_PROJECTS}; fi
-
git clone
--recurse-submodules
$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}
#
- if [ -d "${DIR_UNICADO}" ]; then rm -rf ${DIR_UNICADO}; fi
#
- 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}
## 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}
#- 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}
#
- cd ${DIR_SUBMODULE_LIBS}
#
- git checkout ${BRANCH_LIBRARIES}
#
- cd ${CI_PROJECT_DIR}
## Detect modified tool
## List all changed folders
...
...
This diff is collapsed.
Click to expand it.
.ci-scripts/variables.yml
+
1
−
1
View file @
e0174f25
...
...
@@ -41,7 +41,7 @@ variables:
PATH_WORKFLOW_INSTALL
:
${CI_PROJECT_DIR}/UNICADOworkflow
## Branches to be checked out for clean repo
BRANCH_UNICADO
:
"
main
"
BRANCH_UNICADO
:
"
develop
"
BRANCH_AIRCRAFT_DESIGN
:
"
develop"
BRANCH_ADDITIONAL_SOFTWARE
:
"
develop"
BRANCH_LIBRARIES
:
"
develop"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment