Skip to content

Commit

Permalink
Merge pull request #106 from hippocampusSwapper/feature/hip-enableDLC…
Browse files Browse the repository at this point in the history
…CircleCi

Enable DLC in CircleCI configuration
  • Loading branch information
0xp3gasus authored Feb 28, 2022
2 parents 41a3cd0 + 3ee833e commit e076930
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ version: 2
jobs:
ethtest:
machine:
image: ubuntu-1604:202007-01
image: ubuntu-2004:202201-02
docker_layer_caching: true
environment:
NETWORK: regtest
PORT: 80
SSL_PORT: 443
NGINX_CONFIG_PATH: ../../nginx/nginx.conf
CERT_PATH: /etc/ssl/certs
BLOCKCHAIN_PATH: ./blockchain/
COMPOSE_DOCKER_CLI_BUILD: 0
DOCKER_BUILDKIT: 0
steps:
- checkout
- run:
Expand All @@ -27,7 +30,7 @@ jobs:
- run:
name: Deploy ETH regtest nodes
command: |
docker-compose -f Connector/tests/docker-compose/eth.yml -p eth_regtest_api up --build -d
docker-compose -f Connector/tests/docker-compose/eth.yml -p eth_regtest_api up -d
- run:
name: Add ethereumgo to /etc/hosts
command: |
Expand All @@ -42,17 +45,19 @@ jobs:
command: |
source venv/bin/activate
cd Connector && python -m pytest -c tests/eth/pytest_eth.ini -s --cov=eth/ tests/eth
btctest:
machine:
image: ubuntu-1604:202007-01
image: ubuntu-2004:202201-02
docker_layer_caching: true
environment:
NETWORK: regtest
PORT: 80
SSL_PORT: 443
NGINX_CONFIG_PATH: ../../nginx/nginx.conf
CERT_PATH: /etc/ssl/certs
BLOCKCHAIN_PATH: ./blockchain/
BLOCKCHAIN_PATH: ./blockchain/
COMPOSE_DOCKER_CLI_BUILD: 0
DOCKER_BUILDKIT: 0
steps:
- checkout
- run:
Expand All @@ -68,9 +73,14 @@ jobs:
source venv/bin/activate
flake8 --statistics
- run:
name: Deploy BTC regtest nodes
name: Build docker compose images
command: |
docker-compose -f Connector/tests/docker-compose/btc.yml -p btc_regtest_api build --no-rm
no_output_timeout: 1h
- run:
name: Deploy BTC regtest node
command: |
docker-compose -f Connector/tests/docker-compose/btc.yml -p btc_regtest_api up --build -d
docker-compose -f Connector/tests/docker-compose/btc.yml -p btc_regtest_api up -d
- run:
name: Add electrum and bitcoincore to /etc/hosts
command: |
Expand Down

0 comments on commit e076930

Please sign in to comment.