-
Notifications
You must be signed in to change notification settings - Fork 5
100 lines (79 loc) · 1.91 KB
/
main.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
infra:
name: Infrastructure
runs-on: ubuntu-latest
if: false
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Toolchain
uses: ./.github/actions/setup
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Authenticate Environment
id: infra-auth
run: az login --identity
- name: Apply Infrastructure
id: infra-apply
run: task infra-apply
- name: Destroy Infrastructure
id: infra-destroy
run: task infra-destroy
app:
name: Application
runs-on: ubuntu-latest
env:
SKIP_DEPS_SETUP: true
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Toolchain
uses: ./.github/actions/setup
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build API Service
id: app-build-api
run: task app-build-api
env:
CI: false
- name: Build UI Service
id: app-build-ui
run: task app-build-ui
env:
CI: false
flow:
name: Flow
runs-on: ubuntu-latest
if: false
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Toolchain
uses: ./.github/actions/setup
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy Flows
id: flow-deploy
run: task flow-deploy
- name: Deploy Agent Flows
id: flow-deploy-agent
run: task flow-deploy-agent
- name: Deploy Evaluation Flows
id: flow-deploy-eval
run: task flow-deploy-eval
- name: Deploy ML Endpoints
id: flow-deploy-ml
run: task flow-deploy-