Skip to content

Commit

Permalink
Merge branch main into release-app-Microsoft.app-2025-01-01
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-sdk committed Mar 6, 2025
2 parents 59b558a + 9bf72e0 commit 988c049
Show file tree
Hide file tree
Showing 187 changed files with 20,827 additions and 10,455 deletions.
4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-data-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ schedules:
always: true

pool:
name: azsdk-pool-mms-ubuntu-2204-general
vmImage: 'Ubuntu-22.04'
name: azsdk-pool-x64
demands: ImageOverride -equals ubuntu-22.04

variables:
IMAGE_TAG_PREFIX: $[format('1.0.{0:HHm}', pipeline.startTime)]
Expand Down
18 changes: 16 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@
# PRLabel: %Container Service
/specification/containerservice/ @palma21 @weinong @seguler @alvinli222 @justindavies @matthchr @robbiezhang @paulgmiller @yizhang4321 @circy9 @qike-ms

# PRLabel: %Container Service Fleet
/specification/containerservice/**/fleet/ @circy9 @serbrech @jim-minter @matthchr

# PRLabel: %Container Service Fleet
/specification/containerservice/Fleet.Management/ @circy9 @serbrech @jim-minter @matthchr

# PRLabel: %Cosmos
/specification/cosmos-db/ @pjohari-ms @MehaKaushik

Expand Down Expand Up @@ -116,7 +122,7 @@
/specification/domainservices/ @jihochang

# PRLabel: %Event Grid
/specification/eventgrid/ @Kishp01 @ahamad-MS
/specification/eventgrid/ @lmazuel @jsquire @JoshLove-msft @l0lawrence

# PRLabel: %Event Hubs
/specification/eventhub/ @v-ajnava @dsouzaarun @damodaravadhani
Expand All @@ -137,7 +143,13 @@
/specification/iothub/ @rkmanda

# PRLabel: %KeyVault
/specification/keyvault/ @heaths @randallilama @jlichwa
/specification/keyvault/resource-manager/ @vickm @chen-karen @cheathamb36 @lgonsoulin

# PRLabel: %KeyVault
/specification/keyvault/Security.*/ @vickm @chen-karen @cheathamb36 @lgonsoulin @heaths @chlowell

# PRLabel: %KeyVault
/specification/keyvault/data-plane/ @vickm @chen-karen @cheathamb36 @lgonsoulin @heaths

# PRLabel: %Load Test Service
/specification/loadtestservice/data-plane/ @Azure/api-stewardship-board
Expand Down Expand Up @@ -273,6 +285,8 @@
/specification/**/resource-manager/**/readme.go.md @tadelesh
/specification/**/resource-manager/**/readme.python.md @msyyc

/specification/contosowidgetmanager/ @mikeharder @raych1 @maririos

###########
# Eng Sys
###########
Expand Down
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ Switch to "Preview" on this description then select one of the choices below.
<a href="?expand=1&template=data_plane_template.md">Click here</a> to open a PR for a Data Plane API.

<a href="?expand=1&template=control_plane_template.md">Click here</a> to open a PR for a Control Plane (ARM) API.

<a href="?expand=1&template=sdk_configuration_template.md">Click here</a> to open a PR for only SDK configuration.
25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/sdk_configuration_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SDK configuration pull request

## Purpose of this PR

- [ ] Make changes to the SDK configuration only when there are no modifications to the API specification, eliminating the need for an ARM or Stewardship Board API review.

## Due diligence checklist

To merge this PR, you **must** go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

- [ ] I confirm this PR is modifying only SDK configurations, and not API related specifications.
- [ ] I have reviewed and used the respective `tspconfig.yaml` templates:
- [ARM tspconfig template](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml)
- [Data plane tspconfig template](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml)

## Getting help

- First, carefully read through this PR description, from top to bottom. Fill out the `Purpose of this PR` and `Due diligence checklist`.
- If you don't have permissions to remove or add labels to the PR, request `write access` per [aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories](https://aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories)
- To understand what you must do next to merge this PR, see the `Next Steps to Merge` comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
- For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure and https://aka.ms/ci-fix.
- If the PR CI checks appear to be stuck in `queued` state, please add a comment with contents `/azp run`.
This should result in a new comment denoting a `PR validation pipeline` has started and the checks should be updated after few minutes.
- If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.
27 changes: 27 additions & 0 deletions .github/actions/add-empty-artifact/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Add Empty Artifact
description: Uploads an empty artifact named `${name}=${value}`, to be consumed by a later workflow

inputs:
name:
description: Name
required: true
value:
description: Value
required: true

runs:
using: composite

steps:
- name: Create empty file to upload artifact
run: "> $RUNNER_TEMP/empty.txt"
shell: bash

# The maximum length is reported to be 260 characters. A full list of invalid artifact name characters is documented here:
# https://github.com/actions/toolkit/blob/main/packages/artifact/src/internal/upload/path-and-artifact-name-validation.ts
- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}=${{ inputs.value }}
path: ${{ runner.temp }}/empty.txt
if-no-files-found: error
overwrite: true
19 changes: 19 additions & 0 deletions .github/actions/add-label-artifact/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Add Label Artifact
description: Uploads an empty artifact named `label-${name}=${value}`, that's consumed by action "update-labels"

inputs:
name:
description: Name
required: true
value:
description: Value ("true" or "false")
required: true

runs:
using: composite

steps:
- uses: ./.github/actions/add-empty-artifact
with:
name: label-${{ inputs.name }}
value: ${{ inputs.value }}
37 changes: 37 additions & 0 deletions .github/actions/setup-node-install-deps/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Setup Node and install dependencies
description: Uses specified Node version and installs dependencies (typically using "npm")

inputs:
node-version:
description: 'Node version to use'
default: 22.x
install-command:
description: 'Command to install dependencies'
default: 'npm ci'
working-directory:
description: 'Working directory'
default: '.'

runs:
using: "composite"

steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}

- run: |
echo "::group::$INSTALL_COMMAND"
$INSTALL_COMMAND
echo "::endgroup::"
shell: bash
env:
INSTALL_COMMAND: ${{ inputs.install-command }}
working-directory: ${{ inputs.working-directory }}
- run: |
echo "::group::npm ls -a"
npm ls -a || true
echo "::endgroup::"
shell: bash
working-directory: ${{ inputs.working-directory }}
27 changes: 0 additions & 27 deletions .github/actions/setup-node-npm-ci/action.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: '0.2'
import:
- ../cspell.yaml
words:
- azsdk
- pwsh
75 changes: 49 additions & 26 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,51 @@
version: 2
updates:
- package-ecosystem: "npm"
directories:
- "/"
- "/eng/tools/**"
schedule:
interval: "daily"
ignore:
# Updated manually to align with minimum supported Node version
- dependency-name: "@types/node"
# Updated manually to align with repo microsoft/typespec
- dependency-name: "typescript"
- dependency-name: "prettier"
# Updated manually by the Liftr team
- dependency-name: "@azure-tools/typespec-liftr-base"
# minimatch@9 is the last version to support Node 18
- dependency-name: "minimatch"
versions: [ ">= 10.0.0"]
groups:
typespec:
patterns:
- "*typespec*"
eslint:
patterns:
- "*eslint*"
# Leave the constraint if the original constraint allows the new version, otherwise, bump the constraint.
versioning-strategy: increase-if-necessary
- package-ecosystem: "npm"
directories:
- "/"
- "/eng/tools/**"
schedule:
interval: "daily"
ignore:
# Updated manually to align with minimum supported Node version
- dependency-name: "@types/node"
# Updated manually to align with repo microsoft/typespec
- dependency-name: "@vitest/coverage-v8"
- dependency-name: "prettier"
- dependency-name: "vitest"
- dependency-name: "typescript"
# Updated manually by the Liftr team
- dependency-name: "@azure-tools/typespec-liftr-base"
groups:
# Ships separately from other typespec packages
typespec-client-generator-cli:
patterns:
- "@azure-tools/typespec-client-generator-cli"
# Ships separately from other typespec packages
openapi-to-typespec:
patterns:
- "@autorest/openapi-to-typespec"
typespec:
patterns:
- "*typespec*"
eslint:
patterns:
- "*eslint*"
# Leave the constraint if the original constraint allows the new version, otherwise, bump the constraint.
versioning-strategy: increase-if-necessary
- package-ecosystem: "npm"
directories:
- "/.github/"
schedule:
interval: "daily"
ignore:
# Updated manually to align with minimum supported Node version
- dependency-name: "@types/node"
# Updated manually to align with repo microsoft/typespec
- dependency-name: "@vitest/coverage-v8"
- dependency-name: "prettier"
- dependency-name: "vitest"
# Points to "github:actions/github-script" since package isn't published to npmjs
- dependency-name: "@types/github-script"
# Leave the constraint if the original constraint allows the new version, otherwise, bump the constraint.
versioning-strategy: increase-if-necessary
Loading

0 comments on commit 988c049

Please sign in to comment.