Skip to content

Nightly Template Validation Pipeline

Purpose

The ConnectSoft platform uses a nightly pipeline to validate template installers from Azure Artifacts. This protects template quality by continuously checking scaffold, restore, build, and unit-test behavior across representative variations.

Pipeline Ownership and Location

  • Repository: ConnectSoft.AzurePipelines
  • File: nightly-validate-template-installers.yml

Approach

  • The pipeline resolves and downloads the latest installer packages from feed ConnectSoft.
  • Templates are installed from local .nupkg artifacts.
  • A matrix strategy executes template variations in parallel.
  • Each variation performs:
  • scaffold from dotnet new
  • dotnet restore
  • dotnet build -c Release
  • unit-test-focused dotnet test
  • TRX test outputs are published when present.
  • Scaffold outputs are published on failures for debugging.

Documentation Model

Documentation repositories are not checked out by this pipeline.

Instead, docs are updated and versioned directly in documentation repositories through normal documentation change workflows. This keeps CI validation responsibilities separate from documentation publishing concerns.

Templates Covered (Current Initial Set)

  • ConnectSoft.LibraryTemplate.Installer
  • ConnectSoft.ApiLibraryTemplate.Installer
  • ConnectSoft.BaseTemplate.Installer
  • ConnectSoft.AISkillsLibraryTemplate.Installer
  • ConnectSoft.ApiGatewayTemplate.Installer
  • ConnectSoft.DocumentationTemplate.Installer
  • ConnectSoft.Blazor.ComponentLibraryTemplate.Installer
  • ConnectSoft.IdentityTemplate.Installer
  • ConnectSoft.HealthChecksAggregatorTemplate.Installer

ConnectSoft.PlatformTemplate is currently excluded until an installer package flow is finalized.