Commit Graph

1907 Commits

Author SHA1 Message Date
Gaius 233aac29db
feat: redirect stdout and stderr to file (#1399)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:29 +08:00
Gaius 230966cf8f
feat: dfdaemon add GetObject rest api (#1398)
* feat: dfdaemon add GetObject rest api

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
chmod100 f6df29d372
fix: default repository does not exist and missing dependency containers (#1395)
Dragonfly2 starts with dependencies on mysql and redis, but they do not exist
in the script. and the default mirror repository d7yio does not exist.

Also some of the containers that depend on it when starting may not be ready
yet, so I added --restart=always.

Signed-off-by: LetFu <letfu@outlook.com>
2023-06-28 17:33:28 +08:00
1037husterljx f90cc04f78
dfget config fix (#1394)
Signed-off-by: ljx373327 <ljx373327@alibaba-inc.com>
2023-06-28 17:33:28 +08:00
Gaius d392b9f8aa
feat: add seed peer for list scheduler grpc interface (#1393)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
Gaius 9cabf7638e
fix: validate rate limiter (#1392)
* fix: validate rate limiter

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
1037husterljx 512f242a4a
fix: dfget ratelimit params (#1391)
Signed-off-by: ljx373327 <ljx373327@alibaba-inc.com>
2023-06-28 17:33:28 +08:00
Gaius 171c0d54ee
feat: dfdaemon add object storage rest api (#1390)
* feat: dfdaemon add object storage rest api

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
Gaius 4889a37886
feat: replace gin-gonic/gin with gorilla/mux (#1389)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
chmod100 2441ae85c9
fix: count error & totalPage error (#1373) (#1376)
Signed-off-by: LetFu <letfu@outlook.com>
2023-06-28 17:33:27 +08:00
Gaius 5b323b00b4
fix: manager router middlewares order (#1385)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:27 +08:00
Gaius 0544527aea
feat: add enable config to peer gauge (#1382)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:27 +08:00
1037husterljx 7668063e0c
fix: dfget build error (#1381)
Signed-off-by: ljx373327 <ljx373327@alibaba-inc.com>
2023-06-28 17:33:27 +08:00
Gaius 8d27830ca8
feat: dfdaemon add ns filter (#1379)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:27 +08:00
Gaius e8ab77c5ba
feat: remove connection gc (#1378)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:27 +08:00
Gaius 2362a670bd
fix: preheat tack id (#1375)
* fix: preheat with task id

Signed-off-by: Gaius <gaius.qi@gmail.com>

* fix: add end time to seed piece

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:27 +08:00
Gaius 31a2c27a7c
feat: dynconfig add object storage (#1369)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:27 +08:00
Gaius e3cfd49808
feat: manager add bucket interface (#1368)
* feat: manager add bucket interface

Signed-off-by: Gaius <gaius.qi@gmail.com>

* docs: add bucket swagger

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius e9a6be1ea8
feat: add objectstorage pkg (#1366)
* feat: add objectstorage pkg

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius 9b75361254
chore: add check size workflows (#1364)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius 866eafe2c7
feat: remove preheat tag validate with required (#1363)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Jim Ma c8ea36186f
chore: add hack/gen-containerd-hosts.sh (#1361)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius e4eaa6195c
docs: update CHANGELOG
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius 5481e9064d
docs: update CHANGELOG
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius 6a5bb25267
chore: release v2.0.3 (#1360)
* chore: release v2.0.3

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius cce9f405d3
docs: update readme system features (#1359)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:26 +08:00
Gaius 5de118bce2
feat: e2e seed peer (#1358)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:25 +08:00
Jim Ma 6070e5a0ef
chore: update content range for partial content (#1357)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:25 +08:00
Gaius 085b4375aa
feat: update console and helm-charts submodule (#1355)
* feat: update submodule

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: update submodule

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:25 +08:00
Eryu Guan 58897697bd
feat: use uid/gid as UserID and UserGroup if current user not found in passwd (#1352)
If user.Current() failed to parse current user info, e.g. no entry in
passwd file, use uid/gid as UserID and UserGroup, and use "/" as
default HomeDir. So we don't need to panic.

Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
2023-06-28 17:33:25 +08:00
Eryu Guan b404c4f412
feat: use 127.0.0.1 as IPv4 if there's no external IPv4 addr (#1353)
* feat: use 127.0.0.1 as IPv4 if there's no external IPv4 addr

Since commit 0bc0d3b7ea ("feat: add vsock network type support
(#1303)") we have vsock support, which means we could run dfget in a
constrained VM env that only has loopback net interface, and connect to
dfdaemon on host via vsock connection. So it's a valid setup to have no
external IPv4 addr.

Don't panic in this case and use "127.0.0.1" as IPv4.

Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>

* Update ip_utils.go

* Update ip_utils.go

Co-authored-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:25 +08:00
Gaius 372a82e516
feat: add security group id with scheduler cluster (#1354)
* feat: add security group id with scheduler cluster

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: update swagger

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:25 +08:00
Jim Ma a3bc931850
fix: register fail panic (#1351)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:25 +08:00
Gaius cbbac940c8
chore: add check size action (#1350)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:25 +08:00
Gaius 68a127f2c7
docs: readme typo
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:24 +08:00
Gaius 5d17a02086
docs: readme add seed peer (#1349)
* docs: readme add seed peer

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:24 +08:00
Jim Ma 175a27e278
fix: find partial completed overflow (#1346)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:24 +08:00
Gaius e2eb30bc96
feat: change pattern from cdn to seed peer and remove kustomize shell (#1345)
* feat: change pattern from cdn to seed peer and remove kustomize shell

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:24 +08:00
Gaius 3351b2871d
fix: e2e charts config
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:24 +08:00
Gaius 6daff648a5
feat: update casbin/gorm-adapter version and change e2e charts config
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:24 +08:00
Gaius b47f321cee
test: update e2e charts config
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:24 +08:00
Gaius 74ee20de2d
feat: update helm charts
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:23 +08:00
Gaius 5b1f0ce009
feat: update dependencies
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:23 +08:00
Gaius 6fe519a233
fix: seed peer reuse value
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:23 +08:00
Gaius 40e98d6799
fix: dfdaemon seed peer metrics namespace (#1343)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:23 +08:00
Gaius 5763ee86bd
feat: add seed peer metrics (#1342)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:23 +08:00
Gaius 74233b1077
fix: create_at timestamp (#1341)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:23 +08:00
Gaius 38d7fd3acd
feat: grpc health probe support arm64 (#1338)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:23 +08:00
Gaius 01ff3eb4a4
feat: docker build with multi platforms (#1337)
* feat: docker build with multi platforms

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:22 +08:00
Jim Ma ebee0adb7d
fix: reuse seed peer id is not exist (#1335)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:22 +08:00