forked from movetokube/postgres-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1008 Bytes
/
Copy pathvalidate-deployments.yaml
File metadata and controls
44 lines (37 loc) · 1008 Bytes
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
name: Validate Deployment methods
on:
push:
branches:
- master
paths:
- "charts/ext-postgres-operator/**"
- "config/**"
pull_request:
branches:
- master
paths:
- "charts/ext-postgres-operator/**"
- "config/**"
jobs:
validate-helm:
name: Validate Helm Chart
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: "latest"
- name: Lint Helm chart
run: helm lint ./charts/ext-postgres-operator
- name: Template Helm chart
run: helm template ext-postgres-operator ./charts/ext-postgres-operator > /dev/null
validate-kustomize:
name: Validate Kustomize Configuration
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Validate Kustomize configuration
run: kustomize build ./config/default > /dev/null