Skip to content

Align in-module folder structure to AVM #4057

Description

Required changes (AVM ref)

  • Question: Should we add a res & ptn folder in the modules folder?
    • Background: Otherwise we only have 'constructs' to rely on which are (to this day) not supported by pipelines & tools
  • Update test folder structure #4182
    • Rename folder into e2e
    • Move folder into a new tests folder
    • Update Initialize-Pipeline to support new test folder name
    • Update Pester tests to support new test folder name
    • Update reference to main.bicep in main.test.bicep
    • Update reference to .shared/.scripts
    • Update reference to .shared/.templates
  • Update inner test folder names #4183
    • Rename min test folder to defaults
    • Rename common test folder to max
    • Create duplication of common/max folder and name it waf-aligned (don't forget do update the serviceShort too - if possible)
  • [Feature Request]: Update modules not having a e2e/defaults and/or a e2e/waf-aligned test #4185
  • Utilities (the following assumes to also update all scripts to be updated so they work with the folder structure of CARML (i.e., no avm folder)
    • Add Set-AVMModule utility (ref [Utilities] Introduced Set-Module script #4067)
    • Update Set-ModuleReadMe and related scripts
    • Relocate PSRule & module.test.ps1 similar to AVM in the utilities/pipelines folder
    • Update module.test.bicep
    • Relocate template & script patterns similar to what we did in AVM (currently located in the modules/.shared folder

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions