diff --git a/Makefile b/Makefile index b7fabb424..5d7c21f59 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ ifeq ($(RUN_LONG_TESTS), yes) if [ ! -e ~/aptly-fixture-db ]; then git clone https://github.com/aptly-dev/aptly-fixture-db.git ~/aptly-fixture-db/; fi if [ ! -e ~/aptly-fixture-pool ]; then git clone https://github.com/aptly-dev/aptly-fixture-pool.git ~/aptly-fixture-pool/; fi - cd /home/runner; curl -O http://repo.aptly.info/system-tests/etcd.db + cd /home/runner; curl -O http://repo.aptly.info/system-tests/etcd.db.xz; xz -d etcd.db.xz PATH=$(BINPATH)/:$(PATH) && . system/env/bin/activate && APTLY_VERSION=$(VERSION) FORCE_COLOR=1 $(PYTHON) system/run.py --long $(TESTS) --coverage-dir $(COVERAGE_DIR) $(CAPTURE) endif diff --git a/system/Dockerfile b/system/Dockerfile index 430c01190..22bdb6ff4 100644 --- a/system/Dockerfile +++ b/system/Dockerfile @@ -15,7 +15,7 @@ RUN chown aptly /work RUN cd /var/lib/aptly; git clone https://github.com/aptly-dev/aptly-fixture-db.git RUN cd /var/lib/aptly; git clone https://github.com/aptly-dev/aptly-fixture-pool.git -RUN cd /var/lib/aptly; curl -O http://repo.aptly.info/system-tests/etcd.db +RUN cd /var/lib/aptly; curl -O http://repo.aptly.info/system-tests/etcd.db.xz; xz -d etcd.db.xz RUN echo "aptly ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aptly ADD system/t13_etcd/install-etcd.sh /src/ RUN /src/install-etcd.sh