Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c10a375
Refactor configuration structure in constants.yaml and update value r…
devanshjainms Sep 22, 2025
cabbbbd
Update .gitignore to include GitHub Copilot configuration files and u…
devanshjainms Sep 22, 2025
915791c
Disable all HA functional tests in input-api.yaml for maintenance
devanshjainms Sep 22, 2025
cbca5f3
Refactor value retrieval in BaseHAClusterValidator for improved clari…
devanshjainms Sep 22, 2025
39cb668
Refactor expected_value handling in HAClusterValidator for improved t…
devanshjainms Sep 22, 2025
eababcf
Refactor expected value handling in BaseHAClusterValidator and HAClus…
devanshjainms Sep 22, 2025
66d1231
Enhance validation logic in HAClusterValidator classes for improved r…
devanshjainms Sep 23, 2025
ac145ef
Rename method to _parse_basic_parameters for clarity in BaseHACluster…
devanshjainms Sep 23, 2025
6731686
Refactor HAClusterValidator to remove unused resource categories and …
devanshjainms Sep 23, 2025
0ad6d99
Refactor BaseHAClusterValidator by removing unused _parse_basic_param…
devanshjainms Sep 23, 2025
280363a
Refactor HAClusterValidator and related tests to enhance expected val…
devanshjainms Sep 23, 2025
40798e3
Refactor constants.yaml structure to include 'value' and 'required' f…
devanshjainms Sep 23, 2025
78d728a
Update type hinting in sap_automation_qa.py and enable HA Parameters …
devanshjainms Sep 23, 2025
86bc3fe
Refactor HAClusterValidator to enhance expected value handling by imp…
devanshjainms Sep 23, 2025
6b5f915
Refactor HAClusterValidator to improve provider value handling and up…
devanshjainms Sep 23, 2025
785b8cc
Enable all HA functional tests in input-api.yaml for comprehensive va…
devanshjainms Sep 23, 2025
9b2a21e
Refactor DUMMY_CONSTANTS in get_pcmk_properties_db_test.py and get_pc…
devanshjainms Sep 23, 2025
8f577f5
Remove 'ansible' from package installation in setup.sh and switch to …
devanshjainms Sep 24, 2025
278bc95
Add Azure CLI installation check in setup.sh for improved setup process
devanshjainms Sep 25, 2025
5bca279
Fix Azure CLI installation command in setup.sh to include the '-y' fl…
devanshjainms Sep 25, 2025
111d22a
Fix Azure CLI installation command in setup.sh by removing the '-y' f…
devanshjainms Sep 25, 2025
f14dd2a
Fix Azure CLI installation command in setup.sh to include the '-y' fl…
devanshjainms Sep 25, 2025
95ebc38
Remove '-y' flag from Azure CLI installation command in setup.sh for …
devanshjainms Sep 25, 2025
b738805
Change stdout_callback in ansible.cfg from 'yaml' to 'default'
devanshjainms Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -409,3 +409,6 @@ VMWPASSWORD
.coverage.*
*.ini
.ansible/

# GitHub Copilot configuration files
copilot-instructions.md
51 changes: 25 additions & 26 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
#
# pip-compile requirements.in
#
ansible-compat==25.6.0
ansible-compat==25.8.1
# via ansible-lint
ansible-core==2.17.13
ansible-core==2.17.14
# via
# -r requirements.in
# ansible-compat
# ansible-lint
ansible-lint==25.6.1
ansible-lint==25.8.2
# via -r requirements.in
ansible-runner==2.4.1
# via -r requirements.in
Expand All @@ -30,7 +30,7 @@ azure-core==1.35.0
# azure-mgmt-core
# azure-storage-blob
# azure-storage-queue
azure-identity==1.23.1
azure-identity==1.24.0
# via
# -r requirements.in
# azure-kusto-data
Expand Down Expand Up @@ -58,21 +58,21 @@ black==25.1.0
# ansible-lint
bracex==2.6
# via wcmatch
certifi==2025.7.14
certifi==2025.8.3
# via requests
cffi==1.17.1
cffi==2.0.0
# via cryptography
charset-normalizer==3.4.2
charset-normalizer==3.4.3
# via requests
click==8.2.1
# via
# -r requirements.in
# black
coverage[toml]==7.10.0
coverage[toml]==7.10.6
# via
# -r requirements.in
# pytest-cov
cryptography==45.0.5
cryptography==45.0.7
# via
# ansible-core
# azure-identity
Expand All @@ -84,7 +84,7 @@ dill==0.4.0
# via pylint
exceptiongroup==1.3.0
# via pytest
filelock==3.18.0
filelock==3.19.1
# via ansible-lint
idna==3.10
# via requests
Expand All @@ -107,15 +107,15 @@ jinja2==3.1.6
# ansible-core
jmespath==1.0.1
# via -r requirements.in
jsonschema==4.25.0
jsonschema==4.25.1
# via
# ansible-compat
# ansible-lint
jsonschema-specifications==2025.4.1
jsonschema-specifications==2025.9.1
# via jsonschema
lockfile==0.12.2
# via python-daemon
markdown-it-py==3.0.0
markdown-it-py==4.0.0
# via rich
markupsafe==3.0.2
# via jinja2
Expand Down Expand Up @@ -144,7 +144,7 @@ packaging==25.0
# ansible-runner
# black
# pytest
pandas==2.3.1
pandas==2.3.2
# via -r requirements.in
pathspec==0.12.1
# via
Expand All @@ -153,7 +153,7 @@ pathspec==0.12.1
# yamllint
pexpect==4.9.0
# via ansible-runner
platformdirs==4.3.8
platformdirs==4.4.0
# via
# black
# pylint
Expand All @@ -163,7 +163,7 @@ pluggy==1.6.0
# pytest-cov
ptyprocess==0.7.0
# via pexpect
pycparser==2.22
pycparser==2.23
# via cffi
pygments==2.19.2
# via
Expand All @@ -173,16 +173,16 @@ pyjwt[crypto]==2.10.1
# via
# msal
# pyjwt
pylint==3.3.7
pylint==3.3.8
# via -r requirements.in
pytest==8.4.1
pytest==8.4.2
# via
# -r requirements.in
# pytest-cov
# pytest-mock
pytest-cov==6.2.1
pytest-cov==7.0.0
# via -r requirements.in
pytest-mock==3.14.1
pytest-mock==3.15.0
# via -r requirements.in
python-daemon==3.1.2
# via ansible-runner
Expand All @@ -205,21 +205,21 @@ referencing==0.36.2
# ansible-lint
# jsonschema
# jsonschema-specifications
requests==2.32.4
requests==2.32.5
# via
# -r requirements.in
# azure-core
# azure-kusto-data
# msal
resolvelib==1.0.1
# via ansible-core
rich==14.0.0
rich==14.1.0
# via -r requirements.in
rpds-py==0.26.0
rpds-py==0.27.1
# via
# jsonschema
# referencing
ruamel-yaml==0.18.14
ruamel-yaml==0.18.15
# via ansible-lint
ruamel-yaml-clib==0.2.12
# via ruamel-yaml
Expand All @@ -241,7 +241,7 @@ tomli==2.2.1
# pytest
tomlkit==0.13.3
# via pylint
typing-extensions==4.14.1
typing-extensions==4.15.0
# via
# astroid
# azure-core
Expand All @@ -252,7 +252,6 @@ typing-extensions==4.14.1
# black
# exceptiongroup
# referencing
# rich
tzdata==2025.2
# via pandas
urllib3==2.5.0
Expand Down
16 changes: 14 additions & 2 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,21 @@ set_output_context
# Ensure we're in the project root directory
cd "$(dirname "$script_dir")"

packages=("python3-pip" "ansible" "sshpass" "python3-venv")
packages=("python3-pip" "sshpass" "python3-venv")
install_packages "${packages[@]}"

# Install az cli if not present
if ! command_exists az; then
log "INFO" "Azure CLI not found. Installing Azure CLI..."
curl -L https://aka.ms/InstallAzureCli | bash
if command_exists az; then
log "INFO" "Azure CLI installed successfully."
else
log "ERROR" "Failed to install Azure CLI. Please install it manually."
exit 1
fi
fi

# Verify Python3 is available
if ! command_exists python3; then
log "ERROR" "Python3 is not available after installation. Please install Python3 manually."
Expand Down Expand Up @@ -47,7 +59,7 @@ log "INFO" "Installing Python packages..."
if ! pip install --upgrade pip; then
log "ERROR" "Failed to upgrade pip."
fi
if pip install pyyaml requests azure-identity azure-kusto-data azure-kusto-ingest azure-mgmt-network azure-storage-blob azure-storage-queue; then
if pip install -r requirements.in; then
log "INFO" "Python packages installed successfully."
else
log "ERROR" "Failed to install Python packages."
Expand Down
2 changes: 1 addition & 1 deletion src/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ display_skipped_hosts = False
conditional_bare_variables = False
interpreter_python = auto_silent
callbacks_enabled = profile_tasks
stdout_callback = yaml
stdout_callback = default
bin_ansible_callbacks = True
host_key_checking = False
error_on_undefined_vars = True
Expand Down
Loading