Commit Graph

2 Commits

Author SHA1 Message Date
Ming-Yen Chung 2c3ce72a05
KAFKA-18903 update-cache.sh use curl + jq to get sha contains gradle cache instead of gh cli (#19753)
Instead of using the GH CLI (which requires some local setup), we can
just use cURL and JQ. Additionally, the original logic required setting
up alias.update-cache. After the change, this configuration is no longer
necessary.

validation on mac:

```
❯ ./update-cache.sh
Local branch 'trunk-cached' successfully updated to f26974b16d (from 19
hours ago).
```

Reviewers: Ken Huang <s7133700@gmail.com>, Chia-Ping Tsai
 <chia7712@gmail.com>
2025-06-20 03:02:17 +08:00
Joao Pedro Fonseca Dantas 84bcdc95af
KAFKA-17540: Create script for updating a reference of latest cached trunk commit (#17204)
Uses the `gh` CLI to find the latest trunk commit which has been cached by GitHub actions. By basing PRs off of this
ref rather than HEAD, we will see fewer cache misses in our CI builds.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, David Arthur <mumrah@gmail.com>
2024-10-01 10:06:10 -04:00