removed obsolete code
This commit is contained in:
parent
4e33f86d1f
commit
383e52793a
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
tag='latest'
|
||||
else
|
||||
tag=$1
|
||||
fi
|
||||
|
||||
docker build -t nubisware/nubisware-conductor-worker-py-base:$tag -f docker/base/Dockerfile .
|
||||
docker push nubisware/nubisware-conductor-worker-py-base:$tag
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
tag='latest'
|
||||
else
|
||||
tag=$1
|
||||
fi
|
||||
|
||||
docker build -t nubisware/nubisware-conductor-worker-py-provisioning:$tag -f docker/provisioning/Dockerfile .
|
||||
docker push nubisware/nubisware-conductor-worker-py-provisioning:$tag
|
|
@ -1,13 +0,0 @@
|
|||
[common]
|
||||
loglevel = debug
|
||||
server = http://conductor-dev.int.d4science.net/api
|
||||
#server = https://conductor.pre.d4science.org/api
|
||||
#server = http://localhost:8080/api
|
||||
threads = 1
|
||||
pollrate = 1
|
||||
|
||||
[pyansible]
|
||||
domain=nw-cluster-docker
|
||||
|
||||
[pypacker]
|
||||
domain=nw-cluster-docker
|
|
@ -1,8 +0,0 @@
|
|||
FROM python:3.7
|
||||
COPY ./docker/base/requirements.txt /app/
|
||||
RUN pip install -r /app/requirements.txt
|
||||
COPY conductor/ /app/conductor
|
||||
COPY pyexecplugins/ /app/pyexecplugins
|
||||
COPY ./docker/base/requirements.txt PyExec.py config.cfg ./docker/base/entrypoint.sh /app/
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
export HEALTH=${CONDUCTOR_HEALTH:-http://conductor-server:8080/health}
|
||||
|
||||
echo 'Waiting for Conductor at ' $HEALTH '...'
|
||||
|
||||
while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' $HEALTH)" != 200 ]]; do
|
||||
echo 'still waiting ...'
|
||||
sleep 5
|
||||
done
|
||||
|
||||
echo 'Starting default workers...'
|
||||
|
||||
python3 PyExec.py Http Shell Eval Mail HttpBridge
|
|
@ -1,2 +0,0 @@
|
|||
requests >= 2.19.1
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
FROM nubisware/nubisware-conductor-worker-py-base:latest
|
||||
COPY ./docker/provisioning/requirements.txt /app/
|
||||
RUN pip install -r /app/requirements.txt
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install packer
|
||||
WORKDIR /app
|
||||
COPY ./docker/provisioning/entrypoint.sh /app/
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
export HEALTH=${CONDUCTOR_HEALTH:-http://conductor-server:8080/health}
|
||||
|
||||
echo 'Waiting for Conductor at ' $HEALTH ' ...'
|
||||
|
||||
while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' $HEALTH)" != 200 ]]; do
|
||||
echo 'still waiting ...'
|
||||
sleep 5
|
||||
done
|
||||
|
||||
echo 'Starting provisioning workers...'
|
||||
|
||||
python3 PyExec.py Ansible Packer
|
|
@ -1 +0,0 @@
|
|||
ansible >= 2.8
|
Loading…
Reference in New Issue