Skip to content

Commit

Permalink
refactor(olm): remove OLM v0 support (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwpk110 authored Nov 15, 2024
1 parent 22bd02e commit 583b372
Show file tree
Hide file tree
Showing 37 changed files with 567 additions and 828 deletions.
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,4 @@ Network Trash Folder
Temporary Items
.apdisk

bundle.Dockerfile

kind-kubeconfig*
10 changes: 1 addition & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
cache: false
- name: golangci-lint
run: |
make lint
make lint
chainsaw-test:
Expand Down 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
12 changes: 0 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ Network Trash Folder
Temporary Items
.apdisk

# olm
bundle
bundle.Dockerfile

kind-kubeconfig*
kind-config-local.yaml

Expand All @@ -157,11 +153,3 @@ cover.out

# ai code local
.codiumai.toml


# bundle
bundle.Dockerfile
bundle

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 583b372

Please sign in to comment.