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

Cleanup and prepare Openshift CI #9

Merged
merged 4 commits into from
Jul 26, 2023

Conversation

slintes
Copy link
Member

@slintes slintes commented Jul 25, 2023

  • Reorg Makefile:
    • add build target
    • add lint target: runs all except build and unit test
    • replace fmt with goimports (it's a superset)
    • remove vendor related targets (doesn't make sense for a library)
  • Update github workflow for updated Make targets
  • Delete vendor dir
  • Add build root image config file for OpenShift CI

- add build target
- add lint target: runs all except build and unit test
- replace fmt with goimports (it's a superset)
- remove vendor (doesn't make sense for a library)
Does not make sense for libraries
@slintes slintes changed the title Prepare Openshift CI Cleanup and prepare Openshift CI Jul 25, 2023
@@ -49,17 +56,10 @@ vet: ## Run go vet against code.
verify-no-changes: ## verify there are no un-staged changes
./hack/verify-diff.sh

.PHONY:vendor
Copy link
Member

@mshitrit mshitrit Jul 25, 2023

Choose a reason for hiding this comment

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

Is vendoring happens in a different job now ?
(I assume it should, but I couldn't figure out where)

Copy link
Member Author

Choose a reason for hiding this comment

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

I removed vendoring completely, doesn't make sense for a library. See PR description and commit messages. The using component vendors everything.

@razo7
Copy link
Member

razo7 commented Jul 26, 2023

/lgtm
NIT: We can also update the tools in this PR of a follow up

GOIMPORTS_VERSION ?= v0.11.0
SORT_IMPORTS_VERSION = v0.2.1

@slintes slintes merged commit 8b4dbe4 into medik8s:main Jul 26, 2023
1 check passed
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