From 10d0abc520797c9c7804e9ca866a2188248ed891 Mon Sep 17 00:00:00 2001 From: ChristianZaccaria Date: Fri, 10 Nov 2023 14:26:02 +0000 Subject: [PATCH] Remove scorecard gh action --- .github/workflows/olm_scorecard.yml | 28 ---------------------------- Makefile | 4 ---- 2 files changed, 32 deletions(-) delete mode 100644 .github/workflows/olm_scorecard.yml diff --git a/.github/workflows/olm_scorecard.yml b/.github/workflows/olm_scorecard.yml deleted file mode 100644 index ba83b801..00000000 --- a/.github/workflows/olm_scorecard.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Operator Scorecard Test - -on: [push, pull_request] - -jobs: - scorecard-check: - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Setup and start KinD cluster - uses: ./.github/actions/kind - - - name: Build bundle - run: make bundle-build - - - name: Install yq - run: | - sudo wget -O /usr/bin/yq https://github.com/mikefarah/yq/releases/download/v4.6.1/yq_linux_amd64 - sudo chmod +x /usr/bin/yq - - - name: Modify scorecard config - run: | - yq e 'del(.stages[].tests[] | select(.labels.test == "olm-crds-have-resources-test"))' -i bundle/tests/scorecard/config.yaml - - - name: Run Operator SDK Scorecard - run: make scorecard-bundle diff --git a/Makefile b/Makefile index f62aa93a..6546c8d4 100644 --- a/Makefile +++ b/Makefile @@ -364,7 +364,3 @@ imports: openshift-goimports ## Organize imports in go files using openshift-goi .PHONY: verify-imports verify-imports: openshift-goimports ## Run import verifications. ./hack/verify-imports.sh $(OPENSHIFT-GOIMPORTS) - -.PHONY: scorecard-bundle -scorecard-bundle: install-operator-sdk ## Run scorecard tests on bundle image. - $(OPERATOR_SDK) scorecard bundle