Skip to content

ci: add package caching and retry to reduce CI flakiness#2152

Open
lucasmcdonald3 wants to merge 1 commit intomainfrom
ci-caching-improvements
Open

ci: add package caching and retry to reduce CI flakiness#2152
lucasmcdonald3 wants to merge 1 commit intomainfrom
ci-caching-improvements

Conversation

@lucasmcdonald3
Copy link
Contributor

Issue #, if available:

N/A

Description of changes:

Ports CI caching and retry improvements from the material providers library to reduce flakiness in CI jobs.

  • Add Gradle caching to Java setup step
  • Add Maven local repository cache step (~/.m2/repository)
  • Add pip caching to Python setup step
  • Disable Go module caching at repo root (no go.mod present)
  • Wrap Go imports install in nick-fields/retry@v3 (3 attempts, 30s wait between retries)

Source PRs:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Add Gradle caching to Java setup
- Add Maven local repository cache step
- Add pip caching to Python setup
- Disable Go module caching (no go.mod at repo root)
- Wrap Go imports install in retry (3 attempts, 30s wait)

Ported from aws/aws-cryptographic-material-providers-library#1824 and #1825
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.

1 participant