Skip to content

(maint) remove extra gems from appveyor#3957

Merged
ferventcoder merged 1 commit intopuppetlabs:stablefrom
Iristyle:fix/stable/appveyor
May 20, 2015
Merged

(maint) remove extra gems from appveyor#3957
ferventcoder merged 1 commit intopuppetlabs:stablefrom
Iristyle:fix/stable/appveyor

Conversation

@Iristyle
Copy link
Contributor

  • When running specs in our local Jenkins environment, the
    'extra' gems, which include 'msgpack' are not installed. We do
    this because:

    • 'msgpack' requires building native code, which unnecessarily
      adds to the feedback loop
    • we intentionally try to maintain a clean environment without
      the Ruby DevKit installed

    This has previously worked on AppVeyor because they have the
    Ruby DevKit installed.

 - When running specs in our local Jenkins environment, the
   'extra' gems, which include 'msgpack' are not installed.  We do
   this because:

   - 'msgpack' requires building native code, which unnecessarily
     adds to the feedback loop
   - we intentionally try to maintain a clean environment without
     the Ruby DevKit installed

   This has previously worked on AppVeyor because they have the
   Ruby DevKit installed.
@ferventcoder
Copy link
Contributor

makes sense. Curious if puppetlabs_spec_helper is necessary though?

@joshcooper
Copy link
Contributor

For reference, list of appveyor preinstalled software

@ferventcoder
Copy link
Contributor

Waiting for Travis/AppVeyor...

@joshcooper
Copy link
Contributor

Pretty sure puppetlabs_spec_helper is not required. It was added in 0350afd, but it introduces a cyclic dependency as puppetlabs_spec_helper depends on puppet. Also tzinfo is not used in puppet from what I can tell:

$ git grep -i tzinfo
Gemfile:  gem "tzinfo", :require => false

That said cleaning up the Gemfile can be a separate PR

@ferventcoder
Copy link
Contributor

👍

@MikaelSmith
Copy link
Contributor

Looks no worse than before.

@ferventcoder
Copy link
Contributor

The fun rdoc issue that just won't go away. Possibly made worse now. Perhaps we ensure those don't run as part of this fix?

@ferventcoder
Copy link
Contributor

I rekicked the PR

@joshcooper
Copy link
Contributor

The rdoc issue is PUP-4537, I've updated with my notes recently...

@puppetcla
Copy link

CLA signed by all contributors.

ferventcoder added a commit that referenced this pull request May 20, 2015
(maint) remove extra gems from appveyor
@ferventcoder ferventcoder merged commit a5c94a1 into puppetlabs:stable May 20, 2015
@ferventcoder
Copy link
Contributor

👍

@Iristyle Iristyle deleted the fix/stable/appveyor branch May 21, 2015 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants