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

[RELEASE-1117] Add retry when requesting RADAS signature #734

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

mmalina
Copy link
Contributor

@mmalina mmalina commented Sep 25, 2024

We run the signing pipeline in Konflux a lot and users report that oftentimes one or a few of the requests fail.

In theory some retry should work on the Python library level, but it doesn't really seem to work. So this should help. See Jira for more details.

BTW, how can I test this? I copied the whole script block to a separate file and ran it with various mock functions to simulate different behavior and it worked for me. But it would be nice if we could test it as part of a Tekton pipeline.

We run the signing pipeline in Konflux a lot and users
report that oftentimes one or a few of the requests fail.

In theory some retry should work on the Python library
level, but it doesn't really seem to work. So this should
help. See Jira for more details.

Signed-off-by: Martin Malina <[email protected]>
@mmalina
Copy link
Contributor Author

mmalina commented Sep 25, 2024

@Allda the Build and push image test failed. Can you check? It failed on docker auth. I know that normally PR events don't have access to secrets, so I'm not sure how this is supposed to work. Anything I need to do?

@Allda Allda self-requested a review September 26, 2024 08:31
@Allda
Copy link
Contributor

Allda commented Sep 26, 2024

@mmalina We haven't figured out how to support actions from an outside collaborator. Since this is not affecting a build part I'll merge it and build and the test will be executed right after that.

@Allda Allda merged commit ee7d89b into redhat-openshift-ecosystem:main Sep 26, 2024
2 of 3 checks passed
@mmalina mmalina deleted the retry-signing branch September 26, 2024 08:50
@mmalina
Copy link
Contributor Author

mmalina commented Sep 26, 2024

@Allda cool, thanks!

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