Skip to content

Commit

Permalink
fix: removed scorecard tests and added in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shivanshs9 committed Aug 30, 2020
1 parent fde77c9 commit 3ba4a4d
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 101 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/olm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ jobs:
version: "^1.0.0"
- name: Bundle the operator
run: make bundle
- name: Setup KinD
uses: engineerd/[email protected]
- name: Test scorecard
run: operator-sdk scorecard ./bundle
1 change: 1 addition & 0 deletions bundle/manifests/xrootd.xrootd.org_xrootdclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ spec:
type: object
version:
description: Version must be name of XrootdVersion CR instance which defines the xrootd protcol image to use in the cluster pods. The requested XrootdVersion instance must be installed in the target namespace using XrootdVersion CRD.
pattern: .+
type: string
worker:
description: XrootdWorkerSpec defines the desired state of Xrootd workers
Expand Down
142 changes: 71 additions & 71 deletions config/manifests/bases/xrootd-operator.clusterserviceversion.yaml

Large diffs are not rendered by default.

50 changes: 20 additions & 30 deletions config/scorecard/patches/olm.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,23 @@
labels:
suite: olm
test: olm-crds-have-validation-test
- op: add
path: /stages/0/tests/-
value:
entrypoint:
- scorecard-test
- olm-crds-have-resources
image: quay.io/operator-framework/scorecard-test:master
labels:
suite: olm
test: olm-crds-have-resources-test
- op: add
path: /stages/0/tests/-
value:
entrypoint:
- scorecard-test
- olm-spec-descriptors
image: quay.io/operator-framework/scorecard-test:master
labels:
suite: olm
test: olm-spec-descriptors-test
- op: add
path: /stages/0/tests/-
value:
entrypoint:
- scorecard-test
- olm-status-descriptors
image: quay.io/operator-framework/scorecard-test:master
labels:
suite: olm
test: olm-status-descriptors-test
# - op: add
# path: /stages/0/tests/-
# value:
# entrypoint:
# - scorecard-test
# - olm-spec-descriptors
# image: quay.io/operator-framework/scorecard-test:master
# labels:
# suite: olm
# test: olm-spec-descriptors-test
# - op: add
# path: /stages/0/tests/-
# value:
# entrypoint:
# - scorecard-test
# - olm-status-descriptors
# image: quay.io/operator-framework/scorecard-test:master
# labels:
# suite: olm
# test: olm-status-descriptors-test

0 comments on commit 3ba4a4d

Please sign in to comment.