-
Notifications
You must be signed in to change notification settings - Fork 8
100 lines (96 loc) · 3.67 KB
/
deploy-azd-truth-export.yml
File metadata and controls
100 lines (96 loc) · 3.67 KB
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: deploy-azd-truth-export (entrypoint)
on:
push:
branches:
- main
paths:
- apps/truth-export/**
- lib/**
- azure.yaml
- .infra/**
- .kubernetes/**
- .github/workflows/deploy-azd.yml
- .github/workflows/deploy-azd-truth-export.yml
workflow_dispatch:
inputs:
location:
description: Azure location
required: true
default: centralus
projectName:
description: Project prefix used by naming convention
required: true
default: holidaypeakhub405
imageTag:
description: Image tag to deploy
required: true
default: latest
testedSourceSha:
description: Optional tested source commit SHA to deploy
required: false
default: ''
testedSourceRef:
description: Optional tested source ref to deploy when testedSourceSha is empty
required: false
default: ''
skipProvision:
description: Skip azd provision and reuse the current environment infrastructure
required: true
type: boolean
default: true
forceApimSync:
description: Force APIM sync and smoke checks even when no changed services are detected
required: true
type: boolean
default: true
autoAllowAcrRunnerIp:
description: Temporarily allow GitHub runner egress IP in ACR firewall during deploy
required: true
type: boolean
default: true
skipPromptGates:
description: Skip the prompt-sync CI gates (image prompt verification and Foundry instructions verification)
required: true
type: boolean
default: false
skipPostgresPreflight:
description: Skip the PostgreSQL password preflight probe (CRUD only; ignored for agent services)
required: true
type: boolean
default: false
permissions:
id-token: write
contents: write
concurrency:
group: deploy-azd-dev-truth-export
cancel-in-progress: false
jobs:
deploy:
permissions:
id-token: write
contents: write
issues: write
uses: ./.github/workflows/deploy-azd.yml
with:
environment: dev
githubEnvironment: dev
location: ${{ github.event_name == 'workflow_dispatch' && inputs.location || 'centralus' }}
projectName: ${{ github.event_name == 'workflow_dispatch' && inputs.projectName || 'holidaypeakhub405' }}
imageTag: ${{ github.event_name == 'workflow_dispatch' && inputs.imageTag || github.sha }}
sourceSha: ${{ github.event_name == 'workflow_dispatch' && inputs.testedSourceSha || github.sha }}
sourceRef: ${{ github.event_name == 'workflow_dispatch' && inputs.testedSourceRef || github.ref }}
deployStatic: false
uiOnly: false
apiBaseUrl: ''
deployChangedOnly: true
skipProvision: ${{ fromJSON(github.event_name == 'workflow_dispatch' && toJSON(inputs.skipProvision) || 'true') }}
serviceFilter: truth-export
forceApimSync: ${{ fromJSON(github.event_name == 'workflow_dispatch' && toJSON(inputs.forceApimSync) || 'true') }}
autoAllowAcrRunnerIp: ${{ fromJSON(github.event_name == 'workflow_dispatch' && toJSON(inputs.autoAllowAcrRunnerIp) || 'true') }}
skipApiSmokeChecks: false
skipPromptGates: ${{ fromJSON(github.event_name == 'workflow_dispatch' && toJSON(inputs.skipPromptGates) || 'false') }}
skipPostgresPreflight: ${{ fromJSON(github.event_name == 'workflow_dispatch' && toJSON(inputs.skipPostgresPreflight) || 'false') }}
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}