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
(PUP-11764) Convert module beaker tests to integration tests #9025
Conversation
name 'pmtacceptance/nginx' | ||
version '0.0.1' | ||
source 'UNKNOWN' | ||
author 'pmtacceptance' | ||
license 'UNKNOWN' | ||
summary 'UNKNOWN' | ||
description 'UNKNOWN' | ||
project_page 'UNKNOWN' | ||
|
||
## Add dependencies, if any: | ||
# dependency 'username/name', '>= 1.2.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't recognize this Modulefile pattern, is this a legacy convention for Puppet modules? Is this something we can drop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah I downloaded the pmtacceptance-nginx
module from the test forge that we had been using in beaker tests and added it as test fixture
78e83e0
to
c51fe6f
Compare
Adds a subset of the files from the pmtacceptance-nginx module from the test forge. The github action `actions/checkout@v3` will by default convert NL to CRNL on Windows, unless disabled in git config. This commit disables text mode (-text) for those files in .gitattributes. This is necessary, because future commits will need to `puppet module changes` to compare the modules' files on disk against the `checksums` hash in metadata.json.
puppet-agent already tests that the agent can connect to the forge to verify TLS compatibility and that the forge cert is trusted by the agent's CA bundle.
Also delete last remnants of the test forge
c51fe6f
to
6c49620
Compare
Remove our dependency on the test forge.
Convert beaker tests to rspec integration tests.