File tree Expand file tree Collapse file tree 8 files changed +66
-9
lines changed Expand file tree Collapse file tree 8 files changed +66
-9
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,6 @@ cmd/data/index.js
1212cmd /data /index.css
1313operator /bundle
1414helm /* .tgz
15+ helm /api-testing /* .tgz
1516oryxBuildBinary
17+ /helm /api-testing /charts /
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ TOOLEXEC?= #-toolexec="skywalking-go-agent"
44BUILD_FLAG?=-ldflags "-w -s -X github.com/linuxsuren/api-testing/pkg/version.version=$(shell git describe --tags) \
55 -X github.com/linuxsuren/api-testing/pkg/version.date=$(shell date +% Y-% m-% d) "
66GOPROXY? =direct
7- HELM_VERSION? =v0.0.2
7+ HELM_VERSION? =v0.0.3
88APP_VERSION? =v0.0.13
99HELM_REPO? =docker.io/linuxsuren
1010
@@ -56,11 +56,13 @@ copy-restart: build-embed-ui
5656 atest service restart
5757
5858# helm
59- helm-package :
59+ helm-dev-update :
60+ helm dep update helm/api-testing
61+ helm-package : helm-dev-update
6062 helm package helm/api-testing --version ${HELM_VERSION} -helm --app-version ${APP_VERSION} -d bin
6163helm-push :
6264 helm push bin/api-testing-${HELM_VERSION} -helm.tgz oci://${HELM_REPO}
63- helm-lint :
65+ helm-lint : helm-dev-update
6466 helm lint helm/api-testing
6567
6668test :
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ dependencies:
2+ - name: mongodb
3+ repository: oci://registry-1.docker.io/bitnamicharts
4+ version: 15.1.3
5+ digest: sha256:40d43cd158585ff78c94e3eb2f46d2410488923a1e9242bf5c8c8af5bac0707d
6+ generated: "2024-04-09T11:17:10.1150205+08:00"
Original file line number Diff line number Diff line change @@ -22,3 +22,9 @@ version: v0.0.4
2222# follow Semantic Versioning. They should reflect the version the application is using.
2323# It is recommended to use it with quotes.
2424appVersion : " v0.0.15"
25+
26+ dependencies :
27+ - name : mongodb
28+ version : ^15.0.1
29+ repository : oci://registry-1.docker.io/bitnamicharts
30+ condition : mongodb.enabled
Original file line number Diff line number Diff line change 3737 command :
3838 - atest
3939 - server
40- - --local-storage=/var/www/sample /*.yaml
40+ - --local-storage=/root/.atest/data /*.yaml
4141 {{- if .Values.skywalking.endpoint.http }}
4242 - --skywalking={{ .Values.skywalking.endpoint.http }}
4343 {{- end }}
6666 path : /healthz
6767 port : http
6868 volumeMounts :
69- - name : data
70- mountPath : /var/www/sample
71- subPath : {{ $core.subPath }}
7269 - name : data
7370 mountPath : /root
7471 subPath : config
Original file line number Diff line number Diff line change 1919 storageClassName : {{ $core.storageClass }}
2020 {{- end }}
2121 {{- end }}
22+ volumeMode : {{ $core.volumeMode }}
2223{{- end }}
Original file line number Diff line number Diff line change 55replicaCount : 1
66
77image :
8- registry : linuxsuren. docker.scarf.sh
8+ registry : docker.io
99 repository : linuxsuren/api-testing
1010 tag : " "
1111 digest : " "
@@ -89,8 +89,9 @@ persistence:
8989 existingClaim : " "
9090 storageClass : " "
9191 subPath : " "
92- accessMode : ReadWriteMany
92+ accessMode : ReadWriteOnce
9393 size : 500Mi
94+ volumeMode : Filesystem
9495
9596skywalking :
9697 endpoint :
@@ -102,3 +103,6 @@ nodeSelector: {}
102103tolerations : []
103104
104105affinity : {}
106+
107+ mongodb :
108+ enabled : false
You can’t perform that action at this time.
0 commit comments