FAQ
Hello puppet users,

I´ve setup gerrit/jenkins on a box to add versioniong/CI to my puppet
setup. I´m a jenkins/git beginner,
therefore I´ve googled to find bits and pieces which I´ve put together.

It´s working fine so far, the only drawback is that my jenkins job is
always checking the whole repository
(which takes six minutes) - instead of only checking the patchset (one .pp
file)

I suspect that my Refspec/branches to build is wrong, can anybody help me
regarding this topic?

thanks & bye
,
Stefan

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • David Schmitt at Aug 2, 2013 at 6:55 am

    On 01.08.2013 16:35, Stefan Wiederoder wrote:
    Hello puppet users,

    I扉e setup gerrit/jenkins on a box to add versioniong/CI to my puppet
    setup. I惴 a jenkins/git beginner,
    therefore I扉e googled to find bits and pieces which I扉e put together.

    It愀 working fine so far, the only drawback is that my jenkins job is
    always checking the whole repository
    (which takes six minutes) - instead of only checking the patchset (one
    .pp file)

    I suspect that my Refspec/branches to build is wrong, can anybody help
    me regarding this topic?
    After jenkins has checked out the repo, there is no immediate indication
    what actually changed. You need to code more intelligence into the
    jenkins job to look at the git history and extract the list of changed
    files from there.

    Take care that you also think of dependencies from your changes. e.g. if
    a parameter was removed, everyone who's using that might grow an error,
    because that is still using this parameter.


    What checks are you doing that take 6 minutes? A simple syntax check and
    erb evaluation takes around 30s on a big repo over here.


    Regards, David

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
    To post to this group, send email to puppet-users@googlegroups.com.
    Visit this group at http://groups.google.com/group/puppet-users.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Stefan Wiederoder at Aug 2, 2013 at 9:01 am
    Hello David,
    What checks are you doing that take 6 minutes? A simple syntax check and
    erb evaluation takes around 30s on a big repo over here.
    I´ve to admit that I´m using puppet-lint with all options, which throws a
    lot of warnings....
    I´ll eliminate a few options.

    bye
    ,
    Stefan



    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
    To post to this group, send email to puppet-users@googlegroups.com.
    Visit this group at http://groups.google.com/group/puppet-users.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Stephen Brown II at Aug 3, 2013 at 11:26 am
    I'd suspect that you're also building the catalog each Jenkins run, rather than simply syntax checking things?

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
    To post to this group, send email to puppet-users@googlegroups.com.
    Visit this group at http://groups.google.com/group/puppet-users.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedAug 1, '13 at 2:35p
activeAug 3, '13 at 11:26a
posts4
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase