Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure that we always use the correct operator-sdk version #1777

Merged
merged 2 commits into from
Feb 23, 2022
Merged

Make sure that we always use the correct operator-sdk version #1777

merged 2 commits into from
Feb 23, 2022

Conversation

kevinearls
Copy link
Contributor

Signed-off-by: Kevin Earls kearls@redhat.com

Which problem is this PR solving?

  • Make sure we always use the correct version of the operator-sdk in builds. Suggested in chat by @pavolloffay

Short description of the changes

    • Added a Makefile target to install the operator-sdk, mostly copied from Pavol's equivalent change to the open-telemetry collector:

Signed-off-by: Kevin Earls <kearls@redhat.com>
Copy link
Member

@frzifus frzifus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only one thing

Makefile Outdated
@@ -486,7 +487,7 @@ install-tools:
prepare-release:
$(VECHO)./.ci/prepare-release.sh

scorecard-tests:
scorecard-tests: operator-sdk
operator-sdk scorecard bundle -w 600s || (echo "scorecard test failed" && exit 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

Makefile Outdated
@@ -349,7 +350,7 @@ rm -rf $$TMP_DIR ;\
endef

.PHONY: bundle
bundle: manifests kustomize ## Generate bundle manifests and metadata, then validate generated files.
bundle: manifests kustomize operator-sdk ## Generate bundle manifests and metadata, then validate generated files.
operator-sdk generate kustomize manifests -q
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Kevin Earls <kearls@redhat.com>
@codecov
Copy link

codecov bot commented Feb 23, 2022

Codecov Report

Merging #1777 (97f23f0) into main (030142a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1777   +/-   ##
=======================================
  Coverage   87.51%   87.51%           
=======================================
  Files          99       99           
  Lines        5937     5937           
=======================================
  Hits         5196     5196           
  Misses        567      567           
  Partials      174      174           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 030142a...97f23f0. Read the comment docs.

@pavolloffay pavolloffay merged commit f3bd973 into jaegertracing:main Feb 23, 2022
@kevinearls kevinearls deleted the fix-operator-sdk-install branch February 23, 2022 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants