This message was deleted.
# puppet
s
This message was deleted.
b
You could use tags during your puppet run to filter what gets applied
but I don't yet the see problem
do the Ruby devs and infra people work on the same branch/same environment?
because when the devs are still developing their changes should not land in a branch that could/will be deployed to non-dev environments
k
our codebase for infrastructure vs platform vs app dev is ultimatel merged to the same git branch, a “release” is created and deployed via Atlassian bamboo to each defined environment (nodes self-declare their environment name).
b
maybe that approach isn't the best 🙂
k
all staff contributing to the puppet code base create a “feature” release branch, develop and test the code then merge to the main branch when completed, then create a new release.
b
do you have to merge stuff into it before it's production ready?
so that means stuff is merged to main before it's ready?
k
well, what code is perfect when its merged to main? 😉
but yes, there are tests run in local VMs etc using the feature branch.
Unit testing can only do so much. Ultimate proof is when a release is deployed to each lower environment, then validated in UAT, then pushed to Production.
b
I would work with feature flags that you configure via hiera/an ENC and try to version the code from the different teams in own modules
k
I’ll look into that.
b
if you have any questions or need ideas, just ask
👍 1