From 6f1ac51e087d5f27810d36387b32af8d3fda63b3 Mon Sep 17 00:00:00 2001 From: Kslr Date: Thu, 23 Jul 2020 12:20:19 +0800 Subject: [PATCH] only keep release --- azure-pipelines.template.yml | 22 -------------------- azure-pipelines.yml | 40 ------------------------------------ 2 files changed, 62 deletions(-) delete mode 100644 azure-pipelines.template.yml diff --git a/azure-pipelines.template.yml b/azure-pipelines.template.yml deleted file mode 100644 index a982efbe..00000000 --- a/azure-pipelines.template.yml +++ /dev/null @@ -1,22 +0,0 @@ -jobs: -- job: ${{ parameters.name }} - timeoutInMinutes: 30 - - pool: - vmImage: ${{ parameters.vmImage }} - - steps: - - checkout: self - - task: GoTool@0 - inputs: - version: '1.14' - - script: | - go test -p 1 -v -timeout 30m ./... - workingDirectory: '$(Build.SourcesDirectory)' - displayName: 'Test' - - - script: | - go build ./common/buf - condition: always() - workingDirectory: '$(Build.SourcesDirectory)' - displayName: 'Test Buf error' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3a77a16b..31c50d98 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,47 +6,7 @@ trigger: - dev* - refs/tags/* -pr: - - master - - dev* - jobs: -- template: azure-pipelines.template.yml - parameters: - name: linux - vmImage: 'ubuntu-latest' - -- template: azure-pipelines.template.yml - parameters: - name: windows - vmImage: 'windows-latest' - -- template: azure-pipelines.template.yml - parameters: - name: macos - vmImage: 'macOS-latest' - -- job: linux_coverage - dependsOn: linux - condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) - timeoutInMinutes: 30 - - pool: - vmImage: 'ubuntu-latest' - -#variables: -# CODECOV_TOKEN: '$(coverage.token)' - - - steps: - - checkout: self - - task: GoTool@0 - inputs: - version: '1.14.6' - - script: | - bash ./testing/coverage/coverall - workingDirectory: '$(Build.SourcesDirectory)' - displayName: 'Coverage' - job: make_release dependsOn: linux