Commit Graph

92 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
garyschulte
ad7bd960e2 move to Hyperledger shared runners for current github actions (#5860)
Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-09-08 08:51:42 +10:00
Sally MacFarlane
db410621b0 PR checklist - remove checkbox for non-mainnet ATs (#5514)
* removed non-mainnetATs line

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-05-31 06:52:44 +10:00
Ry Jones
81a2b88ef8 Update sonarcloud.yml (#5419) 2023-05-02 16:59:51 -07:00
Simon Dudley
06c38ed8fc Add database compatibility to the PR checklist (#5349)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2023-04-17 10:40:37 +10:00
Matt Nelson
080fe87c81 updating issue template requesting logs (#5342)
* updating issue template requesting logs

Signed-off-by: Matt Nelson <monels11@gmail.com>
2023-04-14 11:46:24 -07:00
Justin Florentine
ad43d0d9e4 continue despite test failures (#5274)
* don't try to sonarqube on forks
* continue despite test failures

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2023-04-04 10:01:58 -04:00
garyschulte
2c1db63927 fence repolinter docker action to prevent docker user from poisoning the filesystem permissions (#5256)
Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-03-22 11:41:42 -07:00
garyschulte
5bd75b43ae Cleanup after GHA docker user (#5253)
* cheaply attempt to cleanup after docker user

Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-03-21 19:34:13 -07:00