167 Commits

Author SHA1 Message Date
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
Fabio Di Fabio
0513bfafa2 disable checkLicense also when publishing artifacts
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-09 16:29:19 +02:00
Fabio Di Fabio
0d0a1786c8 Temporary disable checkLicense gradle task since not working
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-09 15:56:24 +02:00
Fabio Di Fabio
074fd1fe7d Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/reference-tests.yml
#	.github/workflows/splitList.sh
2024-05-07 19:21:44 +02:00
garyschulte
5656c5555a Bump execution spec tests, reprise (#7056)
* execution-spec-tests generate state and blockchain tests separately

Signed-off-by: garyschulte <garyschulte@gmail.com>
2024-05-06 15:19:20 -07:00
Usman Saleem
ce59da5bd5 build - Apply spotless license header checks to shell scripts (#7048)
* build - apply license to shell scripts
* build - shell script license text
* fix - Add missing shebang line in evmtool benchmark shell scripts
* build - update shell license text and spotless regexp
* build - apply license header to shell scripts
* fix - Update shebang in splitList to use bash

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
2024-05-04 08:41:39 +00:00
Fabio Di Fabio
d4af85a94e Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/acceptance-tests.yml
#	.github/workflows/artifacts.yml
#	besu/src/main/java/org/hyperledger/besu/controller/BesuController.java
#	build.gradle
#	ethereum/evmtool/build.gradle
2024-05-03 14:50:21 +02:00
Fabio Di Fabio
5ce06cf183 Build Docker images for arm64
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-05-02 15:17:10 +02:00
Simon Dudley
34acf8c839 Map SHA outputs correctly (#6998)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-04-26 00:35:07 +00:00
Fabio Di Fabio
e4df70a350 Support removed and added test when splitting by time (#6990)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-04-24 07:29:11 +10:00
Fabio Di Fabio
941ab01426 Split acceptance tests by time (#6953)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-04-16 09:17:41 +00:00
garyschulte
b67ad6903e Docker develop publishing task (#6893)
Publish to dockerhub on merge to the main branch

Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2024-04-15 05:33:26 +00:00
Simon Dudley
5858a8b707 Fix permissions publish and gradle issue for publishArtifactory (#6930)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-04-11 22:13:17 +00:00
Fabio Di Fabio
200246d523 Fix docker test
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-04-08 14:50:54 +02:00
Justin Florentine
c589c5b39d One JDK to rule them all (#6865)
* reduce number of jvms provided
* consistent sha length

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-04-06 01:54:17 +00:00
Justin Florentine
65327aca29 use event name instead of ref, which may be non-deterministic (#6866)
* use event name instead of ref, which may be non-deterministic

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-04-03 13:36:04 +00:00
Simon Dudley
8ed9c74928 Remove develop prelease workflow (#6860)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-04-03 07:13:29 +10:00
Justin Florentine
5ea9cd64c2 workaround for broken publishing of buildinfo (#6856)
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-04-01 11:19:06 -07:00
Matt Nelson
6c1991a075 update broken link, issue template (#6829)
Signed-off-by: Matt Nelson <85905982+non-fungible-nelson@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-29 02:42:49 +00:00
Justin Florentine
56e1844415 Block on skipped matrix (#6818)
* also fail on cancelled and skipped
* DCO correction

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Usman Saleem <usman@usmans.info>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Lucas Saldanha <lucas.saldanha@consensys.net>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Karim TAAM <karim.t2am@gmail.com>
2024-03-26 17:09:37 +00:00
Simon Dudley
6fe547a3be Remove draft config from develop release action (#6807)
Trying to get develop tag to be a pre-release

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2024-03-26 16:31:59 +10:00
Usman Saleem
c9c237e57d ci: Fix Publish GH workflow Artifactory secrets (#6788)
Signed-off-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2024-03-22 15:26:46 +00:00
Sally MacFarlane
3455ddf3fb updated PR template (#6773)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-22 13:54:06 +10:00
Justin Florentine
bee0e5e807 Cleanup dev releases (#6782)
* delete develop release before creating new one

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-21 23:26:40 +00:00
Justin Florentine
6337689e09 typo in env var (#6780)
* get value for sonar options from vars

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-22 07:32:47 +10:00
Justin Florentine
97d88d1365 Artifactory publish (#6781)
* correcting env vars
* removes conditionals which result in skipped tasks being considered success
* spotless fix

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-21 13:41:19 -04:00
Fabio Di Fabio
b48324b859 Merge branch 'main' into zkbesu
# Conflicts:
#	.github/pull_request_template.md
#	.github/workflows/acceptance-tests.yml
#	.github/workflows/artifacts.yml
#	.github/workflows/integration-tests.yml
#	.github/workflows/pre-review.yml
#	.github/workflows/reference-tests.yml
#	.github/workflows/sonarcloud.yml
#	build.gradle
#	ethereum/evmtool/build.gradle
#	gradle.properties
2024-03-21 11:03:49 +01:00
Justin Florentine
c564fcd919 get value for sonar options from vars (#6767)
Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-21 12:41:04 +10:00
Justin Florentine
8c41e7c44d Artifactory publish (#6746)
* resumes publishing jars, but not distros to artifactory
* checkMavenCoordinateCollisions needs a publication with an explicitly set version, does not inherit project.version

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: garyschulte <garyschulte@gmail.com>
2024-03-15 21:32:39 -04:00
Justin Florentine
de0704afbf PR Annotations removed (#6735)
* pull_req instead of target
* updates template to put description first
* compensate for changes to versioning on interim builds

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-03-15 12:59:35 -07:00
Fabio Di Fabio
acfe742071 Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/acceptance-tests.yml
#	.github/workflows/artifacts.yml
#	.github/workflows/codeql.yml
#	.github/workflows/docker.yml
#	.github/workflows/integration-tests.yml
#	.github/workflows/pre-review.yml
#	.github/workflows/reference-tests.yml
#	.github/workflows/release.yml
#	.github/workflows/sonarcloud.yml
#	besu/src/main/java/org/hyperledger/besu/services/TransactionSimulationServiceImpl.java
#	ethereum/core/src/main/java/org/hyperledger/besu/ethereum/transaction/CallParameter.java
2024-03-13 17:54:29 +01:00
Justin Florentine
934e43558b Gha updates (#6705)
* make artifacts more snapshot friendly
* break out new workflows for snapshots, and a develop releease
* removes checking for approval, runs on pr update
* adds concurrency so updated refs cancel prior runs if still running
* explicitly disable caching on gradle setup tasks
---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-03-12 22:24:22 +00:00
Justin Florentine
56bc85205a Abstracts out which container registry (#6606)
* repo owner didn't include repo name
* switches back to docker.io
* specify registry and login consistently
* artifacts workflow can be manually executed

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-02-27 08:03:28 +10:00
Justin Florentine
ef75afbe4d Gha docker pull (#6600)
* append docker pull command for the release to notes

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-02-21 18:12:22 +01:00
Justin Florentine
f921ddc4e4 PR Template updates (#6598)
* removes commenting on pr action, in favor of an updated pr template. also updates gradle build actions
* adds fix for nightly docker builds
* uses consolidation status to determine re-runs
* mention docker image registry in changelog
---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-02-21 09:19:25 -05:00
Justin Florentine
737d931fca Test results artifacts (#6585)
* wildcard in place of task name in path, in case it gets changed.
* test splitting action is unreliable at these numbers of tests
* pin to new gradle action, increase runners
* found the missing tests, back to parity
* rename to avoid consolidation status collision with workflow name
* fixes javadoc checks at build time
* overrides project version on release, so embeds (startup info) will match release artifacts


---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: RoboCopsGoneSock <158174948+RoboCopsGoneSock@users.noreply.github.com>
2024-02-19 07:14:43 +10:00
Justin Florentine
3927753f65 Github Actions Updates (#6537)
- Uses pull_request_target to make sure action definitions only come from main or release-*. This also allows them to escalate privs.
- All priv escalations moved as narrowly as possible. Typically this is only required to upload test results.
- All actions pinned to specific SHA versions. When updated, repository settings will need to be adjusted to allow it.

---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2024-02-07 13:21:23 -05:00
Fabio Di Fabio
73c3b2a760 Delete main repo CI files (#37)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2024-02-06 13:35:04 +01:00
Fabio Di Fabio
6148f3c29f Merge branch 'main' into zkbesu 2024-02-06 11:47:03 +01:00
Sally MacFarlane
7be3859dfe only run non-privacy ATs (#6526)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2024-02-06 12:52:02 +10:00
Gabriel Fukushima
a35b05fe1b Fix typo (#6520)
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
2024-02-02 17:09:01 +10:00
Fabio Di Fabio
2d92f8533a Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/codeql.yml
#	.github/workflows/gradle-wrapper-validation.yml
#	.github/workflows/pr-checklist-on-open.yml
#	.github/workflows/release.yml
#	.github/workflows/sonarcloud.yml
#	build.gradle
2024-02-01 14:29:33 +01:00
Justin Florentine
9cb6600456 GitHub Actions CI/CD (#6427)
Implements a CI/CD pipeline using Github Actions, to replace the current CircleCI implementation.

https://wiki.hyperledger.org/pages/viewpage.action?pageId=80774216


---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: jflo <justin+github@florentine.us>
Signed-off-by: RoboCopsGoneSock <158174948+RoboCopsGoneSock@users.noreply.github.com>
Signed-off-by: Danno Ferrin (shemnon) <danno.ferrin@shemnon.com>
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Signed-off-by: ahamlat <ameziane.hamlat@consensys.net>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: RoboCopsGoneSock <158174948+RoboCopsGoneSock@users.noreply.github.com>
Co-authored-by: Danno Ferrin <danno.ferrin@shemnon.com>
Co-authored-by: Karim TAAM <karim.t2am@gmail.com>
Co-authored-by: garyschulte <garyschulte@gmail.com>
2024-01-31 08:41:02 -05:00
Fabio Di Fabio
1a7244f808 Update Gradle plugins and replace unmaintained license plugin (#6275)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-12-18 11:08:32 +01:00
Fabio Di Fabio
f79d71d95d Merge branch 'main' into zkbesu
# Conflicts:
#	.github/workflows/checks.yml
#	.github/workflows/codeql.yml
#	.github/workflows/release.yml
#	.github/workflows/repolinter.yml
#	.github/workflows/sonarcloud.yml
2023-11-23 10:50:12 +01:00
Sally MacFarlane
43260023fd update checkout action to v4 (#6197)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-11-23 06:19:59 +10:00
Gabriel-Trintinalia
f205c0a9c4 Split workflow so that publishing only happens when PR is merged (#25)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
2023-11-10 08:38:53 +11:00