-
Notifications
You must be signed in to change notification settings - Fork 95
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
Only optionally grab repotags in raw inspect out #90
Conversation
I'm still testing this PR, but I wanted to ensure the approach looked good. For my repo it went from 25 seconds for |
I really don't know how to test v1. I could just not update the v1 implementation and leave it as is. |
Looks right to me. I'm doing a major rewrite and will be dropping v1; I think it's fine to leave as is |
Okay, cool. I tested v2 and it's working for me. |
Oh wait, so I should revert the v1 change then? |
Okay, I reverted the v1 changes. |
For images with a lot of tags it can take a significant amount of time to list tags. This can often cause timeouts causing the operation to fail or if ignore-missing is set wrongly skip an image. This change will only grab tags during "inspect --raw" and not during non-raw inspect or push. Since some repos are so large they always timeout a new parameter --tags has been added to inspect do disable including tags on raw inspect. Signed-off-by: Darren Shepherd <[email protected]>
After merging this I can directly update the drone plugin :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This updates the manifest-tools from v1.0.0 to v1.0.2 to pickup the following fix estesp/manifest-tool#90. Resolves rook#5194 Signed-off-by: Alexander Trost <[email protected]>
This updates the manifest-tools from v1.0.0 to v1.0.2 to pickup the following fix estesp/manifest-tool#90. This currently prevents the build to push images to Docker hub. Resolves rook#5194 Signed-off-by: Alexander Trost <[email protected]>
This updates the manifest-tools from v1.0.0 to v1.0.2 to pickup the following fix estesp/manifest-tool#90. This currently prevents the build to push images to Docker hub. Resolves rook#5194 Signed-off-by: Alexander Trost <[email protected]>
This updates the manifest-tools from v1.0.0 to v1.0.2 to pickup the following fix estesp/manifest-tool#90. This currently prevents the build to push images to Docker hub. Resolves #5194 Signed-off-by: Alexander Trost <[email protected]> (cherry picked from commit e5ba1fa)
This updates the manifest-tools from v1.0.0 to v1.0.2 to pickup the following fix estesp/manifest-tool#90. This currently prevents the build to push images to Docker hub. Resolves rook#5194 Signed-off-by: Alexander Trost <[email protected]>
This updates the manifest-tools from v1.0.0 to v1.0.2 to pickup the following fix estesp/manifest-tool#90. This currently prevents the build to push images to Docker hub. Resolves rook#5194 Signed-off-by: Alexander Trost <[email protected]>
For images with a lot of tags it can take a significant amount of time to
list tags. This can often cause timeouts causing the operation to fail
or if ignore-missing is set wrongly skip an image. This change will only
grab tags during "inspect --raw" and not during non-raw inspect or push.
Since some repos are so large they always timeout a new parameter --tags
has been added to inspect do disable including tags on raw inspect.