Compare commits

...

2 commits

Author SHA1 Message Date
2ab6f004f1 Makefile: Add syncTree folder clean up to 'make clean'
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
2023-04-21 17:09:53 +03:00
3da2d40fa8 syncTree: Update file filter to 'frostfs'
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
2023-04-21 17:08:37 +03:00
3 changed files with 5 additions and 2 deletions

View file

@ -21,6 +21,7 @@ This document outlines major changes between releases.
- Support dump metrics descriptions (#80)
### Changed
- Update syncTree.sh due to recent renaming (#73)
- Update neo-go to v0.101.0 (#14)
- Update viper to v1.15.0 (#14)
- Using multiple servers require only one healthy (TrueCloudLab#12)

View file

@ -6,6 +6,7 @@ VERSION ?= $(shell git describe --tags --dirty --match "v*" --always --abbrev=8
GO_VERSION ?= 1.19
LINT_VERSION ?= 1.49.0
BINDIR = bin
SYNCDIR = internal/frostfs/services/tree
METRICS_DUMP_OUT ?= ./metrics-dump.json
@ -133,6 +134,7 @@ version:
clean:
rm -rf .cache
rm -rf $(BINDIR)
rm -rf $(SYNCDIR)
# Generate code from .proto files
protoc:

View file

@ -2,7 +2,7 @@
mkdir -p internal/frostfs/services/tree 2>/dev/null
REVISION="feaa9eace7098c343598bf08fb50746a1e8d2deb"
REVISION="f07d4158f50ed5c7f44cc0bc224c3d03edf27f3b"
echo "tree service revision ${REVISION}"
@ -11,7 +11,7 @@ echo "tree service revision ${REVISION}"
FILES=$(curl -s https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/${REVISION}/pkg/services/tree | sed -n "s,.*\"/TrueCloudLab/frostfs-node/src/commit/${REVISION}/pkg/services/tree/\([^.]*\.pb\.go\)\".*,\1,p")
for file in $FILES; do
if [[ $file == *"neofs"* ]]; then
if [[ $file == *"frostfs"* ]]; then
echo "skip '$file'"
continue
else