Skip to content

Commit d40b959

Browse files
author
Charles Butler
committed
Target master branch for test tooling
- This moves the test tooling which is 2.x and 1.25 compat into the master branch - Removes any traces of non-docker things in the Dockerfile - Should be the foundation for a clean 1 line rebase with :devel branch
1 parent 2c38681 commit d40b959

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ VOLUME "/home/ubuntu/trusty"
55
VOLUME "/home/ubuntu/builds"
66
VOLUME "/home/ubuntu/layers"
77
VOLUME "/home/ubuntu/interfaces"
8-
RUN apt-get update -qy
9-
RUN apt-get install -qy gcc cython git make
108
ADD install-review-tools.sh /install-review-tools.sh
119
RUN /install-review-tools.sh
1210
CMD /run.sh

install-review-tools.sh

+18-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,31 @@
22
set -e
33
HOME=/home/ubuntu
44

5+
# Add tims awesome PPA for the 2.0 bleeding edge tooling
6+
sudo add-apt-repository -y ppa:tvansteenburgh/ppa
7+
58
sudo apt-get update -qqy
6-
sudo apt-get install -qy unzip \
7-
build-essential\
9+
sudo apt-get install -qy amulet \
10+
build-essential \
11+
cython \
812
charm-tools \
13+
git \
14+
make \
915
python-dev \
16+
python3-dev \
1017
python-pip \
18+
python3-pip \
1119
python-virtualenv \
1220
rsync \
13-
make
14-
sudo pip install bundletester flake8 pyyaml tox --upgrade
21+
unzip
22+
23+
sudo pip install --upgrade pip
24+
sudo pip install --upgrade bundletester flake8 pyyaml tox
1525

26+
git clone https://github.com/juju/amulet /tmp/amulet
27+
cd /tmp/amulet
28+
pip install --upgrade ./
29+
pip3 install --upgrade ./
1630

1731
# Fix for CI choking on duplicate hosts if the host key has changed
1832
# which is common.

0 commit comments

Comments
 (0)