Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
8 changes: 6 additions & 2 deletions .github/workflows/cli-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- "!cli/azd/extensions/**"
- ".github/workflows/cli-ci.yml"
- "eng/scripts/Get-CoverageDiff*.ps1"
- "eng/scripts/Set-ExtensionVersionVariable*.ps1"
branches: [main]

# If two events are triggered within a short time in the same PR, cancel the run of the oldest event
Expand Down Expand Up @@ -52,14 +53,17 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v6
- name: Run Pester tests for coverage scripts
- name: Run Pester tests for engineering scripts
shell: pwsh
run: |
# Pin Pester to a specific signed release for deterministic, supply-chain-safe installs.
Install-Module -Name Pester -RequiredVersion 5.7.1 -Force -Scope CurrentUser
Import-Module Pester -RequiredVersion 5.7.1
$config = New-PesterConfiguration
$config.Run.Path = './eng/scripts/Get-CoverageDiff.Tests.ps1'
$config.Run.Path = @(
'./eng/scripts/Get-CoverageDiff.Tests.ps1'
'./eng/scripts/Set-ExtensionVersionVariable.Tests.ps1'
)
$config.Run.Exit = $true
$config.Output.Verbosity = 'Detailed'
Invoke-Pester -Configuration $config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ func TestCreateInternalExtensionScaffold(t *testing.T) {
filepath.Join(repoRoot, "eng", "pipelines", "release-ext-"+sanitizedId+".yml"),
"AzdExtensionId: azure.ai.example",
"SanitizedExtensionId: azure-ai-example",
"/eng/pipelines/templates/stages/publish-extension-pr.yml",
"/eng/scripts/Set-ExtensionVersionVariable.ps1",
)
assertFileContains(
t,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ trigger:
include:
- cli/azd/extensions/{{.Metadata.Id}}
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1

pr:
paths:
include:
- cli/azd/extensions/{{.Metadata.Id}}
- eng/pipelines/release-ext-{{.SanitizedId}}.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-agents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.agents
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.agents
- eng/pipelines/release-ext-azure-ai-agents.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-connections.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.connections
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.connections
- eng/pipelines/release-ext-azure-ai-connections.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.finetune
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.finetune
- eng/pipelines/release-ext-azure-ai-finetune.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-inspector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.inspector
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.inspector
- eng/pipelines/release-ext-azure-ai-inspector.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.models
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.models
- eng/pipelines/release-ext-azure-ai-models.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.projects
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.projects
- eng/pipelines/release-ext-azure-ai-projects.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-rle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.rle
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.rle
- eng/pipelines/release-ext-azure-ai-rle.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-routines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.routines
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.routines
- eng/pipelines/release-ext-azure-ai-routines.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-skills.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.skills
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.skills
- eng/pipelines/release-ext-azure-ai-skills.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-toolboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.toolboxes
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.toolboxes
- eng/pipelines/release-ext-azure-ai-toolboxes.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-ai-training.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.ai.training
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.ai.training
- eng/pipelines/release-ext-azure-ai-training.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-appservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.appservice
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.appservice
- eng/pipelines/release-ext-azure-appservice.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-azure-coding-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/azure.coding-agent
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/azure.coding-agent
- eng/pipelines/release-ext-azure-coding-agent.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-microsoft-azd-ai-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/microsoft.azd.ai.builder
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/microsoft.azd.ai.builder
- eng/pipelines/release-ext-microsoft-azd-ai-builder.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-microsoft-azd-concurx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/microsoft.azd.concurx
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/microsoft.azd.concurx
- eng/pipelines/release-ext-microsoft-azd-concurx.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-microsoft-azd-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/microsoft.azd.demo
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/microsoft.azd.demo
- eng/pipelines/release-ext-microsoft-azd-demo.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/release-ext-microsoft-azd-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- cli/azd/extensions/microsoft.azd.extensions
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- /eng/pipelines/templates/jobs/build-azd-extension.yml
- /eng/pipelines/templates/jobs/cross-build-azd-extension.yml
- /eng/pipelines/templates/variables/image.yml
Expand All @@ -17,6 +19,8 @@ pr:
- cli/azd/extensions/microsoft.azd.extensions
- eng/pipelines/release-ext-microsoft-azd-extensions.yml
- /eng/pipelines/templates/stages/release-azd-extension.yml
- /eng/pipelines/templates/stages/publish-extension-pr.yml
- /eng/scripts/Set-ExtensionVersionVariable.ps1
- eng/pipelines/templates/steps/publish-cli.yml
exclude:
- cli/azd/docs/**
Expand Down
Loading
Loading