File tree 7 files changed +23
-24
lines changed
internal/tools/openapi/openapi-ng/routes/dynamic
7 files changed +23
-24
lines changed Original file line number Diff line number Diff line change @@ -149,20 +149,20 @@ jobs:
149
149
fail-fast : true
150
150
matrix :
151
151
package-paths :
152
- - ./modules /pkg/... ./apistructs/... ./bundle/... ./providers/...
152
+ - ./internal /pkg/... ./apistructs/... ./bundle/... ./providers/...
153
153
- ./pkg/...
154
154
155
- - ./modules /tools/orchestrator/...
156
- - ./modules /tools/pipeline/...
157
- - ./modules /tools/cluster-agent/... ./modules /tools/cluster-ops/...
158
- - ./modules /tools/gittar/... ./modules /tools/kms/... ./modules /tools/volume-provisioner/...
159
- - ./modules /tools/openapi/...
160
- - ./modules /tools/monitor/...
161
- - ./modules /core/...
162
- - ./modules /apps/dop/...
163
- - ./modules /apps/admin/... ./modules /apps/devflow/... ./modules /apps/ecp/... ./modules /apps/gallery/...
164
- - ./modules /apps/msp/...
165
- - ./modules /apps/cmp/...
155
+ - ./internal /tools/orchestrator/...
156
+ - ./internal /tools/pipeline/...
157
+ - ./internal /tools/cluster-agent/... ./internal /tools/cluster-ops/...
158
+ - ./internal /tools/gittar/... ./internal /tools/kms/... ./internal /tools/volume-provisioner/...
159
+ - ./internal /tools/openapi/...
160
+ - ./internal /tools/monitor/...
161
+ - ./internal /core/...
162
+ - ./internal /apps/dop/...
163
+ - ./internal /apps/admin/... ./internal /apps/devflow/... ./internal /apps/ecp/... ./internal /apps/gallery/...
164
+ - ./internal /apps/msp/...
165
+ - ./internal /apps/cmp/...
166
166
steps :
167
167
- name : Install Tools
168
168
run : apk add tar
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ cmd/**/bin
43
43
/.env
44
44
/.env. *
45
45
/conf /** /* .local.yaml
46
- modules /local /
47
46
internal /local /
48
47
cmd /local
49
48
conf /local
Original file line number Diff line number Diff line change 7
7
skip-dirs :
8
8
- tools/cli/generated_cmd
9
9
- tools/cli/command/generate
10
- - modules /tools/openapi/legacy/api/generate
10
+ - internal /tools/openapi/legacy/api/generate
11
11
- pkg/parser/pipelineyml/pipelineymlv1
12
12
- third_party
13
13
- pkg/mock
14
14
skip-files :
15
15
- apistructs/generated_desc.go
16
- - modules /tools/openapi/legacy/api/api.go
16
+ - internal /tools/openapi/legacy/api/api.go
17
17
build-tags :
18
18
- musl
19
19
Original file line number Diff line number Diff line change 8
8
" pkg/k8s/httpstream/spdy" ,
9
9
" pkg/k8s/spdy" ,
10
10
" pkg/pipe.v2/pipe.go" ,
11
- " modules /tools/admin-tools/statik/statik.go" ,
12
- " modules /tools/gittar/pkg/gitmodule" ,
11
+ " internal /tools/admin-tools/statik/statik.go" ,
12
+ " internal /tools/gittar/pkg/gitmodule" ,
13
13
" api" ,
14
- " modules/core /monitor/log/storage/clickhouse/query_parser/parser"
14
+ " internal/tools /monitor/core /log/storage/clickhouse/query_parser/parser"
15
15
]
16
16
}
Original file line number Diff line number Diff line change @@ -193,8 +193,8 @@ prepare:
193
193
ifeq "$(SKIP_PREPARE ) " ""
194
194
cd "${PROJ_PATH}" && \
195
195
${GO_BUILD_ENV} go generate ./apistructs && \
196
- ${GO_BUILD_ENV} go generate ./modules /tools/openapi/legacy/api/generate && \
197
- ${GO_BUILD_ENV} go generate ./modules /tools/openapi/legacy/component-protocol/generate
196
+ ${GO_BUILD_ENV} go generate ./internal /tools/openapi/legacy/api/generate && \
197
+ ${GO_BUILD_ENV} go generate ./internal /tools/openapi/legacy/component-protocol/generate
198
198
make prepare-cli
199
199
endif
200
200
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ github_checks:
37
37
38
38
ignore :
39
39
# ignore the boilerplate code
40
- - " modules /*/conf"
41
- - " modules /*/dbclient"
42
- - " modules /*/dao"
40
+ - " internal /*/conf"
41
+ - " internal /*/dbclient"
42
+ - " internal /*/dao"
43
43
- " bundle"
44
44
- " api/proto-go"
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ func (p *provider) Init(ctx servicehub.Context) (err error) {
73
73
if p .Cfg .UseEmbedStaticFiles {
74
74
p .Router .Static ("/openapi/static" , "/static" , httpserver .WithFileSystem (http .FS (webfs )))
75
75
} else {
76
- p .Router .Static ("/openapi/static" , "modules/core /openapi-ng/routes/dynamic/static" )
76
+ p .Router .Static ("/openapi/static" , "internal/tools/openapi /openapi-ng/routes/dynamic/static" )
77
77
}
78
78
79
79
return p .initRemoteForward (ctx )
You can’t perform that action at this time.
0 commit comments