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

Introduce storage abstraction and locking mechanism #5

Merged
merged 7 commits into from
Apr 11, 2020

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Apr 10, 2020

Changes:

  • add storage and artifact types
  • extract fs operations to storage functions
  • construct artifact paths from Kubernetes objects metadata
  • add file based locking to reconcilers
  • use storage helper in reconcilers
  • implement artifacts GC
  • rename GitRepository.Status artifacts to artifact
  • use the same condition type as kubernetes/enhancements#1624 so it can be dropped in favour of the Kubernetes type when that PR is merged
  • add ready condition helpers

- Use the same condition type as kubernetes/enhancements#1624 so it can be dropped in favour of the Kubernetes type when that PR is merged
- add storage and artifact types
- extract fs operations to storage functions
- construct artifact paths from Kubernetes objects metadata
- use storage helper in GitRepositoryReconciler
- implement artifacts GC
- rename status artifacts to artifact
- move checksum and file write operations to Storage
- implement GC
@stefanprodan stefanprodan force-pushed the api-v1alpha1 branch 3 times, most recently from eca86a3 to e7ff6b2 Compare April 10, 2020 16:22
@stefanprodan stefanprodan changed the title Introduce storage abstraction Introduce storage abstraction and locking mechanism Apr 10, 2020
@stefanprodan stefanprodan merged commit 686fdd4 into master Apr 11, 2020
@stefanprodan stefanprodan deleted the api-v1alpha1 branch April 11, 2020 06:10
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