Skip to content

Commit

Permalink
ci: dummy csharp e2etests ado pipeline (#2870)
Browse files Browse the repository at this point in the history
# Description

Add a dummy pipeline for further test on ado configuration.

# All Promptflow Contribution checklist:
- [x] **The pull request does not introduce [breaking changes].**
- [x] **CHANGELOG is updated for new features, bug fixes or other
significant changes.**
- [x] **I have read the [contribution guidelines](../CONTRIBUTING.md).**
- [ ] **Create an issue and link to the pull request to get dedicated
review from promptflow team. Learn more: [suggested
workflow](../CONTRIBUTING.md#suggested-workflow).**

## General Guidelines and Best Practices
- [x] Title of the pull request is clear and informative.
- [x] There are a small number of commits, each of which have an
informative message. This means that previously merged commits do not
appear in the history of the PR. For more information on cleaning up the
commits in your PR, [see this
page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md).

### Testing Guidelines
- [ ] Pull request includes test coverage for the included changes.
  • Loading branch information
elliotzh authored Apr 18, 2024
1 parent f592288 commit 7cd3051
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/pipelines/promptflow-csharp-e2e-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.r) # Configure run or build numbers

variables:
- group: promptflow-csharp
- name: buildConfiguration
value: 'Release'
- name: currentRepoPath
value: "PromptflowCS"
- name: cliRepoPath
value: "promptflow"
- name: flowProjectRelativePath
value: '$(currentRepoPath)/src/PromptflowCSharp/Sample'
- name: system.debug
value: 'true'
- name: cliInstallationPath
value: '$(cliRepoPath)/src/promptflow'

trigger:
- main
- releases/*

parameters:
- name: githubPromptflowBranch
displayName: "Github Promptflow Branch Name"
type: string
default: main


jobs:
- job: linux
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Bash@3
displayName: 'Set environment variables'
inputs:
targetType: inline
script: |
export AOAI_CONNECTION=$(AOAI_CONNECTION)
export OPENAI_CONNECTION=$(OPENAI_CONNECTION)
export SERP_CONNECTION=$(SERP_CONNECTION)
export ACS_CONNECTION=$(ACS_CONNECTION)
export IS_IN_CI_PIPELINE=true

0 comments on commit 7cd3051

Please sign in to comment.