Commit graph

38 commits

Author SHA1 Message Date
Stanislav Bogatyrev
ff67e903ca [#409] Add default package changelog
Make it work with simple `dpkg-buildpackage`

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2022-10-28 12:58:32 +03:00
92e9782c44 [#409] Debian packaging
Debian package building, including:

 - users creation if not exist;
 - dirs creation and ownership/ACLs set;
 - man/doc/examples installation;
 - shell completion generation;
 - locode DB binary download

Using:
	make debpackage

Signed-off-by: Dmitriy Zabolotskiy <d.zabolotskiy@yadro.com>
2022-10-28 12:58:32 +03:00
Pavel Karpy
387953c1e0 [#1756] make: Fix commit abbrev length in version
Make it uniform across all our repos.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-09-06 10:53:38 +03:00
Pavel Karpy
99903e1aba [#1687] Support v1.19 Golang
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-08-22 18:59:57 +03:00
e07921fc46 Use only v-prefixed tags for version calculation
This allows us to use any custom tags along with tags that denote releases

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-10 10:34:07 +03:00
Evgenii Stratonikov
c4b86cf1f1 [#1592] Remove debug builds
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-07-14 10:39:51 +03:00
Evgenii Stratonikov
5569ff82ef [#1587] Do not print build time in version
This makes our build more reproducible.
Also print `Component` and `GoVersion`.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-07-14 10:39:51 +03:00
Stanislav Bogatyrev
930b51b57d [#1578] Minor Makefile fixes
- Add VERSION file to make it work without .git folder
- Remove obsolete GO111MODULE flag
- Move linter version to variable
- clean .cache on `make clean`
- Move help target to a separate help.mk file

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2022-07-06 10:00:19 +03:00
Evgenii Stratonikov
0408acc40e services/control: Autogenerate stable marshalers
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-06-20 16:52:58 +03:00
Evgenii Stratonikov
3bdab77c42 [#1250] go.mod: Bump supported go version to 1.17
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-04-07 17:23:28 +03:00
Evgenii Stratonikov
5bed27a62f [#1102] Makefile: use go install instead of go get
Remove warning and prevent `go.mod` updates when building `protoc` target.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-01-24 12:59:43 +03:00
Evgenii Stratonikov
1ebe188cdc [#926] Makefile: declare images target as phony
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-18 10:43:36 +03:00
anastasia prasolova
029c577a33 [#916] makefile: Removed -i key from docker run
Interactive terminal doesn't work in Jenkins jobs.

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-10-14 15:19:33 +03:00
Pavel Karpy
6b1e6456ab [#887] make: Update linter
`v1.30` linter version does not support
`revive` linter, so update it to `v1.42.1`.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-10-07 16:30:02 +03:00
Leonard Lyubich
ea6bc8e892 [#860] Makefile: use protoc-gen-go-grpc in protoc target
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-29 17:51:33 +03:00
Stanislav Bogatyrev
0a130177d6 [#725] Simplify Makefile a little
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-09-15 17:58:58 +03:00
Pavel Karpy
80df695a25 [#785] make: Add image-storage-testnet to images target deps
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-09-15 17:58:58 +03:00
Pavel Karpy
94f3937c0e [#785] make: Add preparing release binaries
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-09-15 17:58:58 +03:00
Pavel Karpy
9fa4a254b2 [#785] make: Add docker/* target wrapper
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-09-15 17:58:58 +03:00
Denis Kirillov
60b3bf3ce6 [#796] Remove aio image
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-09-03 14:58:26 +03:00
Stanislav Bogatyrev
af412f7874 Move Docker files into a separate directory
Dock docker files in .docker directory

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-07-09 16:47:01 +03:00
Stanislav Bogatyrev
45cd851c46 [#666] Add Docker images for neofs-adm
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-07-09 16:20:16 +03:00
Stanislav Bogatyrev
b848c9bd9f [#662] Add All-In-One NeoFS Docker image
We need All-In-One Docker image to simplify NeoFS deployment in
development and testing environments.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-07-06 16:35:09 +03:00
Pavel Karpy
8b2058e0e9 [#637] build: Delete useless var in Makefile
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-23 13:19:29 +03:00
Alex Vanin
c973aac891 [#599] Makefile: Remove test_dep target
Flag `-i` is deprecated in go1.16 and it
has pretty much no effect since go1.10 when
build cache was introduced. Read more about
this at https://golang.org/doc/go1.16

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-09 16:15:00 +03:00
Alex Vanin
bf7b8679bf [#450] Fix go.sum changes at builds with go1.16
There are changes in `go mod download` in go1.16 and it
adds checksums for all module contents. Therefore we should
perform `go mod tidy` after `go mod download`.

Read more at https://github.com/golang/go/issues/43994

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-31 11:49:53 +03:00
Stanislav Bogatyrev
99d9544a64 Add support for quick and dirty Docker image build
Docker containers are supposed to be used for clean image building
without side effects from local execution environment, though it may be
useful to save some time and have a dirty image built quick.

For those young and inpatient there is a way to do it now.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-03-18 11:56:39 +03:00
Leonard Lyubich
9050d41099 [#311] Rewrite make protoc target similarly to neofs-api-go
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-01-15 16:11:50 +03:00
Leonard Lyubich
abd9952e46 [#306] Rename Private service to Control service
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-01-14 12:13:49 +03:00
Leonard Lyubich
85ec633938 [#306] Define and compile proto files for private node service
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-01-14 12:13:49 +03:00
Stanislav Bogatyrev
27711d64f0 Minor typo fixes
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-12-30 13:22:50 +03:00
Stanislav Bogatyrev
badfd1b6e5 [#183] Increase golangci-lint timeout
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-11-19 09:58:02 +03:00
Stanislav Bogatyrev
f8ac62ffae Separate test dependency install
Make builds fast again!

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-19 08:53:34 +03:00
Stanislav Bogatyrev
246a15de35 cli: Add empty neofs-cli app structure
In the following release `neofs-cli` will be used to directly manage NeoFS Node.
All required definitions and interfaces are also moving from `neofs-api` to
`neofs-node` repository, so it's more convinient to have `neofs-cli` here.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-02 11:25:35 +03:00
Stanislav Bogatyrev
783ec72d56 build: Simplify Docker image build
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-04 12:17:09 +03:00
Stanislav Bogatyrev
d83f2e8b47 build: Simplify test/lint related targets
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-04 12:17:09 +03:00
Stanislav Bogatyrev
b7b5079934 Add Inner Ring code 2020-07-24 17:07:37 +03:00
alexvanin
dadfd90dcd Initial commit
Initial public review release v0.10.0
2020-07-10 17:45:00 +03:00