Yoann Rodière
62fe772cc0
Fix invalid arguments in GitHub Actions for download of build-scan-data artifacts
2024-10-25 12:07:21 +02:00
Yoann Rodière
5eaaff2e63
Improve build cache strategy
...
Ripped off from Quarkus.
Here's how it will work:
1. We create a cache entry on push only. Pull requests only restore it.
2. We create a new cache entry every day, prefixed with something like
2024-10-25.
3. When restoring the cache, we try the entry for the day first
(2024-10-25) and default to the one for the month (2024-10-*).
Critically, this means we will build each day's cache based on the
previous day's cache.
4. Atlas infra uses its own, separate cache entries.
Co-Authored-By: Guillaume Smet <guillaume.smet@gmail.com>
2024-10-25 12:02:27 +02:00
Yoann Rodière
4e8eb91562
Sanitize user home on GitHub Action job start on Atlas
2024-10-25 11:52:58 +02:00
Christian Beikov
df8b16369f
Rework/simplify GH Actions jobs
...
* Use `pull_request` instead of `pull_request_target`
* Move Develocity build scan publishing for untrusted code to a separate workflow
* Merge Atlas workflow into the main CI workflow
* Split caches between trusted and untrusted code
* Update secrets to use "Develocity" name instead of "Gradle Enterprise"
* Update comments
Co-Authored-By: Yoann Rodière <yoann@hibernate.org>
2024-10-25 11:52:58 +02:00
Gavin King
054aeff78b
completely remove checkstyle and replace it with a simple regex check
...
This is ~ 2 orders of magnitude faster on my machine, so it can be
executed as part of the compileJava task. Also, it actually logs the
failures, instead of making me go hunt for them in some generated
HTML-based report.
2024-09-30 13:10:09 -05:00
Christian Beikov
4a447ac819
Change branch names to main
2024-08-16 13:42:59 +02:00
Jan Schatteman
5dd0aa1e1a
HHH-18037 - Move DerbyDialect to hibernate-community-dialects
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:32 -05:00
Christian Beikov
9f58dc1b98
Enabled CodeQL and Atlas again
2024-08-15 13:52:27 -05:00
Steve Ebersole
5a52290e9c
HHH-17460 - Ongoing JPA 32 work
2024-08-15 13:52:25 -05:00
Steve Ebersole
0e4702ec32
HHH-17377 - Migrate to JPA 3.2
...
https://hibernate.atlassian.net/browse/HHH-17377
CodeQL
2024-08-15 13:52:22 -05:00
Steve Ebersole
f8865106c1
HHH-17377 - Migrate to JPA 3.2
...
https://hibernate.atlassian.net/browse/HHH-17377
jpamodelgen
2024-08-15 13:52:22 -05:00
Steve Ebersole
5781bdd30f
HHH-17377 - Migrate to JPA 3.2
...
https://hibernate.atlassian.net/browse/HHH-17377
Change GitHub workflow to use Java 17
2024-08-15 13:52:22 -05:00
Steve Ebersole
30993f1367
HHH-17377 - Migrate to JPA 3.2
...
https://hibernate.atlassian.net/browse/HHH-17377
Change GitHub workflow to use Java 17
2024-08-15 13:52:22 -05:00
Christian Beikov
0f8ef48e7b
Don't fail the build if build scan publishing fails
2024-05-21 13:21:02 +02:00
marko-bekhta
477be17b8d
Update Develocity build scan configuration
2024-04-17 13:04:46 +02:00
Yoann Rodière
631beeb1fb
Publish build scans on Atlas builds too
2024-04-11 16:49:15 +02:00
Yoann Rodière
6863174a8c
Safely publish build scans even for pull requests
2024-04-11 16:49:15 +02:00
Yoann Rodière
786fbd6b84
Use an organization secret for Develocity access keys
2024-04-11 16:49:15 +02:00
Yoann Rodière
3dcaa20c25
Don't populate Develocity cache in pull requests
...
That's potentially dangerous.
2024-04-11 16:49:15 +02:00
LLEFEVRE
4d7b9f063f
HHH-17319 Use Oracle GraalVM for Atlas builds
2024-01-31 18:37:56 +01:00
dependabot[bot]
7d08f94429
Bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 18:29:00 +01:00
Steve Ebersole
b771afda5b
Populate remote Gradle build cache from CI jobs
2024-01-19 11:58:41 -06:00
Steve Ebersole
0307ee7c7a
Develocity access token for publishing build scans
2023-12-21 09:40:18 -06:00
dependabot[bot]
0c2ba8290e
Bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 15:40:37 +01:00
dependabot[bot]
ff86531fdc
Bump github/codeql-action from 2 to 3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 09:27:25 +01:00
dependabot[bot]
971a96d5bd
Bump actions/setup-java from 3 to 4
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 19:27:13 +01:00
Christian Beikov
b8e8169c09
Cancel in-progress CodeQL workflows on new PR pushes
2023-10-09 18:00:40 +02:00
dependabot[bot]
50a1d78721
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 10:06:45 +02:00
Christian Beikov
86a1cf20f6
HHH-17237 Add Atlas workflow
2023-10-05 22:31:54 +02:00
dependabot[bot]
81a7898162
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 17:18:09 +02:00
dependabot[bot]
d52a44c8eb
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 16:31:13 +01:00
Christian Beikov
8bce5959a2
Update 'com.gradle.enterprise' to '3.12.3', 'com.gradle.common-custom-user-data-gradle-plugin' to '1.8.2', GitHub actions workflow steps setup-java, cache and upload-artifact to v3, and run dependabot on github actions versions
2023-02-03 18:00:08 +01:00
Christian Beikov
1ee34ac0a1
Switch from LGTM to CodeQL
2022-12-16 12:52:58 +01:00
Christian Beikov
4914d14a43
HHH-15626 Move old databases to nightly pipeline and add some SQL Server 2022 features
2022-11-18 11:06:39 +01:00
Christian Beikov
e00ebd91f9
Replace deprecated set-output in GH actions workflow
2022-10-31 12:04:38 +01:00
Christian Beikov
ee7c2ee041
HHH-15615 Add EDB PostgreSQL Advanced to test matrix and fix issues
2022-10-21 12:35:46 +02:00
Christian Beikov
940f15b63e
HHH-15528 Add Cockroach to Jenkins nightly test matrix and fix issues
2022-10-21 09:51:16 +02:00
Christian Beikov
6321016051
HHH-15532 Update PostgreSQL testing to version 10 and 14
2022-09-21 16:55:38 +02:00
Christian Beikov
bfd1f22157
HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version
2022-09-21 13:48:06 +02:00
Christian Beikov
8302b061b2
Revert "HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version"
...
This reverts commit aae3513d58
.
2022-09-21 11:30:14 +02:00
Christian Beikov
aae3513d58
HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version
2022-09-21 11:22:08 +02:00
Alex
33d2a7fc72
HHH-15468 Set permissions
2022-08-29 10:40:53 +02:00
Christian Beikov
43d2274573
Switch to new Oracle image and try to improve podman experience
2022-04-07 12:34:00 +02:00
Christian Beikov
814c1ad679
Get rid of continue-on-error
2022-02-07 16:06:02 +01:00
Yoann Rodière
b7ab3276af
Limit concurrent Github Actions builds
2022-01-13 15:38:07 +00:00
Christian Beikov
7d30b57f15
Get rid of wip/6.0 mention
2021-12-06 18:56:13 +01:00
Sanne Grinovero
905e512316
HHH-14946 Github actions: switch to use Java 11 Temurin
2021-12-01 17:34:28 +00:00
Sanne Grinovero
78c3ae11e0
HHH-14946 Upgrade Github Actions to use Java 11 exclusively
2021-12-01 17:34:28 +00:00
Christian Beikov
1a3629a571
Fix some tests and config. Enable all documentation tests. Add profile for PG13
2021-08-31 14:52:59 +02:00
Christian Beikov
34f0b08c24
HHH-14512 Add Jenkinsfile for matrix build
2021-07-28 16:26:09 +02:00