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

NOJIRA: fix: updating the makefile go install command for ci, making tests ve… #5

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

jeff-roche
Copy link
Contributor

Updates:

  • Added the verbose flag to go test in the makefile
  • Added the codecov script call to make test
  • Added the codecov script to the hack dir for use in CI
  • Fixed the go-install-tool directive in the makefile to respect vendoring (breaks dependency bin installs in CI)

@openshift-ci openshift-ci bot requested review from copejon and jaypoulz December 11, 2024 15:19
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just a copy/pasta from lvm-operator

@@ -244,7 +247,7 @@ set -e; \
package=$(2)@$(3) ;\
echo "Downloading $${package}" ;\
rm -f $(1) || true ;\
GOBIN=$(LOCALBIN) go install $${package} ;\
GOBIN=$(LOCALBIN) go install -mod=readonly $${package} ;\
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without -mod=readonly, go install fails in CI because of vendoring. This makes install ignore vendoring and install the dependency requested

@copejon
Copy link
Contributor

copejon commented Dec 11, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 11, 2024
@suleymanakbas91 suleymanakbas91 merged commit 8ee078c into openshift:main Dec 11, 2024
@jeff-roche jeff-roche deleted the ci-tests-fix branch December 11, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants