Yep yep, that build pipeline is what we’ve implemented too, but I meant this to be more a discussion about that last step - “passing in the ID”. Based on what you suggested, I still don’t think we have a solution that offers a robust solution that scales well with a growing team size and development/release pace - seems like the only solution we have for deploying a specific build version of an artifact is to override the attribute on the node during it’s bootstrapping? The question here is “How can I get my recently built artifact from a specific commit onto a provisioned node without making any changes to our chef code base?”. Is the answer to that question using the bootstrap command?
I’m still thinking about this at a conceptual level. How this feature/ability gets implemented would be a challenge, but I’m just saying it seems like there should be a way to manage these mappings without manipulating the bootstrap command. What form that takes is not really my main focus.
These questions are more directed at the pipeline. Lets assume the pipe you had in your message is what we’ve implemented. (Actually, instead of provisioning new nodes in our development environment, we have a pool of nodes that can be restored to a checkpoint and then re-provisioned with chef; this saves time from having to create a whole new node every time we need to get a machine to an engineer).
You would still be able to download artifacts via their build “identifier”: http://smart-artifact-server.com/artifacts/zz?build=12af All I’m suggesting is that there is an additional way to request that artifact: via it’s node name. http://smart-artifact-server.com/artifacts/zz?node=danny-workstation Those two urls would present you with the same artifact (in a pipe that was building commit 12af for danny)
Are you asking what happens when my code needs to change the recipe that deploys it onto a machine? As long as the recipe is still downloading a file from an artifact server, thats not really what I’m concerned with right now. On July 16, 2014 at 5:09:57 AM, Thom May ( "> ) wrote:
|
Archive powered by MHonArc 2.6.16.