Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
21657df3
Commit
21657df3
authored
Nov 16, 2017
by
Andreas Schmidt
Browse files
Move scripts and docker files to subfolders.
parent
5395e31e
Pipeline
#1604
passed with stages
in 1 minute and 30 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
21657df3
...
...
@@ -33,7 +33,7 @@ build:container:
-
docker
script
:
-
export DOCKER_TAG=$(echo "$CI_BUILD_REF_NAME" | sed 's#/#_#' | sed 's#^master$#latest#')
-
docker build -t $CI_REGISTRY_IMAGE:$DOCKER_TAG --build-arg http_proxy=http://www-proxy.uni-saarland.de:3128 .
-
docker build -t $CI_REGISTRY_IMAGE:$DOCKER_TAG --build-arg http_proxy=http://www-proxy.uni-saarland.de:3128
-f docker/Dockerfile
.
-
docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
-
docker push $CI_REGISTRY_IMAGE:$DOCKER_TAG
-
docker rmi $CI_REGISTRY_IMAGE:$DOCKER_TAG
...
...
@@ -45,7 +45,7 @@ test:prrt_mem:
tags
:
-
valgrind
script
:
-
bash memtest.sh
-
bash
tests/
memtest.sh
test:prrt_functional:
stage
:
test
...
...
@@ -62,7 +62,7 @@ test:prrt_python_bindings:
-
bash
-
python3
script
:
-
sh build.sh
-
sh
tests/
build.sh
deploy:pypi:
stage
:
deploy
...
...
CMakeLists.txt
View file @
21657df3
...
...
@@ -29,5 +29,5 @@ if(PRRT_TESTS)
add_custom_target
(
funtest COMMAND ./bin/prrtTests
)
endif
()
add_custom_target
(
perftest COMMAND python3 eval.py
)
add_custom_target
(
perftest COMMAND python3
tests/
eval.py
)
add_custom_target
(
memtest COMMAND bash ./memtest.sh DEPENDS sender receiver
)
Dockerfile
→
docker/
Dockerfile
View file @
21657df3
...
...
@@ -9,6 +9,7 @@ RUN apt-get update \
COPY
CMakeLists.txt /prrt/
COPY
prrt /prrt/prrt
COPY
tests /prrt/tests
COPY
docker/entrypoint.sh /
WORKDIR
/prrt
...
...
@@ -17,8 +18,6 @@ RUN cmake . \
ENV
PATH /prrt/bin:$PATH
WORKDIR
/prrt/bin
COPY
entrypoint.sh /
VOLUME
/output
ENTRYPOINT
["/entrypoint.sh"]
entrypoint.sh
→
docker/
entrypoint.sh
View file @
21657df3
File moved
build.sh
→
tests/
build.sh
View file @
21657df3
File moved
eval.py
→
tests/
eval.py
View file @
21657df3
import
sys
sys
.
path
.
insert
(
0
,
"./build"
)
sys
.
path
.
insert
(
0
,
"./
../
build"
)
import
time
import
tests.perf
as
perf
...
...
eval.sh
→
tests/
eval.sh
View file @
21657df3
File moved
memtest.sh
→
tests/
memtest.sh
View file @
21657df3
File moved
Write
Preview
Supports
Markdown
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