Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab-profile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hotwheels
gitlab-profile
Compare revisions
df9680e5842e3439e8667e7d41bdec1a2c308748 to 32de309ddd43447db2a098d97a33df205c6fda51
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
hotwheels/gitlab-profile
Select target project
No results found
32de309ddd43447db2a098d97a33df205c6fda51
Select Git revision
Branches
main
test_include
2 results
Swap
Target
hotwheels/gitlab-profile
Select target project
hotwheels/gitlab-profile
1 result
df9680e5842e3439e8667e7d41bdec1a2c308748
Select Git revision
Branches
main
test_include
2 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
use registry image
· 8f63bdfa
Your Name
authored
5 months ago
8f63bdfa
new dockerfile
· 32de309d
Your Name
authored
4 months ago
32de309d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+0
-1
0 additions, 1 deletion
.gitignore
.gitlab-ci.yml
+6
-18
6 additions, 18 deletions
.gitlab-ci.yml
Dockerfile
+13
-0
13 additions, 0 deletions
Dockerfile
with
19 additions
and
19 deletions
.gitignore
View file @
32de309d
...
...
@@ -6,7 +6,6 @@ __pycache__/
.env
*env/
libclang*so
Dockerfile
build/
*egg-info/
*png
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
View file @
32de309d
before_script
:
-
docker pull git.ia2.inaf.it:5050/hotwheels/gitlab-profile
-
|
docker build --build-arg CACHE_BUSTER=$(openssl rand -hex 12) --build-arg USER=${CI_REGISTRY_USER} --build-arg PASS=${CI_JOB_TOKEN} -t hwmd -f - . <<EOF
FROM debian:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y bash git gcc-12 openmpi-bin libopenmpi-dev build-essential python3 pip indent
RUN rm /usr/lib/python*/EXTERNALLY-MANAGED
RUN pip install -U autopep8 Jinja2 numpy PyYAML libclang
ENV HW_FLAGS="-Wl,--no-as-needed"
ENV MPIRUN='mpirun --allow-run-as-root -n 2'
ENV OMP_NUM_THREADS=2
RUN apt-get install -y libgsl-dev libgsl27
RUN pip install matplotlib
RUN apt-get install -y libfftw3-dev libfftw3-mpi-dev
RUN apt-get install -y wget
RUN pip install Jinja2 numpy PyYAML libclang numba
docker build --no-cache -t hw -f - . <<EOF
FROM git.ia2.inaf.it:5050/hotwheels/gitlab-profile
RUN git config --global url."https://${CI_REGISTRY_USER}:${CI_JOB_TOKEN}@www.ict.inaf.it/gitlab".insteadOf ssh://git@git.ia2.inaf.it
WORKDIR /app
COPY . /app
EOF
install
:
testing
:
script
:
-
docker run hw
md
bash -c 'set -xev;
. test_install_octree.bash && . test_checkup.bash && . test_pip_all.bash && . test_editable.bash && . test_bulk.bash'
-
docker run hw
md
bash -c 'set -xev; . test_install_pm.bash && python3 test_dmo_NFW_fixed_timestep.py'
-
docker run hw bash -c 'set -xev; . test_install_octree.bash && . test_checkup.bash && . test_pip_all.bash && . test_editable.bash && . test_bulk.bash'
-
docker run hw bash -c 'set -xev; . test_install_pm.bash && python3 test_dmo_NFW_fixed_timestep.py'
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
View file @
32de309d
FROM
debian:latest
ENV
DEBIAN_FRONTEND=noninteractive
RUN
apt-get update
RUN
apt-get
install
-y
bash git wget gcc-12 openmpi-bin libopenmpi-dev build-essential python3 pip indent libgsl-dev libgsl27 libfftw3-dev libfftw3-mpi-dev
RUN
rm
/usr/lib/python
*
/EXTERNALLY-MANAGED
RUN
pip
install
-U
autopep8 Jinja2 numpy PyYAML libclang matplotlib numba
ENV
EC_FLAGS="-Wl,--no-as-needed"
ENV
EC_BUILD=/root/build/
ENV
EC_DATA=/root/data/
ENV
MPIRUN='mpirun --allow-run-as-root -n 2'
ENV
OMP_NUM_THREADS=2
RUN
mkdir
-p
$EC_BUILD
RUN
mkdir
-p
$EC_DATA
\ No newline at end of file
This diff is collapsed.
Click to expand it.