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

Build cache storage #129

Merged
merged 6 commits into from
Sep 16, 2022
Merged

Build cache storage #129

merged 6 commits into from
Sep 16, 2022

Conversation

pditommaso
Copy link
Collaborator

Tentative implementation for build cache storage.

The CacheStore defines the operation it should be implemented.

The local version works fine.

However I have some problems with the Redis implementation. The PubSub pattern does seems to to work. Tests should be added

@pditommaso pditommaso linked an issue Sep 13, 2022 that may be closed by this pull request
@pditommaso pditommaso marked this pull request as draft September 13, 2022 21:10
pditommaso and others added 2 commits September 15, 2022 10:50
Signed-off-by: Paolo Di Tommaso <[email protected]>
Refactor of BuildRequest to be serializable

New RedisCacheStore store/retrieve json representations of BuildRequest

New business rule: a build request is "completed" when the duration is set
@pditommaso
Copy link
Collaborator Author

uhh, plenty of conflicts. please, have a look to them

@jorgeaguileraseqera
Copy link
Contributor

uhh, plenty of conflicts. please, have a look to them

I'm on it, didn't realize we have changes in master

@pditommaso pditommaso marked this pull request as ready for review September 15, 2022 13:39
@pditommaso
Copy link
Collaborator Author

@jorgeaguileraseqera please have a quick look at lasted changes and we'll merge it

@jorgeaguileraseqera
Copy link
Contributor

can see you don't like @retryable at all :)

@pditommaso
Copy link
Collaborator Author

too smart! 😆

@pditommaso pditommaso merged commit d007184 into master Sep 16, 2022
@pditommaso pditommaso deleted the issue-116-redis-build-status branch September 16, 2022 08:44
jorgeaguileraseqera added a commit that referenced this pull request Sep 26, 2022

Signed-off-by: Paolo Di Tommaso <[email protected]>
Co-authored-by: Jorge Aguilera <[email protected]>
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.

Keep build state into an external storage
2 participants