Skip to content

Commit

Permalink
added new xplat pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
maikvandergaag committed Sep 14, 2023
1 parent 6dc62a3 commit 7c52025
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
68 changes: 68 additions & 0 deletions pipelines/powerbiactions-xplat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: $(buildversion)

trigger:
branches:
include:
- main
- features/*
paths:
include:
- azuredevops/powerbiactions-xplat
- pipelines/powerbiactions-xplat.yml

pr:
branches:
include:
- main
- features/*
paths:
include:
- azuredevops/powerbiactions-xplat
- pipelines/powerbiactions-xplat.yml

variables:
- group: "Marketplace"
- group: "Version Number"
- template: variables/powerbiaction-xplat.variables.yml

stages:
- stage: build
displayName: Build
jobs:
- job:
pool:
vmImage: "windows-latest"
demands: azureps
continueOnError: false
steps:
- template: steps/build.yml
- stage: Beta
displayName: Test
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
jobs:
- deployment: DeployTest
displayName: Deploy Extension to Test
pool:
vmImage: "windows-latest"
demands: azureps
environment: "Extensions test"
strategy:
runOnce:
deploy:
steps:
- template: steps/test.yml
- stage: Publish
displayName: Publish
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
jobs:
- deployment: DeployPRD
displayName: Deploy Extension to Public Publisher
pool:
vmImage: "windows-latest"
demands: azureps
environment: "Public publisher"
strategy:
runOnce:
deploy:
steps:
- template: steps/publish.yml
11 changes: 11 additions & 0 deletions pipelines/variables/powerbiaction-xplat.variables.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
variables:
- name: rootfolder
value: azuredevops/powerbiactions-xplat
- name: artifactName
value: powerbiactions
- name: extensionId
value: maikvandergaag-power-bi-actions
- name: extensionName
value: DEV - Power BI Actions
- name: extensionNamePrd
value: Power BI Actions

0 comments on commit 7c52025

Please sign in to comment.