Skip to content

CI: cache deb and rpm for month#94

Merged
ostinru merged 5 commits intoapache:mainfrom
ostinru:cache-deb-and-rpm-for-month
Apr 3, 2026
Merged

CI: cache deb and rpm for month#94
ostinru merged 5 commits intoapache:mainfrom
ostinru:cache-deb-and-rpm-for-month

Conversation

@ostinru
Copy link
Copy Markdown
Collaborator

@ostinru ostinru commented Apr 3, 2026

Cache CPU-heavy CI steps:

  • DEB build
  • RPM build

This should speed up our CI pipelines and reduce github actions quota usage.

Implementations details:

  • Github cache has 7 days TTL. Every build will reset expiration timeout. In order to force CI to build cloudberry from time to time - I am explicitly specifying current month in a cache key.
  • keep both: actions/cache and actions/actions/upload-artifact. In case cache eviction happens during build (e.g. hit 10Gb limit) we will still have running builds.
  • cache reused between main and other PRs (but not between PRs). So, cache will be filled only during builds in main.

@ostinru
Copy link
Copy Markdown
Collaborator Author

ostinru commented Apr 3, 2026

Mostly it is copy-paste from our old PXF. So, I would expect that this should work fine.
https://github.com/open-gpdb/pxf/blob/MDB_STABLE/.github/workflows/ci.yml

@ostinru ostinru marked this pull request as ready for review April 3, 2026 09:53
@ostinru ostinru requested a review from MisterRaindrop April 3, 2026 10:18
@ostinru ostinru merged commit da54b04 into apache:main Apr 3, 2026
98 of 111 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants