-
Notifications
You must be signed in to change notification settings - Fork 206
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
Concourse extension confused by docker-image resource type #196
Comments
The error is not really because the name and type are the same (this odd also, but I don't think we actually check for this). The reason it gives the error is because the name in I can probably add some sort of a check to special case built-in resource types like Anyhoo, I can probably make this error 'go away'. I'd just like to understand a bit better first... to make sure it is really a good idea to forego the check. |
Thanks for the quick answer!
Does it make sense? |
Yes... and no. I guess if I was going to use an alternate implementation, of a builltin resource type, I'd probably just give it a different name. Anyhoo, I guess that's just me. Seems like, though this probably not common, we should probably assume people may do this kind of redefinition, and it shouldn't be flagged as a error by the editor. |
Wow thanks @kdvolder I appreciate! |
Hello,
consider a pipeline beginning with:
This seems bizarre at first, on the other hand the repetition of
docker-image
in thename:
andtype:
is needed, sincedocker-image
is a special one.The stanza above uses the built-in
docker-image
to download this newdocker-image
and use it during the pipeline. Confusing at first but it works :-)The extension is confused and reports an non existing error:
The text was updated successfully, but these errors were encountered: