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

(PDK-1200) Fix bundle env handling with puppet-dev #579

Merged
merged 3 commits into from
Nov 1, 2018

Conversation

bmjen
Copy link
Contributor

@bmjen bmjen commented Oct 24, 2018

Bundler requires that you continue to pass in PUPPET_GEM_VERSION
when doing check, install, and exec. Previously we were only setting
the puppet gem env when doing a bundle check and updating the lock file.

@bmjen bmjen requested review from scotje and rodjek October 24, 2018 22:33
@coveralls
Copy link

coveralls commented Oct 24, 2018

Coverage Status

Coverage increased (+0.03%) to 92.966% when pulling 2afca8f on bmjen:pdk-1200 into f1688e9 on puppetlabs:master.

end
end
end
TESTFILE
Copy link
Contributor

Choose a reason for hiding this comment

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

This method seems a little round-about to me...

Could we update the test manifest to have two specific tests that assert either the presence or absence of the path key and then below use pdk test unit --tests= to only invoke the specific test and assert that it passed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've updated the test to expect the path... so the acceptance test was simplified to expect a PDK test success or failure.

@rodjek
Copy link
Contributor

rodjek commented Oct 28, 2018

Should this change also be applied to pdk validate so that PDK::Validate::PuppetSyntax can run against the dev version as well?

@bmjen bmjen force-pushed the pdk-1200 branch 2 times, most recently from ee0e1d8 to 818b9e8 Compare October 30, 2018 22:17
Bundler requires that you continue to pass in PUPPET_GEM_VERSION
when doing check, install, and exec. Previously we were only setting
the puppet gem env when doing a bundle check and updating the lock file.
@bmjen bmjen force-pushed the pdk-1200 branch 3 times, most recently from cdbf095 to a3737da Compare October 30, 2018 23:20
Copy link
Contributor

@scotje scotje left a comment

Choose a reason for hiding this comment

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

👍

@bmjen bmjen merged commit ba33484 into puppetlabs:master Nov 1, 2018
@bmjen bmjen deleted the pdk-1200 branch November 1, 2018 21:24
@bmjen bmjen added the bug label Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants