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

Setup for 7.0.0 release #279

Merged
merged 10 commits into from
Jul 24, 2018

Conversation

Zak-Kent
Copy link
Contributor

This release adds pdk compatibility and replaces validate_* methods with data types.

Copy link
Contributor

@eputnam eputnam left a comment

Choose a reason for hiding this comment

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

lgtm

@austb austb force-pushed the modules-7359-make-a-release branch from 7a451f3 to bfa6fb6 Compare July 3, 2018 19:48
@Zak-Kent Zak-Kent force-pushed the modules-7359-make-a-release branch 2 times, most recently from 2926ca8 to 59ce091 Compare July 3, 2018 23:01
@Zak-Kent Zak-Kent force-pushed the modules-7359-make-a-release branch 4 times, most recently from 75331b1 to 1aa7ae8 Compare July 12, 2018 19:17
@Zak-Kent Zak-Kent force-pushed the modules-7359-make-a-release branch from 1aa7ae8 to f2a2c24 Compare July 12, 2018 21:54
@bastelfreak
Copy link
Collaborator

Hey people. Can I get a review of #278 before 7.0.0 gets released?

@Zak-Kent
Copy link
Contributor Author

@bastelfreak absolutely, we'll take a look at #278 before we do the 7.0.0 release. We've been trying to get our internal testing stuff up to par which is why this hasn't gone out yet. We still have time to add stuff to this before it goes out. Thanks for the help!

@Zak-Kent Zak-Kent force-pushed the modules-7359-make-a-release branch 6 times, most recently from a162ba6 to d5bcfdc Compare July 17, 2018 23:58
@bastelfreak
Copy link
Collaborator

@Zak-Kent Zak-Kent force-pushed the modules-7359-make-a-release branch 3 times, most recently from 6714140 to d5bcfdc Compare July 23, 2018 17:36
Zak-Kent and others added 6 commits July 23, 2018 13:42
Prior to this commit, tests in master were broken due to changes
in rspec puppet. The last working version for the previous code
to successfully test on was rspec-puppet 2.6.11.

This commit updates the spec tests to work with 2.6.12 and 2.6.13
@Zak-Kent Zak-Kent force-pushed the modules-7359-make-a-release branch 4 times, most recently from 6e91059 to 183c7b5 Compare July 23, 2018 22:03

def build_url(platform)
use_pup4 = use_puppet4
if use_pup4
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe just use if use_puppet4? I don't think we need it in a variable

on host, 'yum install -y puppetserver'
elsif host['platform'] =~ %r{(ubuntu|debian)}
unless host.check_for_package 'curl'
on host, 'apt-get install -y curl'
end
# For openjdk8
use_pup4 = use_puppet4
if host['platform'].version == '8' && !use_pup4
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, unless its possible to change in between this usage and the one below, but I don't think that will happen?

@@ -2,26 +2,66 @@
require 'beaker/puppet_install_helper'
require 'beaker/module_install_helper'

def use_puppet4
(ENV['PUPPET_INSTALL_VERSION'] =~ %r{2016}) ? true : false
Copy link
Contributor

Choose a reason for hiding this comment

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

We should ensure that the 2016 is at the start of the string %r{^2016}. Though we have some problems if we ever get to 2016 in a y or z release...

Everything that isn't nil or false will be true in ruby, so ENV['PUPPET_INSTALL_VERSION'] =~ %r{^2016} is sufficient for this to work.

@Zak-Kent Zak-Kent force-pushed the modules-7359-make-a-release branch 3 times, most recently from 51043a4 to 9283581 Compare July 23, 2018 23:12
@Zak-Kent Zak-Kent force-pushed the modules-7359-make-a-release branch from 9283581 to da9cc18 Compare July 24, 2018 16:25
@austb
Copy link
Contributor

austb commented Jul 24, 2018

👍

@Zak-Kent Zak-Kent changed the title Make 7.0.0 release Setup for 7.0.0 release Jul 24, 2018
@Zak-Kent Zak-Kent merged commit 8329c6c into puppetlabs:master Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants