Skip to content
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

Support scm ref for config repo configuration #150

Open
sahlone opened this issue Dec 3, 2020 · 0 comments
Open

Support scm ref for config repo configuration #150

sahlone opened this issue Dec 3, 2020 · 0 comments

Comments

@sahlone
Copy link

sahlone commented Dec 3, 2020

Need to support the scm ref for the plugin config itself. I am not talking about plugable scm for the pipeline.
Want to do something like this

<scms>
<scm id="7e0072f2-dd30-4cdc-b618-336be0e5e14d" name="Portal-pull-request">
<pluginConfiguration id="xxx" version="1" />
<configuration>
<property>
<key>url</key>
<value>mygit_repo</value>
</property>
<property>
<key>username</key>
<value>blablabla</value>
</property>
<property>
<key>password</key>
<encryptedValue>gjhgjhghgjhgjhghjgj</encryptedValue>
</property>
</configuration>
</scm>
</scms>

In server config cruise-config.yaml

<config-repo pluginId="yaml.config.plugin" id="QA-Merchant-Simulator">
      <scm ref="7e0072f2-dd30-4cdc-b618-336be0e5e14d" />
</config-repo>

This will help me deduplication of the same git repo configs at two places, one in scm and another in config. repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant