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

Prefix Command #115

Open
ncstate-mafields opened this issue Sep 29, 2023 · 1 comment
Open

Prefix Command #115

ncstate-mafields opened this issue Sep 29, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request hacktoberfest

Comments

@ncstate-mafields
Copy link

In the old ruby-based r10k webhook there was a configuration option to provide a command which would dynamically determine the environment prefix for a particular branch at runtime, rather than having a single static prefix.

Are there plans to add this functionality to the Go implementation?

We run a multi-tenant environment, and have a script to prefix environments based on the source repository the request originates from, so that each tenant can have a production branch in their own control repo, which gets mapped to tenantname_production when it is run through r10k.

This feature is vitally important to our existing workflow, so we're currently unable to use the Go implementation until it is added.

@dhollinger
Copy link
Member

This currently is not supported due to some problems with the way Go's os/exec library can have issues if you try and add too many parameters to the command string. I can look into it again, but it's likely going to have to wait until we migrated to utilizing and updating https://github.com/xorpaul/g10k

@dhollinger dhollinger added the enhancement New feature or request label Oct 27, 2023
@dhollinger dhollinger self-assigned this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants