Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixHDF5
Commits
b388429b
Commit
b388429b
authored
Jan 27, 2021
by
Pierre Aubert
Browse files
Update docker image for CI with coverage
parent
296ca60a
Pipeline
#101272
passed with stages
in 4 minutes and 53 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
27 deletions
+39
-27
.gitlab-ci.yml
.gitlab-ci.yml
+24
-13
PhoenixHDF5_doc.dox
PhoenixHDF5_doc.dox
+0
-9
doc/mainpage.dox
doc/mainpage.dox
+10
-0
docker/Dockerfile
docker/Dockerfile
+2
-2
docker/scriptCreateDockerImage.sh
docker/scriptCreateDockerImage.sh
+3
-3
No files found.
.gitlab-ci.yml
View file @
b388429b
image
:
gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.
2
image
:
gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.
3
stages
:
-
BuildTestinstall
-
Coverage
Testinstall
-
Doc
Coverage
-
deploy
#- build
...
...
@@ -34,35 +34,38 @@ dailyBuildMasterAll:
-
tags
tags
:
dailyCoverageMasterAll
:
#cache:
#untracked: true
#paths:
#- build/
stage
:
CoverageTestinstall
TestCoverage
:
stage
:
DocCoverage
script
:
-
export LD_LIBRARY_PATH=/usr/lib
-
env
-
mkdir -p build
-
mkdir -p build
coverage
-
cd build
-
>
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DSELF_TESTS_MODE=yes
-DCMAKE_BUILD_TYPE=Coverage
-
make all
-
make install
-
make test
-
make ExperimentalCoverage
-
cd ../coverage
-
gcovr -r ../ --html cov_report.html --html-details
-
gcovr -r ../ --xml Coverage.xml
artifacts
:
paths
:
-
coverage
expire_in
:
1d
only
:
-
branches
-
tags
tags
:
pages
:
stage
:
deploy
Doc
:
stage
:
DocCoverage
script
:
-
export LD_LIBRARY_PATH=/usr/lib
-
env
...
...
@@ -77,7 +80,6 @@ pages:
-
>
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DDOC_MODE=yes
-DSELF_TESTS_MODE=no
-
make all
...
...
@@ -94,3 +96,12 @@ pages:
tags
:
pages
:
stage
:
deploy
script
:
-
mv coverage public/
artifacts
:
paths
:
-
public
expire_in
:
1d
PhoenixHDF5_doc.dox
deleted
100644 → 0
View file @
296ca60a
/** @brief Program to generate class which save data into hdf5 file as DataSet
*
*
*/
doc/mainpage.dox
0 → 100644
View file @
b388429b
/** @mainpage Program to generate class which save data into hdf5 file as DataSet
*
* <a href="../coverage/cov_report.html">See test coverage detail from gcovr</a><br />
<a href="../coverage/Coverage.xml">See test coverage report</a>
*/
docker/Dockerfile
View file @
b388429b
# Version 0.
2
# Version 0.
3
FROM
ubuntu:20.04
# Ensure use of bash
...
...
@@ -22,7 +22,7 @@ RUN apt-get install -y wget
RUN
apt-get
install
-y
gcc g++ cmake make git
RUN
apt-get
install
-y
libhdf5-dev
RUN
apt-get
install
-y
doxygen graphviz
RUN
apt-get
install
-y
gcovr
# && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
...
...
docker/scriptCreateDockerImage.sh
View file @
b388429b
#!/bin/bash
docker build
-t
hdf5:0.
1
.
docker build
-t
hdf5:0.
3
.
# docker login gitlab-registry.in2p3.fr -u paubert
docker build
-t
gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.
1
.
docker build
-t
gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.
3
.
docker push gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.
1
docker push gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixhdf5/hdf5:0.
3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment