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
MPIfR-BDG
edd_provisioning
Commits
bc2e24c0
Commit
bc2e24c0
authored
Jan 14, 2021
by
Tobias Winchen
Browse files
Added ska proto status server
parent
2ef4f829
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
roles/ska_proto_status_server/tasks/main.yml
0 → 100644
View file @
bc2e24c0
---
-
name
:
SKA Proto Status Server
include_role
:
name
:
common
vars
:
image_name
:
skaproto_status_server
container_name
:
SKAPROTO_STATUS_SERVER
container_cmd
:
"
/usr/bin/python
/usr/local/lib/python2.7/dist-packages/mpikat-0.1-py2.7.egg/mpikat/ska_protodish_status_server.py
--host={{
edd_subnet
}}
--port={{
bind_port
}}
--redis-ip
{{
redis_storage
}}"
launch_influx_sidecar
:
True
register_as_pipeline
:
False
measurement
:
telescope_meta
dashboard_template
:
TelescopeMeta.json
tags
:
-
always
roles/ska_proto_status_server/templates/Dockerfile
0 → 100644
View file @
bc2e24c0
FROM
debian:buster
MAINTAINER
Tobias Winchen "twinchen@mpifr-bonn.mpg.de"
# Suppress debconf warnings
ENV
DEBIAN_FRONTEND noninteractive
# Switch account to root and adding user accounts and password
USER
root
RUN
mkdir
-p
/src
&&
\
apt-get
-y
update
&&
\
apt-get
--no-install-recommends
-y
install
\
libhdf5-dev
\
python-h5py
\
python-numpy
\
python-setuptools
\
python-setuptools-git
\
python-setuptools-scm
\
python-pip
\
python-pil
\
python-jinja2
\
python-cmd2
\
python-concurrent.futures
\
libpng-dev
\
pkg-config
\
libfreetype6-dev
\
python-scipy
\
python-pytest
\
python-redis
\
python-numpy
\
python-tornado
\
python-trollius
\
python-future
\
python-docker
\
python-enum34
\
python-ipaddress
\
python-cryptography
\
python-networkx
\
python-coloredlogs
\
python-urllib3
\
python-git
\
python-simplejson
\
python-yaml \
python-kerberos \
python-paramiko \
build-essential \
libboost-all-dev \
&&\
\
pip install --no-deps \
omnijson==0.1.2 \
ujson==2.0.3 \
katpoint==0.9 \
katportalclient==0.2.2 \
kiwisolver==1.1.0 \
nvector==0.7.4 \
ephem==3.7.7.0 \
&& \
cd /src && \
git clone https://github.com/ska-sa/katportalclient.git &&\
cd katportalclient && \
pip install --no-deps . && \
echo 'DONE!'
RUN
git clone
{{
mpikat_repository
}}
mpikat
&&
\
cd
mpikat
&&
\
git checkout
{{
mpikat_branch
}}&&
\
python setup.py
install
&&
\
echo
'DONE!'
roles/ska_proto_status_server/templates/TelescopeMeta.json
0 → 100644
View file @
bc2e24c0
This diff is collapsed.
Click to expand it.
ska_proto_config.yml
View file @
bc2e24c0
...
...
@@ -3,6 +3,10 @@
-
name
:
basic configuraton
import_playbook
:
basic_configuration/main.yml
-
name
:
setup telescope status server connection
hosts
:
interface
roles
:
-
ska_proto_status_server
#- name
:
use logspout to centralize logging
...
...
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