From 03d4b69c299ae2bdc6c3a61f50df3eb6f7f99a0b Mon Sep 17 00:00:00 2001 From: Yan Xu Date: Wed, 20 Nov 2024 09:38:01 +0800 Subject: [PATCH] remove pipelines test-emitter.yml and test-sdk.yml (#1406) --- .azure-pipelines/test-emitter.yml | 52 ------------------------------- .azure-pipelines/test-sdk.yml | 48 ---------------------------- 2 files changed, 100 deletions(-) delete mode 100644 .azure-pipelines/test-emitter.yml delete mode 100644 .azure-pipelines/test-sdk.yml diff --git a/.azure-pipelines/test-emitter.yml b/.azure-pipelines/test-emitter.yml deleted file mode 100644 index 3e4d802c4d..0000000000 --- a/.azure-pipelines/test-emitter.yml +++ /dev/null @@ -1,52 +0,0 @@ -pool: pool-windows-2019 - -steps: -- task: NodeTool@0 - displayName: 'Use Node 18' - inputs: - versionSpec: 18.x - -- task: Npm@1 - displayName: 'Install @typespec/compiler@latest' - inputs: - command: custom - verbose: false - customCommand: 'install -g "@typespec/compiler"' - -- task: Npm@1 - displayName: 'Install @microsoft/rush' - inputs: - command: custom - verbose: false - customCommand: 'install -g @microsoft/rush@5.63.1' - -- task: CmdLine@2 - displayName: 'Rush sync-versions' - inputs: - script: 'rush sync-versions' - -- task: CmdLine@2 - displayName: 'Rush Update' - inputs: - script: 'rush update' - -- task: CmdLine@2 - displayName: 'Rush Rebuild' - inputs: - script: 'rush rebuild' - -- script: npm install - displayName: 'Run npm install in tests-emitter' - workingDirectory: 'tests-upgrade/tests-emitter' - -- pwsh: | - ./EmitterTest.ps1 -AllowList -SaveResult - workingDirectory: 'tests-upgrade/tests-emitter' - displayName: 'Verify Typespec emitter' - -- task: PublishPipelineArtifact@0 - displayName: 'Save artifacts' - inputs: - artifactName: CompareResult - targetPath: tests-upgrade/tests-emitter/CompareResult - condition: succeededOrFailed() diff --git a/.azure-pipelines/test-sdk.yml b/.azure-pipelines/test-sdk.yml deleted file mode 100644 index 4b115852f7..0000000000 --- a/.azure-pipelines/test-sdk.yml +++ /dev/null @@ -1,48 +0,0 @@ -pool: pool-windows-2019 - -steps: -- task: NodeTool@0 - displayName: 'Use Node 18' - inputs: - versionSpec: 18.x - -- task: Npm@1 - displayName: 'Install autorest@latest' - inputs: - command: custom - verbose: false - customCommand: 'install -g "autorest"' - -- task: Npm@1 - displayName: 'Install @microsoft/rush' - inputs: - command: custom - verbose: false - customCommand: 'install -g @microsoft/rush@5.63.1' - -- task: CmdLine@2 - displayName: 'Rush sync-versions' - inputs: - script: 'rush sync-versions' - -- task: CmdLine@2 - displayName: 'Rush Update' - inputs: - script: 'rush update' - -- task: CmdLine@2 - displayName: 'Rush Rebuild' - inputs: - script: 'rush rebuild' - -- pwsh: | - ./AutoRestSupportSdkTest.ps1 -AllowList -SkipCsharp - workingDirectory: 'tests-upgrade/tests-sdk1-support' - displayName: 'Verify SDK generator' - -- task: PublishPipelineArtifact@0 - displayName: 'Save artifacts' - inputs: - artifactName: CompareResult - targetPath: tests-upgrade/tests-sdk1-support/CompareResult - condition: succeededOrFailed()