take version from gitlab-component #42011
Unanswered
uhgtg
asked this question in
Request Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate
Which platform you running Renovate on?
GitLab (.com or self-hosted)
Which version of Renovate are you using?
41.97.4
Please tell us more about your question or problem
We have a custom GitLab CI-component that inherits from an upstream component (e.g. the official gitlab OpenTofu component). And there we inherit some version inputs and I want my component to update the default value of the upstream component's version. That looks like below:
Upsteam component:
and in my custom component:
I need to redefine the default version by gitlab. The problem is, that technically, in a component are always two yaml objects in one file. And the custom datasource of renovate doesn't work with this. So if I would merge the two objects to one (remove the second '---') then I works fine.
Is there a way to deal with two yaml objects in one file?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions