Skip to content

Commit

Permalink
[EngSys] add a pipeline that can be manually triggered (#30269)
Browse files Browse the repository at this point in the history
to lint and build all packages. This can be used to valid changes that
touches
large number of files, and are skipping CIs.

---------

Co-authored-by: Ben Broderick Phillips <[email protected]>
  • Loading branch information
jeremymeng and benbp authored Jul 12, 2024
1 parent 87dfa84 commit 13408d4
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions eng/pipelines/run-for-all-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
trigger: none
pr: none

stages:
- stage:
displayName: Manual Validation All Packages

pool:
name: azsdk-pool-mms-ubuntu-2204-general

jobs:
- job: BuildAllPackages
timeoutInMinutes: 120
steps:
- template: /eng/pipelines/templates/steps/use-node-version.yml
parameters:
NodeVersion: 20.x

- template: ./templates/steps/generate-doc.yml
parameters:
ServiceDirectory: core

- script: |
node common/scripts/install-run-rush.js install
displayName: "Install library dependencies"
- script: |
node common/scripts/install-run-rush.js build -t @azure/eslint-plugin-azure-sdk
node eng/tools/rush-runner.js lint -p max
displayName: "Build ESLint Plugin and Lint All Packages"
- script: |
node eng/tools/rush-runner.js build -p max
displayName: "Build All Packages"
- script: |
node eng/tools/rush-runner.js build:test -t @azure/identity -t @azure/app-configuration -t @azure/event-hubs -t @azure-rest/synapse-access-control -t @azure/storage-blob
displayName: "Build Tests for Selected Packages"
- script: |
node eng/tools/rush-runner.js unit-test -t @azure/identity -t @azure/app-configuration -t @azure/event-hubs -p 1
displayName: "Run Unit Tests for Selected Packages"
- script: |
node eng/tools/rush-runner.js integration-test --only @azure/app-configuration --only @azure/storage-blob --only @azure-rest/synapse-access-control -p 1
displayName: "Run Integration Tests for Selected Packages"

0 comments on commit 13408d4

Please sign in to comment.