Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Initialize CodeQL
uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
uses: github/codeql-action/autobuild@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/ossf-scoreboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
output: report-fs.sarif

- name: Upload Trivy report (fs) GitHub Security
uses: github/codeql-action/upload-sarif@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
with:
sarif_file: report-fs.sarif
category: 'fs'
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile ./requirements.in
# pip-compile requirements.in
#
ansible-compat==25.12.0
# via ansible-lint
Expand All @@ -11,7 +11,7 @@ ansible-core==2.17.14
# -r requirements.in
# ansible-compat
# ansible-lint
ansible-lint==25.12.0
ansible-lint==25.12.1
# via -r requirements.in
ansible-runner==2.4.2
# via -r requirements.in
Expand All @@ -21,7 +21,7 @@ attrs==25.4.0
# via
# jsonschema
# referencing
azure-core==1.36.0
azure-core==1.37.0
# via
# azure-identity
# azure-kusto-data
Expand Down Expand Up @@ -94,7 +94,7 @@ distro==1.9.0
# via ansible-lint
exceptiongroup==1.3.1
# via pytest
filelock==3.20.0
filelock==3.20.1
# via ansible-lint
idna==3.11
# via requests
Expand Down Expand Up @@ -239,7 +239,7 @@ rpds-py==0.30.0
# via
# jsonschema
# referencing
ruamel-yaml==0.18.16
ruamel-yaml==0.18.17
# via ansible-lint
ruamel-yaml-clib==0.2.15
# via
Expand Down Expand Up @@ -274,9 +274,9 @@ typing-extensions==4.15.0
# cryptography
# exceptiongroup
# referencing
tzdata==2025.2
tzdata==2025.3
# via pandas
urllib3==2.6.1
urllib3==2.6.2
# via requests
wcmatch==10.1
# via ansible-lint
Expand Down
16 changes: 12 additions & 4 deletions src/roles/ha_scs/tasks/files/constants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,12 @@ RESOURCE_DEFAULTS:
value: ["20", "20s"]
required: false
timeout:
value: ["40", "40s"]
required: false
ANF:
value: ["105", "105s"]
required: false
AFS:
value: ["40", "40s"]
required: false
start:
interval:
value: ["0", "0s"]
Expand Down Expand Up @@ -710,8 +714,12 @@ RESOURCE_DEFAULTS:
value: ["20", "20s"]
required: false
timeout:
value: ["40", "40s"]
required: false
ANF:
value: ["105", "105s"]
required: false
AFS:
value: ["40", "40s"]
required: false
start:
interval:
value: ["0", "0s"]
Expand Down
22 changes: 18 additions & 4 deletions src/roles/misc/tasks/post-telemetry-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,24 @@
"OsVersion": "{{ target_os_family | default(ansible_distribution | default('') ~ ' ' ~ ansible_distribution_version | default('')) }}",
"TestCaseMessage": "{{ test_case_message | default('') }}",
"TestCaseDetails": "{{ test_case_details | default('') }}",
"DurationSeconds": "{{
((test_execution_end_time | default(now(utc=true, fmt='%Y-%m-%d %H:%M:%S')) | to_datetime)
- (test_execution_start_time | default(test_case_start_time_epoch) | to_datetime))
}}",
"DurationSeconds": "{{
(
(
(test_execution_end_time
| default(now(utc=true, fmt='%Y-%m-%d %H:%M:%S'))
)
| to_datetime('%Y-%m-%d %H:%M:%S')
).timestamp()
-
(
(test_execution_start_time
| default(test_case_start_time_epoch
| default(now(utc=true, fmt='%Y-%m-%d %H:%M:%S')))
)
| to_datetime('%Y-%m-%d %H:%M:%S')
).timestamp()
) | int
}}",
"DbFencingType": "{{ database_cluster_type if (database_high_availability | default(false)) else 'DB not HA' }}",
"ScsFencingType": "{{ scs_cluster_type if (scs_high_availability | default(false)) else 'SCS not HA' }}",
"StorageType": "{{ NFS_provider | default('unknown') }}",
Expand Down
22 changes: 21 additions & 1 deletion src/roles/misc/tasks/render-html-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,27 @@
- name: "Read the log file and create a HTML report"
render_html_report:
test_group_invocation_id: "{{ test_group_invocation_id }}"
test_group_name: "{{ report_file_name | default(test_group_name + '_' + ansible_os_family | upper) }}"
test_group_name: "{{
report_file_name
| default(
(
(test_group_name
if (test_group_name is defined)
else 'TESTS')
~ '_'
~ (
(target_os_family
if (target_os_family is defined)
else (
(ansible_os_family
if (ansible_os_family is defined)
else 'UNKNOWN')
))
| upper
)
)
)
}}"
report_template: "{{ html_report_template }}"
workspace_directory: "{{ _workspace_directory }}"
test_case_results: "{{ all_results | default([]) }}"
Expand Down