Posted on 12-22-2014 03:23 PM
I just released a project that I've been working on for a while, and mentioned during my JNUC API talk, that utilizes the JSS API to automatically merge changes that are made to git repositories. Effectively version controlling aspects of the JSS. I have included two git hooks, one to manage Extension Attribute objects and another to manage Script objects.
I hope the JAMFNation community finds this useful. It requires JSS 9.62 due to required API calls.
UPDATE:
Unfortunatley, I was asked to pull down this repository for internal reasons. And, shortly thereafter, I transitioned onto a different team and no longer work with the JAMF toolset. I had hoped that my old team would have been able to Open Source this in my absence, but it doesn't appear like they have been able to, and I'm not at liberty to do so at this time. My apologies to everyone still looking for this. I know there's a few copies floating around prior to me having to pull it down, and it was released under the BSD license which allows redistribution, with or without modification...
Posted on 12-28-2014 06:11 PM
Josh this looks fantastic. Thanks for sharing.
Posted on 12-29-2014 01:29 AM
Awesome! Is it designed to work with a single JSS or can it be used to control lots of them?
Posted on 12-29-2014 08:29 AM
As the provided hooks are currently written, it is designed to control 2 JSS per repository: a testing/staging JSS tied to the 'develop' branch and a production JSS tied to the 'master' branch. It would be relatively trivial to add additional JSS/branch associations. But, if you intend to manage multiple production JSS instances, I would have different repositories for each production environment. You still only need one 'git-ception' repository which can control all of the multiple script and extension attribute JSS repositories. You just need to name the hooks correctly so that they are copied into the correct repositories on your server.
Posted on 12-31-2014 02:32 AM
Cool, thanks for the info. Looks very interesting.
Posted on 12-13-2015 08:56 AM
Does any one have a copy of Git-ception @Josh_S I notice its gone from the github.
Thanks
Posted on 12-24-2015 06:09 AM
I'd be interested as well!
Posted on 12-24-2015 01:17 PM
+1
Posted on 04-27-2016 01:19 PM
@Josh_S Does this repo still exist? I'm getting a GitHub 404 error when I try to reach the project page.
Posted on 04-27-2016 01:40 PM
Seems they are looking to move it elsewhere.
https://github.com/Expedia-IT-CTE/Expedia-IT-CTE
Posted on 02-01-2017 09:19 AM
@mrowell or @davidacland, might you still have copies of this repo or this work anywhere that you could share out? Looks like @Josh_S hasn't moved it to the new Expedia repo yet.
Thanks!
Posted on 03-16-2017 05:28 PM
Any word on this or pointers on it? Would really like to integrate this in our environment.
Posted on 07-10-2017 03:49 PM
I know this is a bit old, but would be interested to see how folks integrate with Git or other version control.
Posted on 03-21-2018 12:08 PM
Long shot, but, does anyone still have a copy of this for reference? TIA
Posted on 03-21-2018 12:13 PM
We came across what looks to be a different repo (but does the same thing) here: give it a once over and see if that works for your needs: https://github.com/BadStreff/git2jss/
Posted on 12-13-2022 05:42 AM
Has anyone ever found or written anything similar to @Josh_S 's solution?
I am looking at options to better change control and automate our environments and have long seen something like this as the nirvana.