Skip to content

Commit dac378e

Browse files
CSPL-3964: Removing some unused config stuff.
1 parent 890e06a commit dac378e

File tree

3 files changed

+0
-95
lines changed

3 files changed

+0
-95
lines changed

.github/workflows/test-e2e.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -428,40 +428,6 @@ build-installer: manifests generate kustomize
428428
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
429429
$(KUSTOMIZE) build config/default > dist/install.yaml
430430

431-
432-
GOLANGCI_LINT_VERSION ?= v2.1.0
433-
$(call go-install-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/v2/cmd/golangci-lint,$(GOLANGCI_LINT_VERSION))
434-
435-
.PHONY: lint-config
436-
lint-config: golangci-lint ## Verify golangci-lint linter configuration
437-
$(GOLANGCI_LINT) config verify
438-
439-
440-
KIND_CLUSTER ?= splunk-operator-test-e2e
441-
KIND ?= kind
442-
443-
.PHONY: setup-test-e2e
444-
setup-test-e2e: ## Set up a Kind cluster for e2e tests if it does not exist
445-
@command -v $(KIND) >/dev/null 2>&1 || { \
446-
echo "Kind is not installed. Please install Kind manually."; \
447-
exit 1; \
448-
}
449-
@case "$$($(KIND) get clusters)" in \
450-
*"$(KIND_CLUSTER)"*) \
451-
echo "Kind cluster '$(KIND_CLUSTER)' already exists. Skipping creation." ;; \
452-
*) \
453-
echo "Creating Kind cluster '$(KIND_CLUSTER)'..."; \
454-
$(KIND) create cluster --name $(KIND_CLUSTER) ;; \
455-
esac
456-
457-
.PHONY: cleanup-test-e2e
458-
cleanup-test-e2e:
459-
$(KIND) delete cluster --name $(KIND_CLUSTER)
460-
461-
test-e2e: setup-test-e2e manifests generate fmt vet ## Run the e2e tests. Expected an isolated environment using Kind.
462-
KIND_CLUSTER=$(KIND_CLUSTER) go test ./test/e2e/ -v -ginkgo.v
463-
$(MAKE) cleanup-test-e2e
464-
465431
define go-install-tool
466432
@[ -f "$(1)-$(3)" ] || { \
467433
set -e; \

0 commit comments

Comments
 (0)