From d79de7ac2e1ce08388aaef190c5a5cba96a3718d Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Tue, 28 Dec 2021 04:46:47 +0000 Subject: [PATCH] Cirrus: Use VM instead of Docker for functional tests --- .cirrus.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index d5a780d95..02abd877d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -88,13 +88,15 @@ task: task: name: Regtest functional tests - container: - image: $ELECTRUM_IMAGE + compute_engine_instance: + image_project: cirrus-images + image: family/docker-builder + platform: linux cpu: 1 memory: 1G pip_cache: folder: ~/.cache/pip - fingerprint_script: echo Regtest && echo $ELECTRUM_IMAGE && cat $ELECTRUM_REQUIREMENTS + fingerprint_script: echo Regtest && echo docker_builder && cat $ELECTRUM_REQUIREMENTS populate_script: mkdir -p ~/.cache/pip electrum_cache: folder: /tmp/electrum-build @@ -121,7 +123,6 @@ task: - sleep 10s - python3 -m unittest electrum/tests/regtest.py env: - ELECTRUM_IMAGE: python:3.7 ELECTRUM_REQUIREMENTS: contrib/requirements/requirements-travis.txt # ElectrumX exits with an error without this: ALLOW_ROOT: 1