Commit Graph

35 Commits

Author SHA1 Message Date
Yoann Rodière cca12b90d0 Do not include the whole Gradle cache in GH Actions caches
We don't need the whole cache, since most (all?) of it is stored on
Develocity already.

Including ./gradle/caches/modules-2 is enough, because that's where
Maven dependencies are stored, and *those* are not stored on Develocity.

(cherry picked from commit 013bb46470)
2024-10-29 17:47:11 +01:00
Yoann Rodière b8b7af92cd 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>
(cherry picked from commit 5eaaff2e63)
2024-10-29 17:47:11 +01:00
Christian Beikov 66dbb7a1fc HHH-17981 Automate maintenance releases for 6.4 2024-04-24 14:44:42 +02:00
dependabot[bot] e5a2b3ec0b 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:19 +01:00
Christian Beikov cbf4acde33 Fix running GH workflows on 6.4 branch 2023-12-22 19:34:22 +01: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] 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
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 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
Christian Beikov 6447ca9b26 HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config 2021-07-06 10:14:20 +02:00
Christian Beikov b166e684e1 Skip certain LockTests for Oracle on GH Actions which don't work there 2021-04-06 16:12:19 +02:00
Steve Ebersole 725faa258f HHH-14509 : Git master -> main branch renaming 2021-03-19 10:59:03 -05:00
Christian Beikov 15caff9cbc Fix PostgreSQL cleanup wrt extensions, fix Oracle cleanup wrt sys objects, always drop id tables in tests, fix global temp table tests, add on commit delete rows for hana dialects 2021-02-10 09:30:48 +01:00
Christian Beikov d767d46d05 Fix most tests to work on all DBs and fix a bunch of connection leaks 2021-02-03 17:03:47 +01:00
Christian Beikov 36d9ec4040 Fix permissions and typo 2020-11-26 17:27:44 +01:00
Christian Beikov 234bfab1ac HHH-14336 Enable tests across databases in Github Actions 2020-11-26 16:15:15 +01:00