Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BKR-1049) Updating require to align with oldest supported PE version. This also matches the merged beaker PR. #89

Merged
merged 1 commit into from
Mar 29, 2017

Conversation

cdenneen
Copy link
Contributor

No description provided.

@puppetlabs-jenkins
Copy link
Contributor

Can one of the admins verify this patch?

@cdenneen
Copy link
Contributor Author

Failed based on bad travis config it seems... not the change

Copy link
Contributor

@trevor-vaughan trevor-vaughan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to fix the issues with Beaker 3 and Ruby 1.9 for me.

@trevor-vaughan
Copy link
Contributor

@cdenneen I have a PR coming your way to touch some of this up

@cdenneen
Copy link
Contributor Author

@trevor-vaughan thanks... re-running test now

@trevor-vaughan
Copy link
Contributor

@cdenneen No problem. I really need this gem so that I can get rid of all my hacky workarounds for the non-PE compatible Beaker.

@trevor-vaughan
Copy link
Contributor

trevor-vaughan commented Mar 24, 2017

Huh..it didn't seem to pick up the travis.yml

You may need to clear the cache. For some reason Travis CI caches things and I've had issues like this until the cache got completely cleared out. I tested it using 'travish'

@cdenneen
Copy link
Contributor Author

@trevor-vaughan no Rakefile

@trevor-vaughan
Copy link
Contributor

@cdenneen That shouldn't matter, I'm not running Rake. I'm just building the gem. There aren't any spec tests.

@cdenneen
Copy link
Contributor Author

@trevor-vaughan Yeah I know I was just reading the error... now it appears rubygems.org is having issues... this build will never pass lol

@trevor-vaughan
Copy link
Contributor

(╯°□°)╯ ┻━┻

@cdenneen
Copy link
Contributor Author

cdenneen commented Mar 24, 2017

@trevor-vaughan I added a 2.1 rvm test since this is to port to support oldest PE supported version.
(don't think 1.9.x is officially supported anymore)... regardless that seems to cause a new error:

Gem::InstallError: rack requires Ruby version >= 2.2.2.
Gem::InstallError: public_suffix requires Ruby version >= 2.0.

@trevor-vaughan
Copy link
Contributor

@cdenneen I would just ditch 1.9. I pulled the travis.yml from the main beaker project.

@trevor-vaughan
Copy link
Contributor

Ugh, Rubygems.org died again 😞

@cdenneen
Copy link
Contributor Author

@trevor-vaughan where is rack specified... need to force that version I think to 1.6.5 in order for 2.1 to pass

@trevor-vaughan
Copy link
Contributor

@cdenneen Are you sure? The error was 503 Service Unavailable

@cdenneen
Copy link
Contributor Author

@trevor-vaughan yes Gem::InstallError: rack requires Ruby version >= 2.2.2. the 503 is retryable it seems... but this isn't... so need to force rack below < 2.0.1 when 2.1 of ruby

@trevor-vaughan
Copy link
Contributor

@cdenneen Weird. I've just set my RVM to 2.1.9 and running bundle install picks up rack 1.6.5 without needing to do anything at all.

@cdenneen
Copy link
Contributor Author

@trevor-vaughan in travis it doesn't seem that way ;)

@trevor-vaughan
Copy link
Contributor

@cdenneen I guess you'll just have to add the dep to the Gemfile then and call it done.

@cdenneen
Copy link
Contributor Author

@trevor-vaughan gemspec or Gemfile? If you wouldn't mind sending another PR might make it quicker (also set my fork up to build with PR so will know if it works before I merge it)

@cdenneen
Copy link
Contributor Author

Can someone clear the cache on this and restart the build. My upstream built fine but this is still caching 2.1 vs 2.1.9

@cdenneen
Copy link
Contributor Author

@puppetlabs-jenkins please test

…. This also matches the merged beaker PR.

Syntax Updates

* Pinned the upper bound on Ruby
* Pinned the rake and rspec dependencies to match Beaker core
* Fixed the license to meet SPDX
* Added a .travis.yml that builds the gem
* Updated the .gitignore file to ignore test garbage
* Pin rack version to < 2.2.2
@cdenneen
Copy link
Contributor Author

@trevor-vaughan thanks everything is good now. I've squashed the PR so all should be good now.
@tvpartytonight if this can be merged now. cc @kevpl

@kevpl kevpl merged commit eb794f0 into voxpupuli:master Mar 29, 2017
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.

4 participants