Commit Graph

9 Commits

Author SHA1 Message Date
Yoann Rodière c1e662707d 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:49:30 +01:00
Yoann Rodière b707b022b3 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:49:30 +01:00
Yoann Rodière dcabe1071a Sanitize user home on GitHub Action job start on Atlas
(cherry picked from commit 4e8eb91562)
2024-10-29 17:49:30 +01:00
LLEFEVRE 757452ef43 HHH-17319 Use Oracle GraalVM for Atlas builds 2024-03-27 14:11:58 +01:00
dependabot[bot] c3bdfb131c 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 19:42:07 +01:00
dependabot[bot] 7e72a43caf 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-05 15:40:22 +01:00
Christian Beikov 67c4a36c96 Don't run CI jobs on pushes to branch 2023-12-05 15:40:22 +01:00
dependabot[bot] 5d2fcecebd 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-11 18:47:42 +02:00
Christian Beikov 917457f36d HHH-17237 Add Atlas workflow 2023-10-11 18:47:42 +02:00