From 94dccd8fa5d9368912f1262d7776922087692ffb Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Tue, 19 Sep 2023 18:42:33 +0300 Subject: [PATCH] [TEMP] Run only Build_Release. --- azure-pipelines.yml | 51 --------------------------------------------- 1 file changed, 51 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8f9d6a271f81..553fa642ba9f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,27 +24,7 @@ variables: value: ghcr.io/ihnorton/tiledb-manylinux2014_x86_64:2023-04-02 stages: - - stage: CI - condition: and(not(startsWith(variables['Build.SourceBranch'], 'refs/tags')), not(startsWith(variables['Build.SourceBranchName'], 'build-'))) - variables: - BACKWARDS_COMPATIBILITY_ARRAYS: OFF - jobs: - - job: linux_manylinux - pool: { vmImage: $(imageName) } - container: ${{ variables.MANYLINUX_IMAGE }} - variables: - imageName: 'ubuntu-20.04' - TILEDB_SERIALIZATION: ON - CXX: g++ - CC: gcc - CXXFLAGS: "-lrt" - CFLAGS: "-lrt" - USE_MANYLINUX: ON - steps: - - template: scripts/azure-linux_mac.yml - - stage: Build_Release - condition: or(or(or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), eq(variables['Build.SourceBranchName'], 'dev')), startsWith(variables['Build.SourceBranchName'], 'release-')), startsWith(variables['Build.SourceBranchName'], 'build-')) variables: TILEDB_S3: ON TILEDB_AZURE: ON @@ -118,34 +98,3 @@ stages: vmImage: $(imageName) steps: - template: scripts/azure-windows-release.yml - - # NOTE: this section cannot be conditional because `Build.Repository.Name` is an agent-scoped variable. - - stage: Github_Release - condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') - pool: - vmImage: 'ubuntu-latest' - jobs: - - job: - steps: - # First download artifacts - - task: DownloadBuildArtifacts@0 - inputs: - downloadType: 'specific' - - script: | - echo $sourceVersion - commitHash=${sourceVersion:0:7} - echo $commitHash - echo "##vso[task.setvariable variable=commitHash]$commitHash" ## Set variable for using in other tasks. - env: { sourceVersion: $(Build.SourceVersion) } - displayName: Git Hash 7-digit - - task: GithubRelease@0 - condition: succeeded() # only run this job if the build step succeeded - displayName: 'Add artifacts to GitHub Release' - inputs: - gitHubConnection: TileDB-Inc-Release - repositoryName: $(Build.Repository.Name) - addChangeLog: false - action: edit - tag: $(Build.SourceBranchName) - assets: | - $(Build.ArtifactStagingDirectory)/built-libs/*