Commit Graph

133 Commits

Author SHA1 Message Date
Sally MacFarlane
bc4a3df7bf [build] update version of codeql actions (#8305)
* update version of codeql

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-23 23:47:49 +00:00
Fabio Di Fabio
ccb23ab9a0 Fix the cleanup of subprocesses after each AT (#8306)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-16 09:58:24 +10:00
Sally MacFarlane
a3153ebfb4 [build] run workflows on merge group event (#8303)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-14 00:54:32 +00:00
Sally MacFarlane
7e25c0072c [build] workflows to run for merge queue (#8302)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-14 00:15:51 +00:00
Fabio Di Fabio
46e74d1949 Stop all sub processes spawn by acceptance tests (#8284)
* Stop all sub processes spawn by acceptance tests

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Reduce memory used by Gradle

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-14 08:33:14 +10:00
Fabio Di Fabio
80a8662b62 Rebalance GHA runners (#8227)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-12 08:46:28 +10:00
Sally MacFarlane
5534d650fd Revert "Stop all sub processes spawn by acceptance tests" (#8236)
This reverts commit d691f45b0e.

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-04 15:00:28 +10:00
Fabio Di Fabio
d691f45b0e Stop all sub processes spawn by acceptance tests (#8226)
* Stop all sub processes spawn by acceptance tests

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Split long running test in 3 parts

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Run ATs sequentially

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-02-04 08:36:49 +10:00
Sally MacFarlane
6d51821614 [MINOR] add newline to beginning of PR template (#8210)
* add newline to beginning of PR template

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* fix initial typo

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* fix tx typos

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-02-02 23:23:19 +00:00
Sally MacFarlane
0eaad3e375 add spotless to PR checklist (#8185)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-01-30 00:18:36 +00:00
Justin Florentine
e2318fbb81 fixes warning on sonar analysis (#8193)
Signed-off-by: jflo <justin+github@florentine.us>
2025-01-30 09:50:27 +10:00
Justin Florentine
8bc9e3f9fd fixes syntax errors (#8164)
Signed-off-by: jflo <justin+github@florentine.us>
2025-01-24 06:00:02 +10:00
Joshua Fernandes
ff5266af9e add workflow to verify artifacts (#8056)
* add workflow to verify artifacts

Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>

* curate list of artifacts based on PR review

Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>

* make the artifacts list simple

Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>

---------

Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2025-01-14 03:54:20 +00:00
Simon Dudley
6c952a3bd6 Update release-checklist.md (#8033)
Add jfrog check
Make homebrew check clearer

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-12-16 05:33:26 +00:00
Jason Frame
4e300953e9 Include mention of 24 hours notice for confirmation of outstanding PRs in the release checklist (#8004)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2024-12-09 14:35:37 +10:00
Karim Taam
2b654dd5da add tests on pull request for verkle branch (#7957)
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
2024-12-03 15:43:45 +00:00
Justin Florentine
deb3fa2727 adds action to manage stale issues (#7864)
Signed-off-by: jflo <justin+github@florentine.us>
2024-11-06 19:55:57 +00:00
Justin Florentine
11fc094132 adds issue templates (#7820)
* adds issue templates

Signed-off-by: jflo <justin+github@florentine.us>

* adopts pr suggestions

Signed-off-by: jflo <justin+github@florentine.us>

---------

Signed-off-by: jflo <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-11-03 23:36:22 +00:00
Simon Dudley
73a6042e0b Update release checklist (#7794)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-10-22 04:07:11 +00:00
Sally MacFarlane
f0e9f409e6 Copyright Besu (#7768)
* update copyright for new files only if not matching existing patterns
* scripts too
* scripts all use Besu copyright

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-10-15 12:47:41 +10:00
Justin Florentine
3e7e4d88fd Sonar cloud build failure (#7739)
* don't try to import to an existing db
* deprecated task
* testutil subproject hit a sonar bug
---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-10-07 22:29:38 +00:00
Chaminda Divitotawela
8cf20ed7f5 Changes to release workflow (#7711)
* Changes to release workflow

- Workflow environment variable changed to RELEASE_VERSION instead of RELEASE_NAME to make it more meaningful

- Workflows draft-release and docker-promote previously trigger workflow container-verify. This can result in trigger is successful but actual verification workflow fails. This will not be reflected in the draft-release and docker-promote workflows. Container verify code is embedded in the draft-release and docker-promote workflows to avoid this confusion

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>

* PR comment improvements

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>

* Match the only tags starting with word latest for latest check

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>

---------

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2024-10-03 12:07:19 +10:00
Chaminda Divitotawela
fbec990bd2 Update release process (#7707)
Previously GitHub release will be created which triggers building and publishing the artifacts. Release engineers found workflow could fail after the GitHub release created. Community may subscribed to GitHub releases but if the workflow failed, artifacts for the release would not available.

Proposed solution requires release engineer to run a GitHub workflow manually by providing the Git tag which creates a draft GitHub release. During this workflow, release artifacts binary distribution, docker images (not latest), Artifactory jars created and published. Release engineer can update the release notes in draft release and publish the release. At the time when the release is published, release engineer is confident all the artifacts are ready. Upon publishing the release, another workflow is triggered to promote the release version of docker images to latest

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2024-10-02 10:53:03 +10:00
Chaminda Divitotawela
682daa31b9 Update release workflow (#7680)
Set RELEASE_NAME as environment variable for the step

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
2024-09-27 07:19:08 +10:00
Fabio Di Fabio
f1da4e77e6 Rebalance GHA runners to reduce ATs failure and speedup unit tests [part 2] (#7658)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-09-20 14:31:37 +00:00
Fabio Di Fabio
676e1f8c13 Rebalance GHA runners to reduce ATs failure and speedup unit tests (#7656)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-09-20 13:52:12 +00:00
daniellehrner
cb1e36a992 Fix 7702 signature bound checks (#7641)
* create separate signature class for code delegations as they have different bound checks

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* test if increasing xmx let's failing acceptance test pass

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

* javadoc

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-09-20 11:56:25 +10:00
garyschulte
6ea0ed4c70 propagate release name preprocessing via job output (#7599)
Signed-off-by: garyschulte <garyschulte@gmail.com>
2024-09-11 01:55:45 +00:00
Fabio Di Fabio
d3705506b6 CI: new job to upload HTML test reports even if tests fail (#7555)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-09-03 07:32:31 +10:00
Chaminda Divitotawela
725dcf1c87 Release checklist update (#7494)
* Release checklist update

More details on homebrew and docs releases in release checklist issue template

Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Chaminda Divitotawela <cdivitotawela@users.noreply.github.com>

* Remove release creation for besu-docs from checklist

It has been agreed there is no value creating releases in the hyperledger/besu-docs repo. Remove the related instruction from checklist

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>

---------

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
Signed-off-by: Chaminda Divitotawela <cdivitotawela@users.noreply.github.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2024-08-26 06:19:30 +00:00
garyschulte
c24dea8474 preprocess release name for release workflow (#7486)
Signed-off-by: garyschulte <garyschulte@gmail.com>
2024-08-19 15:46:15 -07:00
Sally MacFarlane
cafe82d2d5 clarification for release steps (#7400)
* clarification for release steps

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* PR feedback

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* burn-in signoff

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* added items

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2024-08-16 01:37:10 +00:00
Simon Dudley
592acb7b50 Update release checklist (#7329)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-07-18 04:09:41 +00:00
Sally MacFarlane
3f00bad598 [MINOR] Fixed some typos (#7299)
* typos

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-07-10 23:49:37 +00:00
Chaminda Divitotawela
86b9c38015 container verify GitHub workflow (#7239)
Container verification step in release process automated with the container verify GitHub workflow. New workflow is triggered at the end of the release workflow which will check the release container images starts successfully. Verification test only checks container starts and reach the Ethereum main loop

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
2024-06-19 10:28:05 +10:00
Chaminda Divitotawela
aef938964d fix: workflow permission to upload trivy sarif report (#7234)
Trivy scan result upload to GitHub fails due to permission issue. Added permission security-events=write to the workflow file as a fix. Since workflow permission explicitly defined, it requires contents=read explicity set as well

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
2024-06-18 11:42:50 +10:00
Chaminda Divitotawela
529bd336fc fix: update artifacts hash on release page (#7231)
Release workflow publish step was missing the depepndency of artifacts jobs. Due to this reason it could not collect the artifact hashes from the artifacts job. This was introduced in the release workflow consolidation

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
2024-06-14 13:06:47 +00:00
Chaminda Divitotawela
1837f46080 fix: pin github actions (#7228)
Repository follow standard to use git hash to pin the GitHub actions. Updated the container security scan workflow actions with their git hashes

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
2024-06-14 10:06:40 +10:00
Chaminda Divitotawela
884834f352 Add container security scanning (#7216)
Container security scanning workflow added. This runs on schedule everyday. Also possible to run on-demand for a given image tag

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2024-06-13 22:21:00 +10:00
Justin Florentine
8a8f1ce712 Issue Template for Release managers (#7207)
* Creates a new issue template for releases

Signed-off-by: Justin Florentine <justin+github@florentine.us>

* aligns release process with wiki docs

Signed-off-by: Justin Florentine <justin+github@florentine.us>

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-06-12 19:36:44 +00:00
Usman Saleem
2d59f4dd7e feat!: Java 21 for build and runtime (#7177)
* build: Update jacoco version to 0.8.11
* build: Enforce Java 21 and above check for build
* CI: Use Java 21 in Github CI workflows
* CI: Use Java 21 in circleci workflows
* build: Update gradle verification metadata for jacoco 0.8.11
* refactor: Fix javadoc related warnings which are applicable to Java 21
* fix(test): BackwardSyncAlgSpec slightly increase timeout to pass it in CI

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
2024-06-06 15:29:18 +10:00
Chaminda Divitotawela
777479699f DCO Check GitHub workflow (#7179)
DCO App not working and needed to be disabled the check.
Introducing DCO GitHub action workflow to validate the commit signatures.

Closes #7175

Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
Signed-off-by: Ry Jones <ry@linux.com>
2024-06-05 09:48:32 -04:00
Sean Young
31dff4410a Use github arm64 runners (#7173)
Now that the arm64 runners are re-created with the ubuntu 22.04 image,
docker and other tools are available.

See #7053 and #7171

fixes #7026

Signed-off-by: Sean Young <sean@mess.org>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2024-06-05 10:56:59 +00:00
Fabio Di Fabio
812886660f Cleanup transition steps used to update test reports on main (#7158)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-30 08:44:55 -04:00
Chaminda Divitotawela
d7c028966d Release process has been broken down to pre-release and release to allow user testing. This is not required and adds additional step. Release workflows are combined into a single release workflow which trigger on a release (#7152)
Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
2024-05-30 12:22:37 +10:00
Fabio Di Fabio
3c57ca2821 Fix acceptance reports path and how to get the latest merged PR (#7147)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-28 08:03:34 -07:00
Fabio Di Fabio
067164f7b5 Update JUnit test reports on PR merged on main (#7141)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-28 09:13:00 +10:00
Fabio Di Fabio
40164475b3 Split unit tests by time (#7079)
* Split unit tests by time

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Parallelize compile and unit tests since there is not shared cache

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* fix

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Reduce ATs runnes to 10

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Apply suggestions from code review

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-05-21 07:51:20 +00:00
Simon Dudley
2db3705b1d Revert "Use github arm64 runners (#7054)" (#7087)
This reverts commit 2a39f2ccca.

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-05-10 03:39:32 +00:00
Sean Young
2a39f2ccca Use github arm64 runners (#7054)
Signed-off-by: Sean Young <sean@mess.org>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2024-05-10 02:26:17 +00:00