mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 07:53:47 +00:00
Added changes per discussion in PR, more changes may be necessary
This commit is contained in:
parent
a0f754dfc5
commit
5e92a7fe25
2 changed files with 5 additions and 46 deletions
15
.github/workflows/packager.yml
vendored
15
.github/workflows/packager.yml
vendored
|
|
@ -2,10 +2,6 @@ name: packager
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
paths:
|
|
||||||
- '**'
|
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- 'v*.*.*'
|
||||||
- 'v*.*.*-*'
|
- 'v*.*.*-*'
|
||||||
|
|
@ -22,9 +18,8 @@ jobs:
|
||||||
uses: actions/setup-go@master
|
uses: actions/setup-go@master
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.19
|
||||||
- name: Generate release tag
|
- name: Adding TAG to ENV
|
||||||
id: tag
|
run: echo "GIT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
|
||||||
run: echo "::set-output name=release_tag::bor_$(date +"%Y.%m.%d_%H-%M")"
|
|
||||||
|
|
||||||
- name: Cleaning repo
|
- name: Cleaning repo
|
||||||
run: make clean
|
run: make clean
|
||||||
|
|
@ -309,10 +304,10 @@ jobs:
|
||||||
- name: Confirming package built
|
- name: Confirming package built
|
||||||
run: ls -ltr packaging/deb/ | grep bor
|
run: ls -ltr packaging/deb/ | grep bor
|
||||||
|
|
||||||
- name: Release bor Packages
|
- name: Pre-Release bor Packages
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.tag.outputs.release_tag }}
|
tag_name: ${{ env.GIT_TAG }}
|
||||||
files: |
|
files: |
|
||||||
packaging/deb/bor**.deb
|
packaging/deb/bor**.deb
|
||||||
binary/bo**
|
binary/bo**
|
||||||
|
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=bor
|
|
||||||
StartLimitIntervalSec=500
|
|
||||||
StartLimitBurst=5
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Restart=on-failure
|
|
||||||
RestartSec=5s
|
|
||||||
ExecStart=/usr/bin/bor server \
|
|
||||||
-chain=mumbai \
|
|
||||||
-port=30303 \
|
|
||||||
-datadir /var/lib/bor/data \
|
|
||||||
-http \
|
|
||||||
-http.addr '0.0.0.0' \
|
|
||||||
-http.port 8545 \
|
|
||||||
-http.api='eth,net,web3,txpool,bor' \
|
|
||||||
-ethstats matic-sentry-01:testnet@bor-mumbai.vitwit.com:3000 \
|
|
||||||
-maxpeers 200 \
|
|
||||||
-txpool.nolocals \
|
|
||||||
-txpool.accountslots '128' \
|
|
||||||
-txpool.lifetime '0h16m0s' \
|
|
||||||
-txpool.globalslots '20000' \
|
|
||||||
-http.vhosts '*' \
|
|
||||||
-http.corsdomain '*' \
|
|
||||||
-ipcpath /var/lib/bor/data/bor.ipc \
|
|
||||||
-miner.gaslimit '20000000' \
|
|
||||||
-metrics \
|
|
||||||
-metrics.expensive \
|
|
||||||
-metrics.prometheus-addr="127.0.0.1:7071" \
|
|
||||||
-metrics.opencollector-endpoint "0.0.0.0:4317"
|
|
||||||
Type=simple
|
|
||||||
KillSignal=SIGINT
|
|
||||||
TimeoutStopSec=120
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
Loading…
Reference in a new issue