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

Determine simple way to store project-specific configs in project repo #19

Open
patcon opened this issue Apr 2, 2013 · 0 comments
Open

Comments

@patcon
Copy link
Contributor

patcon commented Apr 2, 2013

Currently, project-specific configs tend to be kept in the jenkins-inception project repo (but kept out of version control via gitignore. This poses some problems:

  • configs (including data_bags for team members that are used to give access to the server, and also jenkins-specific configs) should be kept in the project repo, ideally with the jenkins-inception project linked to a certain commit using submodule reference.
  • explictly ignoring these configs in the location where they are "first class citizens" means that they are often not committed to any sort of version control. It's an extra step to move them into the project repo every time they're changed, since they are not usable in the project repo.

Suggested solution:

  • Add the jenkins-inception project as a submodule in drupal-skeletor.
  • Allow the config path to be customizable via opt flag, so that real files can be stored in project repo and symlinked into jenkins-inception locations. Consider symlinking roles/config.yml to the project repo location where they will be vers-ctrld, and using the appropriate rsync flag to make sure they still get sent to the remote jenkins server when running knife solo cook:
    https://lists.samba.org/archive/rsync/2006-November/016724.html
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