forked from microsoft/genaiops-promptflow-template
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.23 KB
/
class_flows_ci_dev_workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: class_flows_ci_dev_workflow
on:
workflow_call:
inputs:
env_name:
type: string
description: "Execution Environment"
required: true
default: "dev"
use_case_base_path:
type: string
description: "The flow usecase to execute"
required: true
default: "class_flows"
deployment_type:
type: string
description: "Determine type of deployment - aml, aks, docker, webapp"
required: true
push:
branches:
- main
- development
paths:
- 'class_flows/**'
- '.github/**'
- 'llmops/**'
#=====================================
# Execute platform_ci_dev_workflow workflow for experiment, evaluation and deployment of flows
#=====================================
jobs:
execute-platform-flow-ci:
uses: ./.github/workflows/platform_ci_dev_workflow.yml
with:
env_name: ${{ inputs.env_name || 'dev'}}
use_case_base_path: ${{ inputs.use_case_base_path || 'class_flows' }}
deployment_type: ${{ inputs.deployment_type|| 'aml' }}
secrets:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
registry_details: ${{ secrets.DOCKER_IMAGE_REGISTRY }}
env_vars: ${{ secrets.ENV_VARS }}