FAQ
Hi,

I guess my question is what is the best practice for salt CI?

Details:
  1. I want to have a 'trunk' environment to test states, i guess basic yaml
validation and/or running salt '*' state.hightstate -v test=True would be
sufficient, but I should not be able to run this state on my production.

  2. I need 'production' salt environment. Once states are tested in trunk,
they can be promoted to 'production'

  3. I need promotion mechanism between environments (i though git branches
could be good candidate)

The workflow should be something like this:

Engineer works on code in his branch -> push to remote git -> make a pull
request to merge into 'trunk' environment -> merged pull request triggers
jenkins to run the tests -> manual or automatic promotion to 'production'
environment

Does this make any sense at all? Is there some best practices for what I
want to achieve?

I have chef background and we used to have something like I described. But
now I started a new project and they are using salt.

Thanks

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Frederic Medery at Aug 7, 2014 at 10:46 pm
    I did not use it yet but :
    https://github.com/simonmcc/kitchen-salt

    Seems to be a good candiate

    --
    Frédéric Médery
    Infrastructure Manager

    On Wed, Aug 6, 2014 at 7:02 PM, MxN wrote:

    Hi,

    I guess my question is what is the best practice for salt CI?

    Details:
    1. I want to have a 'trunk' environment to test states, i guess basic
    yaml validation and/or running salt '*' state.hightstate -v test=True would
    be sufficient, but I should not be able to run this state on my production.

    2. I need 'production' salt environment. Once states are tested in trunk,
    they can be promoted to 'production'

    3. I need promotion mechanism between environments (i though git branches
    could be good candidate)

    The workflow should be something like this:

    Engineer works on code in his branch -> push to remote git -> make a pull
    request to merge into 'trunk' environment -> merged pull request triggers
    jenkins to run the tests -> manual or automatic promotion to 'production'
    environment

    Does this make any sense at all? Is there some best practices for what I
    want to achieve?

    I have chef background and we used to have something like I described. But
    now I started a new project and they are using salt.

    Thanks

    --
    You received this message because you are subscribed to the Google Groups
    "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to [email protected].
    For more options, visit https://groups.google.com/d/optout.
    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsalt-users @
postedAug 6, '14 at 11:02p
activeAug 7, '14 at 10:46p
posts2
users2

2 users in discussion

MxN: 1 post Frederic Medery: 1 post

People

Translate

site design / logo © 2023 Grokbase