Skip to content

Commit

Permalink
refactor(olm): remove OLM v0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
lwpk110 committed Nov 15, 2024
1 parent dfb56f1 commit 729af34
Show file tree
Hide file tree
Showing 35 changed files with 539 additions and 788 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,3 @@ jobs:
- name: Build and push operator
run: |
make docker-buildx
- name: Build and push operator bundle
run: |
make bundle
make bundle-buildx
- name: Build and push catalog
run: |
make catalog
make catalog-buildx
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,4 @@ Dockerfile.cross
*.swo
*~

# olm bundle
bundle.Dockerfile
bundle

**/kind-kubeconfig*

catalog
catalog.Dockerfile
47 changes: 47 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
run:
timeout: 5m
allow-parallel-runners: true

issues:
# don't skip warning about doc comments
# don't exclude the default set of lint
exclude-use-default: false
# restore some of the defaults
# (fill in the rest as needed)
exclude-rules:
- path: "api/*"
linters:
- lll
- path: "internal/*"
linters:
- dupl
- lll
linters:
disable-all: true
enable:
- dupl
- errcheck
- copyloopvar
- ginkgolinter
- goconst
- gocyclo
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- prealloc
- revive
- staticcheck
- typecheck
- unconvert
- unparam
- unused

linters-settings:
revive:
rules:
- name: comment-spacings
Loading

0 comments on commit 729af34

Please sign in to comment.