Skip to content

feat(update): incorporar Azure CLI al mantenimiento WSL - #29

Merged
jesus-ixatu merged 1 commit into
mainfrom
feat/azure-cli-update
Nov 11, 2026
Merged

jesus-ixatu merged 1 commit into
mainfrom
feat/azure-cli-update

Conversation

@jesus-ixatu

Copy link
Copy Markdown
Collaborator

Closes #28

Alcance

  • Reutiliza scripts/install-azure-cli.sh al faltar az durante la fase APT de dotfiles-update, sin añadir otro instalador.
  • Mantiene versiones APT existentes con el apt-get upgrade habitual (sin reinstalar innecesariamente).
  • Incluye Azure CLI en Tool snapshot y registra versiones antes/después y errores.
  • Ajusta scripts/check-azure-tools.sh para verificar solo en lectura el tenant esperado y la suscripción activa por ID/nombre (sin imprimir usuario, secretos o tokens).
  • Documenta login y selección de suscripción manuales; tests con mocks aislados del az global y soporte resolute.

Validación (PC-IXATU-09, Ubuntu 26.04)

  • Instalación real ya confirmada: azure-cli 2.92.0-1~resolute en /usr/bin/az, procedente de packages.microsoft.com.
  • 26/26 Bats en azure-tools.bats + install-azure-cli.bats; 3/3 pruebas de fase APT.
  • Mock de update genera Azure CLI 2.92.0 -> 2.92.0 (unchanged) en snapshot.
  • shellcheck, shfmt, git diff --check, make security-gitleaks PASS; cero secretos.
  • make agent-validate-changed: dos fallos de tests WinGet por fixtures .log ausentes, reproducidos igualmente sobre main antes del cambio (deuda previa ajena al alcance). CI del PR es el gate requerido.

Límites

Sin az login, sin modificar Entra, recursos Azure, Operations, DevX o Windows; sin service principals ni secretos. PC-IXATU-08 offline: pendiente de validación directa. GitNexus no se reindexó (índice stale/lock; fallback manual permitido).

@jesus-ixatu
jesus-ixatu merged commit 57420d9 into main Nov 11, 2026
1 check passed
@jesus-ixatu
jesus-ixatu deleted the feat/azure-cli-update branch November 11, 2026 10:39
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.

Integrar Azure CLI oficial en dotfiles-update (Ubuntu 26.04 / WSL2)

1 participant