refactor!: rename module and move CLI to cmd/cephmig
Use the repository path git.zb-server.de/Sebi/CephfsMig as module path instead of the non-importable name CephMig, and move the cephmig entry point from the repository root to cmd/cephmig next to cmd/nativeprobe. Makefile and Dockerfile.native build the new path. BREAKING CHANGE: import paths change from CephMig/... to git.zb-server.de/Sebi/CephfsMig/..., and the binary is now built from ./cmd/cephmig instead of the module root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7705ed3eaf
commit
8fe60a4f8f
14 files changed
+16
-16
No files matched your search
@@ -13,7 +13,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
CGO_ENABLED=1 go test -race -tags ceph ./... \
|
||||
&& CGO_ENABLED=1 go vet -tags ceph ./... \
|
||||
&& CGO_ENABLED=1 go build -buildvcs=false -tags ceph -o /out/native-probe ./cmd/nativeprobe \
|
||||
&& CGO_ENABLED=1 go build -buildvcs=false -tags ceph -o /out/cephmig-native .
|
||||
&& CGO_ENABLED=1 go build -buildvcs=false -tags ceph -o /out/cephmig-native ./cmd/cephmig
|
||||
|
||||
FROM ${CEPH_IMAGE}
|
||||
COPY --from=build /out/ /usr/local/bin/
|
||||
|
||||
Reference in new issue
Block a user