@@ -2,14 +2,17 @@ version: 2
2
2
jobs :
3
3
ethtest :
4
4
machine :
5
- image : ubuntu-1604:202007-01
5
+ image : ubuntu-2004:202201-02
6
+ docker_layer_caching : true
6
7
environment :
7
8
NETWORK : regtest
8
9
PORT : 80
9
10
SSL_PORT : 443
10
11
NGINX_CONFIG_PATH : ../../nginx/nginx.conf
11
12
CERT_PATH : /etc/ssl/certs
12
13
BLOCKCHAIN_PATH : ./blockchain/
14
+ COMPOSE_DOCKER_CLI_BUILD : 0
15
+ DOCKER_BUILDKIT : 0
13
16
steps :
14
17
- checkout
15
18
- run :
27
30
- run :
28
31
name : Deploy ETH regtest nodes
29
32
command : |
30
- docker-compose -f Connector/tests/docker-compose/eth.yml -p eth_regtest_api up --build - d
33
+ docker-compose -f Connector/tests/docker-compose/eth.yml -p eth_regtest_api up -d
31
34
- run :
32
35
name : Add ethereumgo to /etc/hosts
33
36
command : |
@@ -42,17 +45,19 @@ jobs:
42
45
command : |
43
46
source venv/bin/activate
44
47
cd Connector && python -m pytest -c tests/eth/pytest_eth.ini -s --cov=eth/ tests/eth
45
-
46
48
btctest :
47
49
machine :
48
- image : ubuntu-1604:202007-01
50
+ image : ubuntu-2004:202201-02
51
+ docker_layer_caching : true
49
52
environment :
50
53
NETWORK : regtest
51
54
PORT : 80
52
55
SSL_PORT : 443
53
56
NGINX_CONFIG_PATH : ../../nginx/nginx.conf
54
57
CERT_PATH : /etc/ssl/certs
55
- BLOCKCHAIN_PATH : ./blockchain/
58
+ BLOCKCHAIN_PATH : ./blockchain/
59
+ COMPOSE_DOCKER_CLI_BUILD : 0
60
+ DOCKER_BUILDKIT : 0
56
61
steps :
57
62
- checkout
58
63
- run :
68
73
source venv/bin/activate
69
74
flake8 --statistics
70
75
- run :
71
- name : Deploy BTC regtest nodes
76
+ name : Build docker compose images
77
+ command : |
78
+ docker-compose -f Connector/tests/docker-compose/btc.yml -p btc_regtest_api build --no-rm
79
+ no_output_timeout : 1h
80
+ - run :
81
+ name : Deploy BTC regtest node
72
82
command : |
73
- docker-compose -f Connector/tests/docker-compose/btc.yml -p btc_regtest_api up --build - d
83
+ docker-compose -f Connector/tests/docker-compose/btc.yml -p btc_regtest_api up -d
74
84
- run :
75
85
name : Add electrum and bitcoincore to /etc/hosts
76
86
command : |
0 commit comments