Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: lint
on:
pull_request:
paths-ignore:
- 'vendor/*'
- 'vendor/**'
- 'api/vendor/**'
branches:
- main
- release-*
Expand Down Expand Up @@ -35,7 +36,7 @@ jobs:
run: |
codespell \
--ignore-words-list="AfterAll,NotIn,notin,immediatedly" \
--skip=".git,*.sum,vendor"
--skip=".git,*.sum,vendor,api/vendor"
golangci:
name: golangci-lint
Expand Down Expand Up @@ -89,6 +90,7 @@ jobs:
run: |
find . -type f -name "*.sh" \
! -path "./vendor/*" \
! -path "./api/vendor/*" \
-exec shellcheck {} +
modcheck:
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ issues:
# don't skip warning about doc comments
# don't exclude the default set of lint
exclude-use-default: false
exclude-dirs:
- vendor
- api/vendor
# restore some of the defaults
# (fill in the rest as needed)
exclude-rules:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ test-e2e:
MARKDOWNLINT_IMAGE = docker.io/davidanson/markdownlint-cli2:v0.17.1
.PHONY: markdownlint
markdownlint:
@$(CONTAINER_TOOL) run --platform linux/amd64 -v .\:/workdir\:z $(MARKDOWNLINT_IMAGE) markdownlint-cli2 "**.md" "#vendor/**" --config .markdownlint.yaml
@$(CONTAINER_TOOL) run --platform linux/amd64 -v .\:/workdir\:z $(MARKDOWNLINT_IMAGE) markdownlint-cli2 "**.md" "#vendor/**" "#api/vendor/**" --config .markdownlint.yaml

.PHONY: markdownlint-fix
markdownlint-fix:
@$(CONTAINER_TOOL) run --platform linux/amd64 -v .\:/workdir\:z $(MARKDOWNLINT_IMAGE) markdownlint-cli2 "**.md" "#vendor/**" --config .markdownlint.yaml --fix
@$(CONTAINER_TOOL) run --platform linux/amd64 -v .\:/workdir\:z $(MARKDOWNLINT_IMAGE) markdownlint-cli2 "**.md" "#vendor/**" "#api/vendor/**" --config .markdownlint.yaml --fix


.PHONY: golangci-lint-fix
Expand Down
43 changes: 0 additions & 43 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -8,49 +8,6 @@ layout:
projectName: ceph-csi-operator
repo: github.com/ceph/ceph-csi-operator
resources:
- api:
crdVersion: v1
namespaced: true
controller: true
domain: ceph.io
group: csi
kind: Driver
path: github.com/ceph/ceph-csi-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: ceph.io
group: csi
kind: OperatorConfig
path: github.com/ceph/ceph-csi-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: ceph.io
group: csi
kind: CephConnection
path: github.com/ceph/ceph-csi-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: ceph.io
group: csi
kind: ClientProfile
path: github.com/ceph/ceph-csi-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: ceph.io
group: csi
kind: ClientProfileMapping
path: github.com/ceph/ceph-csi-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
Expand Down
68 changes: 0 additions & 68 deletions api/v1alpha1/cephconnection_types.go

This file was deleted.

95 changes: 0 additions & 95 deletions api/v1alpha1/clientprofile_types.go

This file was deleted.

69 changes: 0 additions & 69 deletions api/v1alpha1/clientprofilemapping_types.go

This file was deleted.

Loading
Loading