Skip to content

Commit a73c426

Browse files
nic-6443Copilot
andauthored
fix: regenerate Chart.lock, clean up .gitignore, add Chart.lock CI validation (#268)
Co-authored-by: Copilot <[email protected]>
1 parent 51ecdf9 commit a73c426

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,23 @@ jobs:
3636
--charts charts/gateway \
3737
--charts charts/ingress-controller'
3838
39+
- name: Verify Chart.lock files
40+
run: |
41+
docker run --rm --interactive --network host \
42+
--volume "$PWD:/workdir" \
43+
--workdir /workdir \
44+
quay.io/helmpack/chart-testing:v3.10.1 sh -c '
45+
helm repo add bitnami https://charts.bitnami.com/bitnami && \
46+
helm repo add apisix https://charts.apiseven.com && \
47+
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts && \
48+
for chart_dir in charts/*/; do
49+
if [ -f "${chart_dir}Chart.lock" ]; then
50+
echo "Verifying ${chart_dir}Chart.lock..."
51+
helm dependency build "${chart_dir}"
52+
fi
53+
done
54+
'
55+
3956
- name: Setup Kubernetes
4057
uses: engineerd/[email protected]
4158
with:

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
.DS_Store
22
.idea
3-
charts/api7-gateway/charts
4-
charts/api7-dashboard/charts
5-
charts/devportal/charts
3+
charts/*/charts
64
images
75
res

charts/developer-portal-fe/Chart.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ dependencies:
22
- name: postgresql
33
repository: https://charts.bitnami.com/bitnami
44
version: 12.12.10
5-
digest: sha256:c3d1e1b7e4e1f5f5e4a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0
6-
generated: "2024-03-23T09:28:00Z"
5+
digest: sha256:3b8c03cf5b8742b8110494d29a4793f20920294a504bd85940d02bb00d0bc0ea
6+
generated: "2026-03-25T17:04:07.589986044+08:00"

0 commit comments

Comments
 (0)