Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractalis
Commits
466db455
Commit
466db455
authored
Oct 16, 2017
by
Sascha Herzinger
Browse files
brand new gitlab ci file to fix runner
parent
8b43142c
Pipeline
#2435
failed with stage
in 11 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
466db455
image
:
python:latest
services
:
-
redis
-
rabbitmq
image
:
centos:latest
before_script
:
-
apt-get install r-base r-bioc-limma
-
pip install -e . --default-timeout=180
-
pip install flake8
-
export FRACTALIS_CONFIG="$(pwd)/gitlab-config.py"
# add epel-repo to centos
-
yum install -y epel-release
-
yum update -y
# install dependencies
-
yum install -y rabbitmq-server redis python34 python34-pip python34-devel readline-devel R
-
pip3 install -e . --default-timeout=180
-
R -e 'source("https://bioconductor.org/biocLite.R"); biocLite(); biocLite("limma")'
# start services
-
redis-server --daemonize yes
-
rabbitmq-server -detached
-
celery worker -A fractalis:celery -D -l info
test
:
script
:
-
python setup.py test
\ No newline at end of file
-
python setup.py test
gitlab-config.py
deleted
100644 → 0
View file @
8b43142c
"""The only purpose of this file is to have a running CI test environment."""
REDIS_HOST
=
'redis'
BROKER_URL
=
'amqp://guest:guest@rabbitmq:5672//'
CELERY_RESULT_BACKEND
=
'redis://redis:6379'
\ 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