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

feature request - push config from dev to prod Tower clusters #5

Open
gforster opened this issue Jun 1, 2019 · 2 comments
Open

feature request - push config from dev to prod Tower clusters #5

gforster opened this issue Jun 1, 2019 · 2 comments

Comments

@gforster
Copy link

gforster commented Jun 1, 2019

Maybe this isn't exactly withing scope, but I have dev and production Tower clusters. It would be cool to utilize this (or something like it) to be able to get the config from dev, commit it to git in a dev branch, do a PR to master, then push it to prod, keeping the production Tower cluster a "read-only" type of place.

@dmsimard
Copy link
Owner

dmsimard commented Jun 1, 2019

What would this look like in practice ?

Two standalone Tower clusters, one hooked to the dev branch and one hooked to the master branch ?

I guess the framework already allows something like this:

scm_branch: "{{ item.scm_branch | default(omit) }}"

@gforster
Copy link
Author

gforster commented Jun 2, 2019

I guess I was thinking more along the lines of getting the config out of Tower, into a vars file/modifying the defaults/main.yml/something and then being able to utilize the existing framework. I suppose one could figure it out in the dev Tower gui and then manually add the config, but it would be nice to have the option to figure it out in the gui and then push existing changes into git. Or more simply, for those that may already have an existing instance, pulling in any existing config into the format to be used here.

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

2 participants