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

(PUP-11764) Convert module beaker tests to integration tests #9025

Merged
merged 10 commits into from Mar 6, 2023

Conversation

joshcooper
Copy link
Contributor

Remove our dependency on the test forge.

Convert beaker tests to rspec integration tests.

@joshcooper joshcooper requested a review from a team as a code owner March 3, 2023 20:35
Comment on lines 1 to 11
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'
Copy link
Contributor

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?

Copy link
Contributor Author

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

@joshcooper joshcooper force-pushed the convert_module_tests branch 8 times, most recently from 78e83e0 to c51fe6f Compare March 6, 2023 17:00
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
@mhashizume mhashizume merged commit a4ed291 into puppetlabs:7.x Mar 6, 2023
@joshcooper joshcooper deleted the convert_module_tests branch March 6, 2023 20:07
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.

None yet

2 participants