Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport master to develop (v1.5.2) #1369

Merged
merged 43 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
6351c62
Adding refactored packager, adding pbss configs, removal of mumbai ( …
djpolygon Aug 21, 2024
54f8743
Fixing naming convention for pbss_config.toml's and reverting config.…
djpolygon Aug 21, 2024
908f53f
Bumping go version
djpolygon Aug 22, 2024
54de128
bumping releaser and checkout versions to address future end of life …
djpolygon Sep 9, 2024
a4d9b39
Updating to add quotes to the pbss portions for db.engine and state.s…
djpolygon Sep 9, 2024
aeb32a8
Updating to comment out trie, bad copy over from test profile
djpolygon Sep 9, 2024
d74c232
Adding rpm packagers
djpolygon Sep 20, 2024
2778f66
Updating proper path for main pr
djpolygon Sep 20, 2024
bac860a
Adding amoy static-nodes and bootnodes for amoy
djpolygon Oct 1, 2024
abf89a6
Adding mainnet bootnodes and static-nodes
djpolygon Oct 1, 2024
5e52fe0
Updated amoy static-nodes and bootnodes for amoy
djpolygon Oct 1, 2024
b35b0e0
Bump version to v1.5.0-beta
cffls Oct 3, 2024
827811a
Fix panic in eth_getLogs
cffls Oct 4, 2024
e29aea8
Merge pull request #1342 from cffls/v1.5.0-candidate
cffls Oct 4, 2024
c8c8311
Bump up version to v1.5.0-beta2
cffls Oct 4, 2024
8185d48
internal/cli: add: prometheus sever timeouts
marcello33 Oct 7, 2024
63dd8d6
fix: lint
marcello33 Oct 7, 2024
2a7c58a
Merge pull request #1344 from maticnetwork/mardizzone/promeserver_to
cffls Oct 7, 2024
3e30a92
Updating to use master instead of main per default bor branch
djpolygon Oct 8, 2024
f489fec
Updated default branch to use to master per bor default branch
djpolygon Oct 8, 2024
a7578a3
Fix panic on getting safe block
cffls Oct 8, 2024
48bdfa7
Fix tx index limit not being used correctly
cffls Oct 8, 2024
3b9f73a
Fix bor tx missing
cffls Oct 9, 2024
f416499
Bump version to v1.5.0-beta3
cffls Oct 8, 2024
4fd4ff0
Adding dns entries for the enrtree for pos mesh backbone nodes
djpolygon Oct 9, 2024
2cae584
Merge pull request #1311 from maticnetwork/djpolygon/SPEC-154
djpolygon Oct 10, 2024
bfede06
Merge pull request #1339 from maticnetwork/djpolygon/rpm_packaging
djpolygon Oct 10, 2024
a106bd1
check block number and timestamp options when filtering conditional t…
jj1980a Oct 10, 2024
57a7f7f
Fix eth_getTransactionReceipt
cffls Oct 15, 2024
19ab472
Add flag discovery.dns
cffls Oct 15, 2024
27a626d
Changing names of pbss profiles for consistency in deb and rpm
djpolygon Oct 16, 2024
4ebe634
Merge pull request #1356 from maticnetwork/djpolygon/rpm_updates
djpolygon Oct 16, 2024
cf648c9
Bump version to v1.5.0-beta5
cffls Oct 16, 2024
38fabe9
Updating uploader
djpolygon Oct 17, 2024
531028b
Merge pull request #1357 from maticnetwork/djpolygon/update_uploader
djpolygon Oct 17, 2024
31164fe
Bump version to v1.5.0-beta6
cffls Oct 17, 2024
10fa91f
Bump version to v1.5.0
cffls Oct 21, 2024
c73129e
Merge pull request #1359 from maticnetwork/v1.5.0-candidate
cffls Oct 23, 2024
356e774
Fix bor logs missing (#1361)
cffls Oct 25, 2024
698f22f
Fix panic on nil block in ethstats (#1360)
cffls Oct 25, 2024
ff29b1f
Bump version to v1.5.1 (#1362)
cffls Oct 28, 2024
ab66e61
Fix getBlockTransactionCountByNumber/Hash (#1365)
cffls Oct 29, 2024
16268f6
Bump version to v1.5.2 (#1366)
cffls Oct 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
387 changes: 387 additions & 0 deletions .github/workflows/amoy_deb_profiles.yml

Large diffs are not rendered by default.

405 changes: 405 additions & 0 deletions .github/workflows/mainnet_deb_profiles.yml

Large diffs are not rendered by default.

1,372 changes: 0 additions & 1,372 deletions .github/workflows/packager.yml

This file was deleted.

126 changes: 126 additions & 0 deletions .github/workflows/packager_deb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
name: packager_deb

on:
push:
branches:
- 'master'
paths:
- '**'
tags:
- 'v*.*.*'
- 'v*.*.*-*'

jobs:
build:
permissions:
id-token: write
contents: write
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.22.1
# Variables
- name: Adding TAG to ENV
run: echo "GIT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- name: adding version
run: |
NUMERIC_VERSION=$( echo ${{ env.GIT_TAG }} | sed 's/[^0-9.]//g' )
echo "VERSION=$NUMERIC_VERSION" >> $GITHUB_ENV

- name: Cleaning repo
run: make clean
- name: Building for amd64
run: make bor

- name: Making directory structure
run: mkdir -p packaging/deb/bor/usr/bin
- name: Copying necessary files
run: cp -rp build/bin/bor packaging/deb/bor/usr/bin/
- name: Delete control file
run: rm -rf packaging/deb/bor/DEBIAN/control

# Control file creation
- name: create control file
run: |
touch packaging/deb/bor/DEBIAN/control
echo "Package: bor" >> packaging/deb/bor/DEBIAN/control
echo "Version: ${{ env.VERSION }}" >> packaging/deb/bor/DEBIAN/control
echo "Section: base" >> packaging/deb/bor/DEBIAN/control
echo "Priority: optional" >> packaging/deb/bor/DEBIAN/control
echo "Architecture: amd64" >> packaging/deb/bor/DEBIAN/control
echo "Maintainer: devops@polygon.technology" >> packaging/deb/bor/DEBIAN/control
echo "Description: bor binary package" >> packaging/deb/bor/DEBIAN/control

- name: Creating package for binary for bor ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: amd64

- name: Running package build
run: dpkg-deb --build --root-owner-group packaging/deb/bor-${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: amd64

- name: Cleaning build directory for arm64 build
run: make clean

- name: Updating the apt-get
run: sudo apt-get update -y

- name: Adding requirements for cross compile
run: sudo apt-get install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu

- name: delete amd64 control file
run: rm -rf packaging/deb/bor/DEBIAN/control

- name: Building bor for arm64
run: GOARCH=arm64 GOOS=linux CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ CGO_ENABLED=1 go build -o build/bin/bor ./cmd/cli/main.go

# Control file for arm64 creation
- name: create control file
run: |
touch packaging/deb/bor/DEBIAN/control
echo "Package: bor" >> packaging/deb/bor/DEBIAN/control
echo "Version: ${{ env.VERSION }}" >> packaging/deb/bor/DEBIAN/control
echo "Section: base" >> packaging/deb/bor/DEBIAN/control
echo "Priority: optional" >> packaging/deb/bor/DEBIAN/control
echo "Architecture: arm64" >> packaging/deb/bor/DEBIAN/control
echo "Maintainer: devops@polygon.technology" >> packaging/deb/bor/DEBIAN/control
echo "Description: bor binary package" >> packaging/deb/bor/DEBIAN/control


- name: Creating package for binary for bor ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: arm64

- name: Running package build
run: dpkg-deb --build --root-owner-group packaging/deb/bor-${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: arm64

# Shasum
- name: shasum the bor debian package
run: cd packaging/deb/ && sha256sum bor-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb > bor-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb.checksum
env:
ARCH: amd64

- name: shasum the bor debian package
run: cd packaging/deb/ && sha256sum bor-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb > bor-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb.checksum
env:
ARCH: arm64

- name: Release bor Packages
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.GIT_TAG }}
prerelease: true
files: |
packaging/deb/bor**.deb
packaging/deb/bor**.deb.checksum
Loading
Loading