specter-desktop/docker/cypress-python/Dockerfile
Kim Neunert cb8968b5fb
Chore: Ci improvements (#103) (#1403)
* Ci improvements (#103)

* pin bitcoin to new v0.21.1 tag

* fix binary installation

* for binary install, pytest.ini is the file to use

* kick

* adjusted Dockerfile to have at least wget to download artifacts

* investigate test_hwibridge timing out

* restest with v0.20.1

* implements timeout, hope that was reason to hang

* remove livelogging again

* fix hanging test

* Enable bitcoind-log-output on demand

* Timeouts now raising SpecterErrors

* catch a bit more generic Exception

* increase timeout

* fix abandontx test

* simplified code

* increase timeout

* increased timeout also for pytest

* separate timeouts for liquid/bitcoin

* forget checkin

* increase timeout for bitcoin as well

* bugfix: node specific timeouts

* increase timeout for elm hotwallet

* Now timeouts for all occurences of broadcasting

* global vars done right

* Yet another ReadTimeoutError to take account for

* fix assertion

* fix not-defined issue

* proper status_code checking instead of error_code

* increase wait-time

* increase btc:mine wait to 15 s

Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>

* rollback to v0.20.1

* rollback - it is a src-install, stupid

* mixed up bitcoin and elements

* forgot to fix reference

* rollback test_abandon_purged_tx

* increase timeout to 30 s

* increase Liquid on cypress to 40s

Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>
2021-09-19 22:33:13 +02:00

14 lines
640 B
Docker

FROM registry.gitlab.com/cryptoadvance/specter-desktop/cypress-base-ubuntu-focal:latest
RUN apt-get update && apt-get install -y \
python3-pip python3-virtualenv zip unzip file apt libusb-1.0-0-dev libudev-dev \
bc libevent-2.1-7 jq wget curl
# Stuff needed for Elements (compilation)
RUN DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y bsdmainutils libboost-test-dev libboost-filesystem-dev libboost-thread-dev libsqlite3-dev git libevent-pthreads-2.1-7
WORKDIR /test
RUN rm -rf node_modules package-lock.json ~/.cache/Cypress
RUN npm install --save-dev cypress@7.1.0
RUN $(npm bin)/cypress verify