Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
0ba1955a
Commit
0ba1955a
authored
Apr 27, 2018
by
Philipp Arras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First time a test
parent
256fdfdb
Pipeline
#28213
failed with stages
in 6 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
.gitlab-ci.yml
.gitlab-ci.yml
+7
-9
Dockerfile
Dockerfile
+1
-1
No files found.
.gitlab-ci.yml
View file @
0ba1955a
image
:
parras/nifty:latest
image
:
docker:stable
stages
:
-
build_docker
#
- test
-
test
# - release
before_script
:
-
docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
-
docker info
variables
:
CONTAINER_TEST_IMAGE
:
gitlab-registry.mpcdf.mpg.de/ift/nifty:$CI_BUILD_REF_NAME
...
...
@@ -20,11 +19,11 @@ variables:
# - >
# coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
#
test_python3_scalar:
#
stage: test
#
script:
# -
python3 setup.py install --user -f
# -
nosetests3 -q
test_python3_scalar
:
stage
:
test
script
:
-
docker run $CONTAINER_TEST_IMAGE
python3 setup.py install --user -f
-
docker run $CONTAINER_TEST_IMAGE
nosetests3 -q
# test_python2_mpi:
# stage: test
...
...
@@ -54,7 +53,6 @@ services:
-
docker:dind
build_docker_container
:
image
:
docker:stable
stage
:
build_docker
script
:
-
docker build -t $CONTAINER_TEST_IMAGE .
...
...
Dockerfile
View file @
0ba1955a
...
...
@@ -14,4 +14,4 @@ RUN pip3 install parameterized coverage pyfftw git+https://gitlab.mpcdf.mpg.de/i
# Create user (openmpi does not like to be run as root)
RUN
useradd
-ms
/bin/bash testinguser
USER
testinguser
WORKDIR
/home/testinguser
WORKDIR
/home/testinguser
\ No newline at end of file
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