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

Build fixes #45

Merged
merged 9 commits into from
May 14, 2021
Merged

Build fixes #45

merged 9 commits into from
May 14, 2021

Conversation

roman-khimov
Copy link
Member

No description provided.

Non-Docker builds by default, no vendoring, more useful targets.
upx is nice, but not necessary for this and duplicating Makefile is just not
good.

Note that in absence of vendoring building this can be problematic at the
moment because of private repository dependency, it'll be solved in future.
cmd/gate/app-settings.go:108:36  gosimple    S1019: should use make(map[string]float64) instead
The same one as used by HTTP gate.
@roman-khimov roman-khimov added this to the v0.15.0 milestone May 13, 2021
@@ -7,6 +7,7 @@ import (
"github.com/gorilla/mux"
)

// Healthy is a health check interface.
Copy link

Choose a reason for hiding this comment

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

We need to talk about healthchecks offline. IR and Storage node healthcheck interface in control g RPC API is about to be implemented. Maybe we should sync them somehow to make similar UX for operations.

@@ -1,12 +1,16 @@
package misc

const (
// ApplicationName is gateway name.
ApplicationName = "neofs-s3-gate"
Copy link

Choose a reason for hiding this comment

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

Just -gw here, to match binary name?

Copy link
Member Author

Choose a reason for hiding this comment

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

We have neofs-http-gate here for HTTP gate, so I've decided to follow this naming scheme. But yes, we're a bit inconsistent with neofs-X-gate repositories, neofs-X-gate application names and neofs-X-gw binaries.

@roman-khimov roman-khimov merged commit 376c2b2 into nspcc-dev:master May 14, 2021
@roman-khimov roman-khimov deleted the build-fixes branch May 14, 2021 07:25
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.

2 participants