Open piclemx opened 4 years ago
Does Pulumi have any concept of linking to its own datasources, e.g. like Helm charts link to Helm charts? Or is it specifying containers, golang packages, etc?
if you only need to update image: "nginx:2.3.45"
, you can use the regex manager
@rarkins It's using containers image for k8s.
https://www.pulumi.com/docs/get-started/azure/install-language-runtime/
Looks like we can't create a simple manager for this, cause you write your pulumi files in any language (typescript /javascript /python /go /c# ...). So it would need language agnostic parsers to find the right things to update.
Maybe for now the easiest solution would be to write the deps to a key-value file (eg ini) add renovate comments and a regex manager to update this file. and that read the deps from pupuli code instead of inlining the deps
Provider dependencies should already be managed I assume, since they are usually specified as
package dependency of your project.
@elsbrock Yes, for the provider coming from multiple languages. You can't do that with the version of a container.
Hello 👋
I suggest using Pulumi stack files. These are YAML files, which are used to configure things. Using these YAML files to define container tags is considered a good practice. We might even introduce a standardized way of defining tags.
A real-world example: https://github.com/getbranches/conf/blob/main/Pulumi.main.yaml
Notice Pulumi.main.yaml. In the example, this stack is called main. Typically, there's more than one of these files, one for each stack/environment (i.e. Pulumi.dev.yaml
and Pulumi.prod.yaml
). In my example, I only have one.
These files are not specific to each language. There are ways not to use them, but then the configuration is defined in Pulumi.yaml
under the config
key. See an example here: https://github.com/getbranches/conf/blob/main/Pulumi.yaml
Hi there,
You're asking us to support a new package manager. We need to know some basic information about this package manager first. Please copy/paste the new package manager questionnaire, and fill it out in full.
Once the questionnaire is filled out we'll decide if we want to support this new manager.
Good luck,
The Renovate team
Did you read our documentation on adding a package manager?
Not sure it's relevant, but TypeScript, JavaScript, Python, Go, . NET, Java, and markup languages like YAML
Pulumi is quite popular, 16k stars on GitHub.
It does not have an opinionated/structured way to define packages, but we can probably introduce that and suggest that to be some way introduced to Pulumi as well.
^Pulumi\\.yaml$
Note: Probably want to support more fileMatch patterns
No, AFAIK not.
Not sure.
NB: In different files, so not sure if they should be distinguish as different in the package file.
^1.0.0
or 1.x
?^1.0.0
or 1.x
)Probably.
AFAIK, no.
AFAIK, no.
No.
Hello!
For reference, I have experimented with using regexManager
for this. It works fine, for what I'm doing.
What would you like Renovate to be able to do? Pulumi is a tool like Terraform, Helm, Ansible and others that do the infrastructure as code. It will be great add to the project.
Describe the solution you'd like I will be great to detect the container image and updated it if possible. Otherwise since it used real language. Javascript,Golang,Python are already handle.
Describe alternatives you've considered None
Additional context Add any other context or screenshots about the feature request here.