Skip to content

Commit

Permalink
update pool
Browse files Browse the repository at this point in the history
  • Loading branch information
manvkaur committed Feb 27, 2024
1 parent 69196b3 commit b1e4b66
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build/build-pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ variables:
pr:
branches:
include:
- main
- main
paths:
exclude:
- '**.md'
Expand All @@ -20,7 +20,9 @@ trigger:

continueOnError: false
pool:
vmImage: ubuntu-latest
name: 1ES-Hosted-Azfunc
demands:
- ImageOverride -equals MMS2019TLS

steps:
- task: UseDotNet@2
Expand Down Expand Up @@ -48,11 +50,11 @@ steps:
inputs:
command: 'build'
arguments: '--configuration $(buildConfiguration) --no-restore -p:ContinuousIntegrationBuild=true'
projects: '**/**.csproj'
projects: 'OpenAI-Extension.sln'

- script: docker build -f samples/chat/csharp-inproc/Dockerfile -t openai-func-sample-csharp-inproc .
displayName: Docker Build - Chat Bot Sample

- script: docker run -d -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite
displayName: Docker Run - Azurite

Expand All @@ -74,4 +76,4 @@ steps:

- script: docker logs openai-func-sample-csharp-inproc
displayName: Print Docker Logs - Chat Bot Sample
condition: always()
condition: always()

0 comments on commit b1e4b66

Please sign in to comment.