Skip to content

ALOps Info

Build agent diagnostic report with system health checks, Docker status, and BC application version discovery.

Property Value
Task name (Azure DevOps) ALOpsInfo@3
Action name (GitHub) alops-info
Version 3.0.2
Category Utility
OS requirement Both
Preview yes

Collects comprehensive build-agent diagnostics: CPU, memory, disk, .NET frameworks, Docker, CI agent info, and BC application version discovery. Optionally enforces free memory/disk thresholds and checks for running Docker containers.

Inputs

thresholds

Name Type Required Default Platform Description
free_mem_threshold Text no 0 Both Minimum free memory percentage required. Set to 0 to disable the check.
free_mem_threshold_action PickList no Warn Both Action to take when free memory is below the threshold. Options: Warn, Error.
free_disk_threshold Text no 0 Both Minimum free disk space percentage required per drive. Set to 0 to disable the check.
free_disk_threshold_action PickList no Warn Both Action to take when free disk space is below the threshold. Options: Warn, Error.

docker

Name Type Required Default Platform Description
docker_containers_action PickList no Error Both Action to take when Docker containers are found on the agent. Set to Ignore to skip the check. Options: Error, Warn, Ignore.

Outputs

Name Description
module_version ALOps module version string.
platform_name Detected CI platform name.
alops_application_version Highest discovered BC application version (Major.Minor.Build.Revision).
alops_application_version_major Major component of the highest discovered BC application version.
alops_application_version_minor Minor component of the highest discovered BC application version.

Usage

- task: ALOpsInfo@3
  displayName: 'ALOps Info'
  inputs:
    free_mem_threshold: 0                 # Minimum free memory percentage required. Set to 0 to disable the check. $(free_mem_threshold)
    free_mem_threshold_action: Warn       # Action to take when free memory is below the threshold. $(free_mem_threshold_action)
    free_disk_threshold: 0                # Minimum free disk space percentage required per drive. Set to 0 to disable the check. $(free_disk_threshold)
    free_disk_threshold_action: Warn      # Action to take when free disk space is below the threshold. $(free_disk_threshold_action)
    docker_containers_action: Error       # Action to take when Docker containers are found on the agent. Set to Ignore to skip the check. $(docker_containers_action)
- name: ALOps Info
  uses: HodorNV/ALOps-V3/alops-info@v3   <!-- TODO: confirm action repo path -->
  with:
    free_mem_threshold: '0'
    free_mem_threshold_action: 'Warn'
    free_disk_threshold: '0'
    free_disk_threshold_action: 'Warn'
    docker_containers_action: 'Error'