-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (51 loc) · 1.43 KB
/
deploy-dev.yml
File metadata and controls
55 lines (51 loc) · 1.43 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
name: Deploy Dev
on:
push:
branches:
- dev
workflow_dispatch:
inputs:
ref:
description: "Git ref to deploy"
required: false
default: ""
namespace:
description: "Kubernetes namespace"
required: false
default: "marketplace-dev"
create_namespace:
description: "Create namespace if missing"
required: false
default: true
type: boolean
permissions:
contents: read
packages: write
security-events: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pipeline:
uses: ./.github/workflows/reusable-cicd.yml
with:
environment_name: dev
namespace: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.namespace || 'marketplace-dev' }}
overlay: dev
deploy: true
build_images: true
push_images: true
sign_images: true
run_tests: false
run_frontend: false
validate_k8s: true
validate_k8s_all: false
policy_check: true
canary_checks: false
enforce_slo_gate: true
slo_burn_rate_threshold: "2"
slo_error_budget_ratio: "0.0005"
create_namespace: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.create_namespace == 'true' || true }}
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || '' }}
secrets: inherit