From f86fd928cfb93c1274f93a93c916c601a7621c01 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 10 May 2022 22:17:39 +0200 Subject: [PATCH] qa: don't compile nor use the coordinator, run the dummy one --- .cirrus.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 7d9909ee..5ec66231 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -33,17 +33,15 @@ task: set -xe # Install the dependencies - apt update && apt install -y postgresql python3 python3-venv + apt update && apt install -y python3 python3-venv - # Compile the daemon and the servers + # Compile the daemon and the servers (but the coordinator) cargo build --release export REVAULTD_PATH=$PWD/target/release/revaultd git submodule update --init cd tests/servers cd miradord && cargo build export MIRADORD_PATH=$PWD/target/debug/miradord - cd ../coordinatord && cargo build - export COORDINATORD_PATH=$PWD/target/debug/coordinatord cd ../cosignerd && cargo build export COSIGNERD_PATH=$PWD/target/debug/cosignerd cd ../../../ @@ -54,11 +52,6 @@ task: tar -xzf $ARCHIVE_NAME export BITCOIND_PATH=$BITCOIND_DIR_NAME/bin/bitcoind - # Setup the postgres instance for the servers - pg_ctlcluster 13 main start - su -c "psql -c \"CREATE ROLE test CREATEDB LOGIN PASSWORD 'test'\"" - postgres - export POSTGRES_USER=test POSTGRES_PASS=test - # Run the functional tests python3 -m venv venv . venv/bin/activate