Skip to content

feat: add module path ignore functionality, tests, and update deps #178

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

Merged
merged 3 commits into from
Mar 10, 2025

Conversation

virgofx
Copy link
Member

@virgofx virgofx commented Feb 26, 2025

This pull request includes several changes to improve the functionality and documentation of the Terraform module releaser. The most important changes include updates to the configuration handling, enhancements to the README and documentation, and modifications to the changelog script and CI workflow.

Configuration Handling:

  • Added support for the modulePathIgnore configuration, allowing specific module paths to be ignored during processing. (__mocks__/config.ts, __tests__/config.test.ts, __tests__/helpers/inputs.ts) [1] [2] [3] [4] [5] [6] [7] [8] [9]

Documentation Enhancements:

  • Updated the README.md to simplify the description and added new features with improved formatting. (README.md) [1] [2] [3]
  • Added detailed usage and attributes sections for the kms and kms/examples/complete modules in the documentation. (__tests__/fixtures/kms.md, __tests__/fixtures/kms∕examples∕complete.md) [1] [2]

Changelog Script and CI Workflow:

  • Updated the OpenAI model used in the changelog script to gpt-4o-mini-2024-07-18 for better performance. (.github/scripts/changelog.js)
  • Corrected the regex pattern for PR/issue numbers in the changelog script. (.github/scripts/changelog.js)
  • Modified the CI workflow to include the module-path-ignore option and updated the terraform-docs version. (.github/workflows/ci.yml)

These changes collectively enhance the flexibility, usability, and documentation quality of the Terraform module releaser.

Fixes #169

@virgofx virgofx self-assigned this Feb 26, 2025
@virgofx virgofx force-pushed the 169-examples-directory-causing-error branch 5 times, most recently from c6c6bb8 to 61fc810 Compare February 26, 2025 07:50
@virgofx virgofx force-pushed the 169-examples-directory-causing-error branch 8 times, most recently from fe4ab61 to a89c484 Compare March 3, 2025 07:55
@virgofx virgofx added the enhancement New feature or request label Mar 3, 2025
@virgofx virgofx force-pushed the 169-examples-directory-causing-error branch 3 times, most recently from e324330 to dcf6673 Compare March 7, 2025 06:00
@virgofx virgofx force-pushed the 169-examples-directory-causing-error branch 2 times, most recently from 30baea5 to b81eebd Compare March 7, 2025 06:13
@virgofx virgofx marked this pull request as ready for review March 7, 2025 06:20
@virgofx virgofx changed the title draft: fix issues with nested modules draft: add module path ignore functionality, tests, and update deps Mar 10, 2025
@virgofx virgofx changed the title draft: add module path ignore functionality, tests, and update deps feat: add module path ignore functionality, tests, and update deps Mar 10, 2025
@virgofx virgofx force-pushed the 169-examples-directory-causing-error branch from b81eebd to 3724711 Compare March 10, 2025 03:46
@virgofx virgofx force-pushed the 169-examples-directory-causing-error branch from 3724711 to a9c26a2 Compare March 10, 2025 03:47
Copy link

Release Plan

Module Release Type Latest Version New Version
tf-modules/kms initial v1.0.0

✅ Wiki Check ℹ️

Note: The following Terraform modules no longer exist in source; however, corresponding tags/releases exist. Automation tag/release deletion is disabledno subsequent action will take place.

v1.4.2, v1.4.1, v1.4.0, v1.3.1, v1.3.0, v1.2.0, v1.1.1, v1.1.0, v1.0.1, v1.0.0, v1

Changelog

tf-modules/kms/v1.0.0 (2025-03-10)

  • 🔀PR #178 - feat: add module path ignore functionality, tests, and update deps
  • feat: add kms module with nested directories
  • feat: add module path ignore functionality and tests

Powered by techpivot/terraform-module-releaser

Copy link

@virgofx virgofx merged commit 7a484d2 into main Mar 10, 2025
26 checks passed
@virgofx virgofx deleted the 169-examples-directory-causing-error branch March 10, 2025 03:55
@release-preview release-preview bot mentioned this pull request Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Examples directory causing error
1 participant