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

Align Makefile - Install Tools #3

Merged
merged 5 commits into from
Jan 22, 2023
Merged

Align Makefile - Install Tools #3

merged 5 commits into from
Jan 22, 2023

Conversation

razo7
Copy link
Member

@razo7 razo7 commented Jan 18, 2023

In the process of moving FAR to Medik8s organization we align the Makefile - third PR.

  • Use two new install tools which would delete old binaries and install new ones, so that we always know we run the exact version.
  • Use Operator-sdk v1.26.0 to build the bundle directory
  • Add build-tools target to verify that all tools have been updated locally.

@razo7 razo7 changed the title Install tools Align Makefile - Install Tools Jan 18, 2023
Copy link
Member

@slintes slintes left a comment

Choose a reason for hiding this comment

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

one nit, otherwise lgtm

Makefile Outdated
$(call operator-framework-tool, $(OPERATOR_SDK), $(OPERATOR_SDK_DIR),github.com/operator-framework/operator-sdk/releases/download/$(OPERATOR_SDK_VERSION)/operator-sdk_$${OS}_$${ARCH})

# operator-framework-tool will delete old package $2, then dowmload $3 to $1.
define operator-framework-tool
Copy link
Member

Choose a reason for hiding this comment

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

Can we have a better name for this please? operator-framework-tool does not make sense to me

Copy link
Member Author

@razo7 razo7 Jan 19, 2023

Choose a reason for hiding this comment

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

How about install-operator-framework-tool or operator-framework-install-tool?

Copy link
Contributor

Choose a reason for hiding this comment

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

my 2:coin:
Since this uses curl, and so it's generic (respect go-install-tool), why not just install-tool ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Since this uses curl, and so it's generic (respect go-install-tool),

I agree that it not specific and not related to operator-framework...

why not just install-tool ?

Good option but I lean to url-install-tool since it install the tool based on it's URL

Copy link
Contributor

Choose a reason for hiding this comment

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

Good option but I lean to url-install-tool since it install the tool based on it's URL

Which is better indeed 👍

Makefile Outdated Show resolved Hide resolved
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