Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sboulema/BrewDB
Browse files Browse the repository at this point in the history
  • Loading branch information
Samir L. Boulema committed Oct 30, 2020
2 parents 0c8020f + e6d8b31 commit 2053d09
Showing 1 changed file with 40 additions and 6 deletions.
46 changes: 40 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,65 @@ stages:
displayName: MariaDB
inputs:
targetType: 'inline'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=mariadb&errorResponse=zip'' -o mariadb.zip'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=mariadb&errorResponse=zip'' -o MariaDB.zip'
- task: PowerShell@2
displayName: Postgres
inputs:
targetType: 'inline'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=postgresql&errorResponse=zip'' -o postgresql.zip'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=postgresql&errorResponse=zip'' -o PostgresSQL.zip'
- task: PowerShell@2
displayName: MySQL
inputs:
targetType: 'inline'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=mysql&errorResponse=zip'' -o MySQL.zip'
- task: PowerShell@2
displayName: Excel
inputs:
targetType: 'inline'
script: 'curl -F files[][email protected] ''https://www.rebasedata.com/api/v1/convert?outputFormat=xlsx&errorResponse=zip'' -o Excel.zip'

- task: PublishPipelineArtifact@1
displayName: Publish MariaDB
inputs:
targetPath: 'MariaDB.zip'
artifact: 'MariaDB'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Publish PostgresSQL
inputs:
targetPath: 'PostgresSQL.zip'
artifact: 'PostgresSQL'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Publish MySQL
inputs:
targetPath: 'MySQL.zip'
artifact: 'MySQL'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Publish Excel
inputs:
targetPath: '$(Pipeline.Workspace)'
artifact: '*.zip'
targetPath: 'Excel.zip'
artifact: 'Excel'
publishLocation: 'pipeline'
- stage: Release
displayName: Release to Github
jobs:
- job: Release
steps:
- task: DownloadPipelineArtifact@2
displayName: 'Download Pipeline Artifacts'
- task: GitHubReleasePublish@1
displayName: Github Release
inputs:
githubEndpoint: 'sboulema'
manuallySetRepository: false
manuallySetRepository: true
githubOwner: 'sboulema'
githubRepositoryName: 'BrewDB'
githubReleaseDraft: false
githubReleasePrerelease: false
githubIgnoreAssets: false
githubReleaseAsset: '*.zip'
githubReleaseAsset: '$(Pipeline.Workspace)/**/*.zip'
githubReuseRelease: true
githubReuseDraftOnly: true
githubSkipDuplicatedAssets: false
Expand Down

0 comments on commit 2053d09

Please sign in to comment.