Skip to content

Commit

Permalink
chore: simplify node configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jun 8, 2021
1 parent daef543 commit 315f5ae
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 24 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ jobs:

- uses: actions/checkout@v2

- run: |
- name: Lint
run: |
go get -u golang.org/x/lint/golint
make lint
- run: make test-unit
- run: docker-compose up -d
- name: Ensure that node is running
run: |
while [[ `curl -s -o /dev/null -w %{http_code} localhost:3013/api` != 200 ]]; do
sleep 0.2;
done
- run: make test-integration

- name: Build
Expand Down
8 changes: 0 additions & 8 deletions build/docker/entrypoint.sh

This file was deleted.

1 change: 0 additions & 1 deletion build/docker/keys/node/peer_key

This file was deleted.

1 change: 0 additions & 1 deletion build/docker/keys/node/peer_key.pub

This file was deleted.

Binary file removed build/docker/keys/node/sign_key
Binary file not shown.
2 changes: 0 additions & 2 deletions build/docker/keys/node/sign_key.pub

This file was deleted.

11 changes: 3 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ services:
- "3113:3113"
environment:
AETERNITY_CONFIG: /home/aeternity/aeternity.yaml
command: bin/aeternity console -noinput -aecore expected_mine_rate ${AETERNITY_MINE_RATE:-15000}
command: bin/aeternity console -noinput -aecore
volumes:
- ${PWD}/build/docker/aeternity_node_mean16.yaml:/home/aeternity/aeternity.yaml
- ${PWD}/build/docker/accounts.json:/home/aeternity/node/data/aecore/.genesis/accounts_test.json
- ${PWD}/build/docker/keys/node:/home/aeternity/node/keys
- node_db:/home/aeternity/node/data/mnesia
- ${PWD}/docker/aeternity_node_mean16.yaml:/home/aeternity/aeternity.yaml
- ${PWD}/docker/accounts.json:/home/aeternity/node/data/aecore/.genesis/accounts_test.json
compiler:
image: aeternity/aesophia_http:${COMPILER_TAG}
hostname: compiler
ports:
- "3080:3080"
volumes:
node_db:
node_keys:
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ chain:
persist: false
hard_forks:
"1": 0
"2": 2
"3": 4
"4": 6
"4": 1

mining:
autostart: true
Expand Down

0 comments on commit 315f5ae

Please sign in to comment.