File tree Expand file tree Collapse file tree 7 files changed +22
-22
lines changed
Expand file tree Collapse file tree 7 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ COPY internal/ internal/
2323
2424# Build the binary with Search-specific version information
2525RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
26- -ldflags="-X 'go.datum .net/search/internal/version.Version=${VERSION}' \
27- -X 'go.datum .net/search/internal/version.GitCommit=${GIT_COMMIT}' \
28- -X 'go.datum .net/search/internal/version.GitTreeState=${GIT_TREE_STATE}' \
29- -X 'go.datum .net/search/internal/version.BuildDate=${BUILD_DATE}'" \
26+ -ldflags="-X 'go.miloapis .net/search/internal/version.Version=${VERSION}' \
27+ -X 'go.miloapis .net/search/internal/version.GitCommit=${GIT_COMMIT}' \
28+ -X 'go.miloapis .net/search/internal/version.GitTreeState=${GIT_TREE_STATE}' \
29+ -X 'go.miloapis .net/search/internal/version.BuildDate=${BUILD_DATE}'" \
3030 -a -o search ./cmd/search
3131
3232# Runtime stage
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ tasks:
3838 echo "Version: ${VERSION}, Commit: ${GIT_COMMIT:0:7}, Tree: ${GIT_TREE_STATE}"
3939
4040 go build \
41- -ldflags="-X 'go.datum .net/search/internal/version.Version=${VERSION}' \
42- -X 'go.datum .net/search/internal/version.GitCommit=${GIT_COMMIT}' \
43- -X 'go.datum .net/search/internal/version.GitTreeState=${GIT_TREE_STATE}' \
44- -X 'go.datum .net/search/internal/version.BuildDate=${BUILD_DATE}'" \
41+ -ldflags="-X 'go.miloapis .net/search/internal/version.Version=${VERSION}' \
42+ -X 'go.miloapis .net/search/internal/version.GitCommit=${GIT_COMMIT}' \
43+ -X 'go.miloapis .net/search/internal/version.GitTreeState=${GIT_TREE_STATE}' \
44+ -X 'go.miloapis .net/search/internal/version.BuildDate=${BUILD_DATE}'" \
4545 -o {{.TOOL_DIR}}/search ./cmd/search
4646 echo "✅ Binary built: {{.TOOL_DIR}}/search"
4747 silent : true
8888 go run k8s.io/code-generator/cmd/deepcopy-gen \
8989 --go-header-file hack/boilerplate.go.txt \
9090 --output-file zz_generated.deepcopy.go \
91- --bounding-dirs go.datum .net/search/pkg/apis \
92- go.datum .net/search/pkg/apis/search/v1alpha1
91+ --bounding-dirs go.miloapis .net/search/pkg/apis \
92+ go.miloapis .net/search/pkg/apis/search/v1alpha1
9393
9494 echo "✅ Code generation complete"
9595 silent : true
Original file line number Diff line number Diff line change 77
88 "github.com/spf13/cobra"
99 "github.com/spf13/pflag"
10- searchapiserver "go.datum .net/search/internal/apiserver"
11- "go.datum .net/search/internal/version"
12- "go.datum .net/search/pkg/generated/openapi"
10+ searchapiserver "go.miloapis .net/search/internal/apiserver"
11+ "go.miloapis .net/search/internal/version"
12+ "go.miloapis .net/search/pkg/generated/openapi"
1313 utilruntime "k8s.io/apimachinery/pkg/util/runtime"
1414 apiopenapi "k8s.io/apiserver/pkg/endpoints/openapi"
1515 genericapiserver "k8s.io/apiserver/pkg/server"
Original file line number Diff line number Diff line change 1- module go.datum .net/search
1+ module go.miloapis .net/search
22
33go 1.25.0
44
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ import (
1111 genericapiserver "k8s.io/apiserver/pkg/server"
1212 "k8s.io/klog/v2"
1313
14- _ "go.datum .net/search/internal/metrics"
15- "go.datum .net/search/pkg/apis/search/install"
16- "go.datum .net/search/pkg/apis/search/v1alpha1"
14+ _ "go.miloapis .net/search/internal/metrics"
15+ "go.miloapis .net/search/pkg/apis/search/install"
16+ "go.miloapis .net/search/pkg/apis/search/v1alpha1"
1717)
1818
1919var (
Original file line number Diff line number Diff line change @@ -10,22 +10,22 @@ import (
1010var (
1111 // Version is the semantic version of the Search API server (e.g., "v0.1.0", "v1.2.3")
1212 // This can be set via ldflags during build:
13- // -ldflags="-X 'go.datum .net/search/internal/version.Version=v0.1.0'"
13+ // -ldflags="-X 'go.miloapis .net/search/internal/version.Version=v0.1.0'"
1414 Version = "dev"
1515
1616 // GitCommit is the git commit hash of the build
1717 // This can be set via ldflags during build:
18- // -ldflags="-X 'go.datum .net/search/internal/version.GitCommit=$(git rev-parse HEAD)'"
18+ // -ldflags="-X 'go.miloapis .net/search/internal/version.GitCommit=$(git rev-parse HEAD)'"
1919 GitCommit = "unknown"
2020
2121 // GitTreeState indicates whether the git tree was clean or dirty during build
2222 // This can be set via ldflags during build:
23- // -ldflags="-X 'go.datum .net/search/internal/version.GitTreeState=clean'"
23+ // -ldflags="-X 'go.miloapis .net/search/internal/version.GitTreeState=clean'"
2424 GitTreeState = "unknown"
2525
2626 // BuildDate is the date when the binary was built (RFC3339 format)
2727 // This can be set via ldflags during build:
28- // -ldflags="-X 'go.datum .net/search/internal/version.BuildDate=$(date -u '+%Y-%m-%dT%H:%M:%SZ')'"
28+ // -ldflags="-X 'go.miloapis .net/search/internal/version.BuildDate=$(date -u '+%Y-%m-%dT%H:%M:%SZ')'"
2929 BuildDate = "unknown"
3030)
3131
Original file line number Diff line number Diff line change 44 "k8s.io/apimachinery/pkg/runtime"
55 utilruntime "k8s.io/apimachinery/pkg/util/runtime"
66
7- "go.datum .net/search/pkg/apis/search/v1alpha1"
7+ "go.miloapis .net/search/pkg/apis/search/v1alpha1"
88)
99
1010// Install registers the API group and adds types to a scheme
You can’t perform that action at this time.
0 commit comments