Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-32392][ci] Invalidate Maven repo cache on Azure every year to reduce its disk usage #22858

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

PatrickRen
Copy link
Contributor

What is the purpose of the change

This pull request adds year number before the cache key of local Maven repo on Azure Pipeline, so that the cache will be invalidated per year, in order to reduce the disk usage of Maven repo.

Brief change log

  • Invalidate Maven repo cache on Azure every year to reduce its disk usage

Verifying this change

This change is already covered by existing tests.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
  • The serializers: (yes / no / don't know)
  • The runtime per-record code paths (performance sensitive): (yes / no / don't know)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
  • The S3 file system connector: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot
Copy link
Collaborator

flinkbot commented Jun 26, 2023

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@PatrickRen
Copy link
Contributor Author

@rmetzger could you take a look at this PR? Thanks!

@rmetzger
Copy link
Contributor

When I first saw the change, I was worried that we might get an outage on January 1st because re-downloading all the mvn artifacts has high failure rates. But I see your CI run has passed, so I'm more optimistic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants