Skip to content

Conversation

@b-rranger
Copy link

@b-rranger b-rranger commented Jul 24, 2025

Description

Checklist

  • Scripts in this pull request are written for the bash shell.
  • This pull request was tested on at least one of the following platforms:
    • Linux
    • Azure Cloud Shell
    • macOS
    • Windows Subsystem for Linux
  • The most recent test date and test method are recorded in the script file.
  • Scripts do not contain passwords or other secret tokens that are not randomized.
  • No deprecated commands or arguments are used. (Release notes)
  • All Azure resource identifiers which must be universally unique are guaranteed to be so.
  • Resource names use a random function to ensure scripts can be run multiple times in quick succession without error.
  • All scripts can be run in their entirely without user input.

Testing information

CLI version:

az --version

Extensions required:

Test file to validate end-to-end PR lifecycle tracking:
- Change detection and status updates
- PR creation  pending status
- PR merge  completed status
- Integration with ANF support CLI tools

Related to change ID: reorganizeANF_20250718_231000
…ubleshooting with Azure CLI samples compliance

- Add comprehensive authentication troubleshooting script with testing metadata
- Include random resource naming for script repeatability
- Add README with complete testing and usage documentation
- Validate on Azure Cloud Shell and WSL platforms
- Meet all Azure CLI samples contribution requirements
- Provide security best practices and troubleshooting guidance
…cation troubleshooting

 Features Added:
- Azure NetApp Files LDAP/Kerberos authentication troubleshooting script
- Comprehensive auto-test framework for script validation
- Cluster job orchestrator for auto-test-before-auto-PR workflow
- Multiple validation scripts for Azure CLI samples compliance

 Auto-Test Framework:
- Syntax validation with bash parsing
- Azure CLI samples compliance checking
- Functional testing with mock Azure CLI responses
- Weighted confidence scoring (Syntax 20%, Compliance 40%, Functional 40%)

 Key Components:
- anf-ldap-kerberos-troubleshoot.sh: Complete authentication troubleshooting
- auto_test_framework.py: Comprehensive script testing system
- cluster_job_orchestrator.py: Auto-test-before-auto-PR workflow
- test_script_functional.py: Functional testing with mocked responses
- validate_compliance.*: Azure CLI samples requirements validation

 Benefits:
- Ensures 95%+ script quality before PR submission
- Comprehensive testing without requiring Azure authentication
- Full Azure CLI samples repository compliance validation
- Automated confidence scoring and PR decision making

Implements auto-test-before-auto-PR system with retroactive testing capabilities.
@dbradish-microsoft
Copy link
Contributor

CCing @mikefrobbins for review

@mikefrobbins
Copy link
Collaborator

@b-rranger, Please provide more detail about what these samples are intended to demonstrate.

Please note, this repository is for non-production samples used in Microsoft's official Azure CLI documentation and is designed to be used by our customers for learning and experimentation purposes.

@mikefrobbins mikefrobbins self-requested a review October 23, 2025 19:55
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.

3 participants