Skip to content

Commit 3f02059

Browse files
committed
chore: update module name to point at github
1 parent 3484f4e commit 3f02059

25 files changed

+54
-54
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"mode": "debug",
1212
"program": "${workspaceRoot}/cmd/main.go",
13-
"buildFlags": "--ldflags '-X gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/version.GIT_SHA=foobars -X gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/version.VERSION=v0.5.0'",
13+
"buildFlags": "--ldflags '-X github.com/NVIDIA/skyhook/internal/version.GIT_SHA=foobars -X github.com/NVIDIA/skyhook/internal/version.VERSION=v0.5.0'",
1414
"env": {
1515
"ENABLE_WEBHOOKS": "false",
1616
"LOG_ENCODER": "console",

containers/operator.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ COPY ./ ./
3131
# the docker BUILDPLATFORM arg will be linux/arm64 when for Apple x86 it will be linux/amd64. Therefore,
3232
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
3333
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -mod=vendor \
34-
-ldflags "-X gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/version.GIT_SHA=${GIT_SHA}\
35-
-X gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/version.VERSION=${VERSION}" \
34+
-ldflags "-X github.com/NVIDIA/skyhook/internal/version.GIT_SHA=${GIT_SHA}\
35+
-X github.com/NVIDIA/skyhook/internal/version.VERSION=${VERSION}" \
3636
-a -o manager cmd/main.go
3737

3838
# Use distroless as minimal base image to package the manager binary

operator/.mockery.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ packages:
2727
interfaces:
2828
EventRecorder:
2929
## internal packages
30-
gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/dal:
30+
github.com/NVIDIA/skyhook/internal/dal:
3131
config:
3232
all: True
3333
boilerplate-file: "boilerplate/boilerplate.go.txt"
34-
gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/controller:
34+
github.com/NVIDIA/skyhook/internal/controller:
3535
config:
3636
all: True
3737
boilerplate-file: "boilerplate/boilerplate.go.txt"

operator/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ include deps.mk
1919
VERSION ?= $(GIT_TAG_LAST)
2020

2121
# Image URL to use all building/pushing image targets
22+
## TODO: update this to the correct image location
2223
IMG ?= nvcr.io/nvidian/swgpu-baseos/skyhook-operator:latest
2324

24-
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
25-
ENVTEST_K8S_VERSION := 1.30.0
25+
## default version of kind to use
26+
KIND_VERSION?=1.30.8
2627

2728
PLATFORM := $(shell uname -s 2>/dev/null || echo unknown)
2829
SKYHOOK_NAMESPACE ?= skyhook
@@ -39,8 +40,8 @@ GIT_TAG := $(shell git describe --exact-match --tags)
3940
GIT_TAG_LAST := $(shell git describe --tags --abbrev=0)
4041

4142
## GO Flags
42-
GO_LDFLAGS := -ldflags "-X gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/version.GIT_SHA=$(GIT_SHA) \
43-
-X gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/version.VERSION=$(VERSION)"
43+
GO_LDFLAGS := -ldflags "-X github.com/NVIDIA/skyhook/internal/version.GIT_SHA=$(GIT_SHA) \
44+
-X github.com/NVIDIA/skyhook/internal/version.VERSION=$(VERSION)"
4445
GOFLAGS := -mod=vendor
4546

4647
# CONTAINER_TOOL defines the container tool to be used for building images.
@@ -177,7 +178,6 @@ helm-tests: helm chainsaw
177178

178179
$(CHAINSAW) test --test-dir e2e/chainsaw/helm $(CHAINSAW_ARGS)
179180

180-
KIND_VERSION?=1.29.4
181181
create-kind-cluster: ## deletes and creates a new kind cluster. versions is set via KIND_VERSION
182182
kind delete cluster && kind create cluster --image=kindest/node:v$(KIND_VERSION) --config config/local-dev/kind-config.yaml
183183
$(KUBECTL) label node/kind-worker skyhook.nvidia.com/test-node=skyhooke2e

operator/PROJECT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ domain: nvidia.com
66
layout:
77
- go.kubebuilder.io/v4
88
projectName: skyhook-operator
9-
repo: gitlab-master.nvidia.com/dgx/infra/skyhook-operator
9+
repo: github.com/NVIDIA/skyhook
1010
resources:
1111
- api:
1212
crdVersion: v1
@@ -15,7 +15,7 @@ resources:
1515
domain: nvidia.com
1616
group: skyhook
1717
kind: Skyhook
18-
path: gitlab-master.nvidia.com/dgx/infra/skyhook-operator/api/v1alpha1
18+
path: github.com/NVIDIA/skyhook/api/v1alpha1
1919
version: v1alpha1
2020
webhooks:
2121
defaulting: true

operator/api/v1alpha1/skyhook_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"sort"
2626
"strings"
2727

28-
"gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/graph"
28+
"github.com/NVIDIA/skyhook/internal/graph"
2929
corev1 "k8s.io/api/core/v1"
3030
"k8s.io/apimachinery/pkg/api/resource"
3131
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

operator/api/v1alpha1/skyhook_webhook.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"regexp"
2222
"strings"
2323

24-
"gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/graph"
25-
semver "gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/version"
24+
"github.com/NVIDIA/skyhook/internal/graph"
25+
semver "github.com/NVIDIA/skyhook/internal/version"
2626
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2727
"k8s.io/apimachinery/pkg/runtime"
2828
ctrl "sigs.k8s.io/controller-runtime"

operator/cmd/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ import (
3838
kzap "sigs.k8s.io/controller-runtime/pkg/log/zap"
3939
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
4040

41-
"gitlab-master.nvidia.com/dgx/infra/skyhook-operator/api/v1alpha1"
42-
"gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/controller"
43-
"gitlab-master.nvidia.com/dgx/infra/skyhook-operator/internal/version"
41+
"github.com/NVIDIA/skyhook/api/v1alpha1"
42+
"github.com/NVIDIA/skyhook/internal/controller"
43+
"github.com/NVIDIA/skyhook/internal/version"
4444
//+kubebuilder:scaffold:imports
4545
)
4646

operator/deps.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ ifndef ARCH
3636
endif
3737

3838
## versions
39-
GOLANGCI_LINT_VERSION ?= v1.61.0
39+
GOLANGCI_LINT_VERSION ?= v1.63.4
4040
KUSTOMIZE_VERSION ?= v5.4.1
4141
CONTROLLER_TOOLS_VERSION ?= v0.15.0
42-
ENVTEST_K8S_VERSION ?= 1.28.0
42+
ENVTEST_K8S_VERSION ?= 1.30.0
4343
MOCKERY_VERSION ?= v2.42.3
4444
CHAINSAW_VERSION ?= v0.2.10
4545
HELM_VERSION ?= v3.15.0

operator/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module gitlab-master.nvidia.com/dgx/infra/skyhook-operator
1+
module github.com/NVIDIA/skyhook
22

33
go 1.23
44

0 commit comments

Comments
 (0)