-
Notifications
You must be signed in to change notification settings - Fork 108
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
Check returns version without digest #327
Comments
Further observation is this could also affect a resource type or image resoure that with
when the step is trying to initilize the container by first pulling the base image for it. |
im experiening the same problem since yesterday
the following error i get at the get step
the suggested workaround to move to docker-image works |
We noticed the same issue in our environment and this only happened if no tag is present as some of our resources still worked Doesn't work and shows the same issue
However the following resource type does work and is able to pull the latest tag.
|
thx for the update. there is potential some logic diff for querying docker with or without tag. I will look into it. |
Here's a sql query to find any resource config versions with a blank digest. We found ~10 of them in our instance: select * from resource_config_versions where version @> '{"digest": ""}' |
Based on @jpalermo 's comment, if your custom resource type or image resource that based on registry-image-resource encounter this problem, you can do
to clear those invalid versions. After this build should be running as usual. |
We're experiencing similar error in our pipeline since around 19th-22nd Nov and I can confirm that @FelixMarxIBM solution works.
I also opened an issue on dockerhub side. |
registry-image will cost less. Add latest tag to work around the issue with concourse/registry-image-resource#327 (comment)
registry-image will cost less. Add latest tag to work around the issue with concourse/registry-image-resource#327 (comment)
This behaviour has being only found in some resources with type
registry-image-resource
accross production CI. Could be a glitch of docker API whencheck
querying for version info. When there is newer version other than this problematic one available, thecheck
will work again most likely.And when this happens, the get step of this resource will fail by error
since no digest was provided for the GET request.
The temp workaround is to disable that bad version and rerun the build OR switching to docker-image resource.
The text was updated successfully, but these errors were encountered: