Commit Graph

18 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
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
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
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
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
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
Ry Jones
81a2b88ef8 Update sonarcloud.yml (#5419) 2023-05-02 16:59:51 -07: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
Sally MacFarlane
48e2063fb7 [GHA] actions not required on merge group (#5233)
* no need to run codeql on merge group
* no need to run repolinter on merge group
* no need to run checks and gradle-wrapper on merge group

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

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-03-20 09:02:03 +10:00
garyschulte
a76e1f135f use x86 for codeQL github action (#5235)
* use x86 for codeQL github action
* and spotless
* add javadoc_17 runs-on

Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-03-17 19:01:53 -07:00
garyschulte
759697e20a Mainnet AT reduce parallelism and self-hosted runners (#5234)
* reduce parallelism to 4
* use self-hosted runners

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-03-17 18:04:16 -07:00
Sally MacFarlane
3dcedb5128 add merge_group action trigger (#5132)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-03-13 11:52:33 +10:00
Usman Saleem
e18e407c4e Use Java 17 to build and run Besu (#4977)
Update following sections:
Gradle build, CircleCI, GitHub Actions, Docker

The devp2p TLS mutual authentication unit tests dealing with PKCS11+nss and QBFT+PKCS11+nss ATs were failing on Java 17 when dealing with RSA keys. The unit tests and AT are updated to use EC keys instead. The keystores, truststores, CRL etc. involved in those ATs are regenerated and detailed instructions are provided on how they are created.

Signed-off-by: Usman Saleem <usman@usmans.info>
2023-02-03 10:17:54 +10:00
Sally MacFarlane
834d13d8b3 Attempt to fix CodeQL OOM (#3877)
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2022-05-20 14:09:05 +10:00
Joshua Fernandes
57c71fdb10 adding codeql to besu to check for quality (#3774)
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>

Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2022-05-06 12:08:19 +10:00