git qemu-utils python3-dev libssl-dev ipmitool \
python3-pip python3-virtualenv vim \
libev-dev libvirt-dev libffi-dev \
- libyaml-dev lsb-release && apt-get \
+ libyaml-dev lsb-release beanstalkd && apt-get \
clean all
RUN mkdir ../archive_dir
RUN mkdir log
retries: 2
ports:
- 8081:8081
+ beanstalk:
+ build: ../../beanstalk/alpine
+ depends_on:
+ pulpito:
+ condition: service_healthy
+ ports:
+ - "11300:11300"
teuthology:
build: ./teuthology
depends_on:
condition: service_healthy
links:
- paddles
- beanstalk:
- build: ../../beanstalk/alpine
- depends_on:
- pulpito:
- condition: service_healthy
- ports:
- - "11300:11300"
\ No newline at end of file
+ - beanstalk
\ No newline at end of file
#!/bin/bash
+# Clone paddles and teuthology
+
git clone https://github.com/ceph/paddles.git
cd paddles
-git fetch origin pull/94/head:wip-amathuria-removing-beanstalkd
-git checkout wip-amathuria-removing-beanstalkd
cd ../
git clone https://github.com/ceph/teuthology.git
-cd teuthology
-git fetch origin pull/1650/head:wip-amathuria-replace-beanstalkd-paddles
-git fetch origin pull/94/head:wip-amathuria-removing-beanstalkd
-git checkout wip-amathuria-replace-beanstalkd-paddles
-cd ..
+
+# Check for .teuthology.yaml file and copy it to teuthology
if [ -f ".teuthology.yaml" ];
then
cp .teuthology.yaml teuthology/.
exit 1
fi
-# until the branch we check out above has a Dockerfile of its own
+# Copy Docker file into teuthology
cp ../../Dockerfile teuthology/.
+
+# docker-compose
docker-compose up --build