Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CardMech
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
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIT
Mpp
CardMech
Commits
11fdd1b8
Commit
11fdd1b8
authored
2 years ago
by
Niklas Baumgarten
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
a32ff46e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!179
added possibility to use different time integration schemes for ion...
,
!163
Convergence tests monodomain
Pipeline
#124580
failed
2 years ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+25
-38
25 additions, 38 deletions
.gitlab-ci.yml
with
25 additions
and
38 deletions
.gitlab-ci.yml
+
25
−
38
View file @
11fdd1b8
...
...
@@ -2,63 +2,39 @@ stages:
-
build
-
test
-
debug
-
benchmark
-
deploy
variables
:
OS
:
"
ubuntu"
OS_VERSION
:
"
20.04"
IMAGE_NAME_CARDMECH
:
"
cardmech-${CI_COMMIT_SHORT_SHA}-${OS}${OS_VERSION}-${CI_PIPELINE_ID}"
DOCKER_TLS_CERTDIR
:
"
/certs"
include
:
-
project
:
'
mpp/mpp'
ref
:
feature
file
:
'
.mpp-ci-templates.yml'
servic
es
:
-
docker:dind
variabl
es
:
extends
:
.global-variables
build
cardmech
:
stage
:
build
build
:
extends
:
.
build
_template
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
image
:
docker:latest
before_script
:
-
docker info
-
docker login -u $MPP_REGISTRY_USER -p $MPP_REGISTRY_PASS ${MPP_REGISTRY}
script
:
-
sed s/REGISTRY/${MPP_REGISTRY}\\/${MPP_REGISTRY_REPO_RELEASE}/g docker/cardmech.baseimage >
docker/cardmech_registry.baseimage
-
sed s/UBUNTUVERSION/${OS_VERSION}/g docker/cardmech_registry.baseimage >
docker/${IMAGE_NAME_CARDMECH}.baseimage
-
docker build
--build-arg UPSTREAM_COMMIT=${UPSTREAM_COMMIT}
--no-cache -t ${MPP_REGISTRY}/${MPP_REGISTRY_REPO_DEV}/${IMAGE_NAME_CARDMECH}
-f docker/${IMAGE_NAME_CARDMECH}.baseimage .
-
docker push ${MPP_REGISTRY}/${MPP_REGISTRY_REPO_DEV}/${IMAGE_NAME_CARDMECH}
dependencies
:
[
]
tags
:
[
docker
]
PROJECT_NAME
:
'
cardmech'
test cardmech 1/2
:
stage
:
test
extends
:
.
test
_template
variables
:
GIT_STRATEGY
:
none
image
:
${MPP_REGISTRY}/${MPP_REGISTRY_REPO_DEV}/${IMAGE_NAME_CARDMECH}
PROJECT_NAME
:
'
cardmech'
script
:
-
cd /mpp/build
-
./cardmech/test/cellmodels/TestElphyModels
-
./cardmech/test/elasticity/TestMaterial
dependencies
:
[
"
build
cardmech"
]
tags
:
[
docker
]
test cardmech 2/2
:
stage
:
test
extends
:
.
test
_template
variables
:
GIT_STRATEGY
:
none
image
:
${MPP_REGISTRY}/${MPP_REGISTRY_REPO_DEV}/${IMAGE_NAME_CARDMECH}
PROJECT_NAME
:
'
cardmech'
script
:
-
cd /mpp/build
-
python3 mppyrun.py --mpi_tests=1 --mute=0
dependencies
:
[
"
build
cardmech"
]
tags
:
[
docker
]
debug cardmech
:
...
...
@@ -73,6 +49,17 @@ debug cardmech:
dependencies
:
[
"
build
cardmech"
]
tags
:
[
docker
]
ventricle-test
:
extends
:
.benchmark_on_horeka
variables
:
CMAKE_ARGS
:
'
-DMPP_BUILD_TYPE=MppRelease'
script
:
-
salloc -p cpuonly -t 00:10:00 -n 4 mpirun Elphy-M++ BiVentricleTest/start
deploy cardmech
:
stage
:
deploy
image
:
docker:latest
...
...
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