Added changes per discussion in PR, more changes may be necessary

This commit is contained in:
Daniel Jones 2022-11-23 07:54:15 -06:00
parent a0f754dfc5
commit 5e92a7fe25
2 changed files with 5 additions and 46 deletions

View file

@ -2,10 +2,6 @@ name: packager
on:
push:
branches:
- 'main'
paths:
- '**'
tags:
- 'v*.*.*'
- 'v*.*.*-*'
@ -22,9 +18,8 @@ jobs:
uses: actions/setup-go@master
with:
go-version: 1.19
- name: Generate release tag
id: tag
run: echo "::set-output name=release_tag::bor_$(date +"%Y.%m.%d_%H-%M")"
- name: Adding TAG to ENV
run: echo "GIT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- name: Cleaning repo
run: make clean
@ -309,10 +304,10 @@ jobs:
- name: Confirming package built
run: ls -ltr packaging/deb/ | grep bor
- name: Release bor Packages
- name: Pre-Release bor Packages
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
tag_name: ${{ env.GIT_TAG }}
files: |
packaging/deb/bor**.deb
binary/bo**
binary/bo**

View file

@ -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