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
12
12
cmd /data /index.css
13
13
operator /bundle
14
14
helm /* .tgz
15
+ helm /api-testing /* .tgz
15
16
oryxBuildBinary
17
+ /helm /api-testing /charts /
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ TOOLEXEC?= #-toolexec="skywalking-go-agent"
4
4
BUILD_FLAG?=-ldflags "-w -s -X github.com/linuxsuren/api-testing/pkg/version.version=$(shell git describe --tags) \
5
5
-X github.com/linuxsuren/api-testing/pkg/version.date=$(shell date +% Y-% m-% d) "
6
6
GOPROXY? =direct
7
- HELM_VERSION? =v0.0.2
7
+ HELM_VERSION? =v0.0.3
8
8
APP_VERSION? =v0.0.13
9
9
HELM_REPO? =docker.io/linuxsuren
10
10
@@ -56,11 +56,13 @@ copy-restart: build-embed-ui
56
56
atest service restart
57
57
58
58
# helm
59
- helm-package :
59
+ helm-dev-update :
60
+ helm dep update helm/api-testing
61
+ helm-package : helm-dev-update
60
62
helm package helm/api-testing --version ${HELM_VERSION} -helm --app-version ${APP_VERSION} -d bin
61
63
helm-push :
62
64
helm push bin/api-testing-${HELM_VERSION} -helm.tgz oci://${HELM_REPO}
63
- helm-lint :
65
+ helm-lint : helm-dev-update
64
66
helm lint helm/api-testing
65
67
66
68
test :
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
22
22
# follow Semantic Versioning. They should reflect the version the application is using.
23
23
# It is recommended to use it with quotes.
24
24
appVersion : " 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 37
37
command :
38
38
- atest
39
39
- server
40
- - --local-storage=/var/www/sample /*.yaml
40
+ - --local-storage=/root/.atest/data /*.yaml
41
41
{{- if .Values.skywalking.endpoint.http }}
42
42
- --skywalking={{ .Values.skywalking.endpoint.http }}
43
43
{{- end }}
66
66
path : /healthz
67
67
port : http
68
68
volumeMounts :
69
- - name : data
70
- mountPath : /var/www/sample
71
- subPath : {{ $core.subPath }}
72
69
- name : data
73
70
mountPath : /root
74
71
subPath : config
Original file line number Diff line number Diff line change 19
19
storageClassName : {{ $core.storageClass }}
20
20
{{- end }}
21
21
{{- end }}
22
+ volumeMode : {{ $core.volumeMode }}
22
23
{{- end }}
Original file line number Diff line number Diff line change 5
5
replicaCount : 1
6
6
7
7
image :
8
- registry : linuxsuren. docker.scarf.sh
8
+ registry : docker.io
9
9
repository : linuxsuren/api-testing
10
10
tag : " "
11
11
digest : " "
@@ -89,8 +89,9 @@ persistence:
89
89
existingClaim : " "
90
90
storageClass : " "
91
91
subPath : " "
92
- accessMode : ReadWriteMany
92
+ accessMode : ReadWriteOnce
93
93
size : 500Mi
94
+ volumeMode : Filesystem
94
95
95
96
skywalking :
96
97
endpoint :
@@ -102,3 +103,6 @@ nodeSelector: {}
102
103
tolerations : []
103
104
104
105
affinity : {}
106
+
107
+ mongodb :
108
+ enabled : false
You can’t perform that action at this time.
0 commit comments