Commit Graph

78 Commits

Author SHA1 Message Date
houseme
2edc2e243c improve comment run.sh 2025-05-29 21:30:26 +08:00
houseme
3ceec7b5f2 improve code for obs 2025-05-29 21:10:04 +08:00
houseme
ace04bcd97 modify config for obs 2025-05-29 13:24:56 +08:00
houseme
fe15655f1e init openobserve docker yml 2025-05-29 08:34:17 +08:00
houseme
ca8f399832 format comment 2025-05-27 13:56:19 +08:00
houseme
dd7da015e3 Feature/rustfs config (#396)
* init rustfs config

* improve code for rustfs-config crate

* add

* improve code for comment

* fix: modify rustfs-config crate name

* add default fn

* improve error logger

* fix: modify docker config yaml

* improve code for config

* feat: restrict kafka feature to Linux only

- Add target-specific feature configuration in Cargo.toml for obs and event-notifier crates
- Implement conditional compilation for kafka feature only on Linux systems
- Add appropriate error handling for non-Linux platforms
- Ensure backward compatibility with existing code

* refactor(ci): optimize build workflow for better efficiency

- Integrate GUI build steps into main build-rustfs job
- Add conditional GUI build execution based on tag releases
- Simplify workflow by removing redundant build-rustfs-gui job
- Copy binary directly to embedded-rustfs directory without downloading artifacts
- Update merge job dependency to only rely on build-rustfs
- Improve cross-platform compatibility for Windows binary naming (.exe)
- Streamline artifact uploading and OSS publishing process
- Maintain consistent conditional logic for release operations

* refactor(ci): optimize build workflow for better efficiency

- Integrate GUI build steps into main build-rustfs job
- Add conditional GUI build execution based on tag releases
- Simplify workflow by removing redundant build-rustfs-gui job
- Copy binary directly to embedded-rustfs directory without downloading artifacts
- Update merge job dependency to only rely on build-rustfs
- Improve cross-platform compatibility for Windows binary naming (.exe)
- Streamline artifact uploading and OSS publishing process
- Maintain consistent conditional logic for release operations

* fix(ci): add repo-token to setup-protoc action for authentication

- Add GITHUB_TOKEN parameter to arduino/setup-protoc@v3 action
- Ensure proper authentication for Protoc installation in CI workflow
- Maintain consistent setup across different CI environments

* modify config

* improve readme.md

* remove env config relation

* add allow(dead_code)
2025-05-12 01:17:31 +08:00
houseme
2a9a60197b # Add aarch64-apple-darwin Build Target Support
Added ARM64 macOS (Apple Silicon) build target support to the CI/CD pipeline by:

1. Including `aarch64-apple-darwin` as a new build variant in the build matrix
2. Adding proper exclusion rules to ensure the target only runs on macOS runners
3. Ensuring compatibility with the existing build scripts and packaging process

This change enables native builds for Apple Silicon Macs, improving performance for users with M1/M2/M3/M4 processors while maintaining the same artifact organization and deployment process.
2025-05-10 00:15:05 +08:00
houseme
5a363c5523 Comment certificate directory parameters 2025-04-28 23:00:54 +08:00
houseme
e9d6e2ca95 feat: improve address binding and port handling mechanism (#366)
* feat: improve address binding and port handling mechanism

1. Add support for ":port" format to enable dual-stack binding (IPv4/IPv6)
2. Implement automatic port allocation when port 0 is specified
3. Optimize server startup process with unified address resolution
4. Enhance error handling and logging for address resolution
5. Improve graceful shutdown with signal listening
6. Clean up commented code in console.rs

Files:
- ecstore/src/utils/net.rs
- rustfs/src/console.rs
- rustfs/src/main.rs

Branch: feature/server-and-console-port

* improve code for console

* improve code

* improve code for console and net.rs

* Update rustfs/src/main.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update rustfs/src/utils/mod.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-27 23:44:26 +08:00
houseme
e8f8a0872d modify Telemetry filter order 2025-04-27 09:50:32 +08:00
houseme
9590d99e7c Feature/upgrade obs docker (#364)
* upgrade docker config

* upgrade obs.toml

* modify dockerfile image from alpine to ubuntu
2025-04-26 22:36:38 +08:00
houseme
86353d98d5 feat: add TraceLayer for HTTP service and improve metrics (#361)
* improve code for opentelemetry and add system metrics

* feat: add TraceLayer for HTTP service and improve metrics

- Add TraceLayer to HTTP server for request tracing
- Implement system metrics for process monitoring
- Optimize init_telemetry method for better resource management
- Add graceful shutdown handling for telemetry components
- Fix GracefulShutdown ownership issues with Arc wrapper

* improve code for init_process_observer

* remove tomlfmt.toml

* Translation comment

* improve code for console CompressionLayer params
2025-04-24 19:04:57 +08:00
weisd
a745b91ded fix:#351 delete object err 2025-04-24 13:22:34 +08:00
weisd
cffd4fc28d merge fix/pools 2025-04-23 16:48:57 +08:00
weisd
fff7e5f827 pool select idx
fixs:#346, #339, #338, #337, #336, #334

test healbucket

test get_available_pool_idx

fix
2025-04-23 15:11:43 +08:00
houseme
b2e1a7ac33 fix 2025-04-22 23:07:13 +08:00
houseme
ea13098beb fix: modify webhook port 2025-04-22 23:06:43 +08:00
houseme
c8ab89292e feat: improve webhook server and run script integration
- Enhance webhook example with proper shutdown handling using tokio::select!
- Update run.sh to automatically start webhook server alongside main service
- Add event notification configuration to run.sh using environment variables
- Set proper port bindings to ensure webhook server starts on port 3000
- Improve console output for better debugging experience
- Fix race condition during service startup and shutdown

This change ensures proper integration between the webhook server and
the main rustfs service, providing a seamless development experience
with automatic service discovery and clean termination.
2025-04-22 21:40:20 +08:00
houseme
fffa1ec671 Feature/status Support IPV4 and IPV6 dual stack and 308 Permanent Redirect (#329)
* test 308 Permanent Redirect

* improve code and Support IPV4 and IPV6 dual stack

* remove code
2025-04-15 23:29:12 +08:00
houseme
c651bea903 Fix/fix domain server (#319)
* fix: server_domain and improve code for tls

* add log

* add tracing

* test

* improve config and tls

* Update rustfs/src/console.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-13 12:55:56 +08:00
houseme
e90bae35b9 upgrade protobuf download link and improve code for readme.md 2025-04-11 21:44:23 +08:00
houseme
ab8b19eb5d improve signal watch 2025-04-11 16:48:07 +08:00
Damonxue
b2f5e28b95 fix: remove duplicate download check for rustfs-console-latest.zip 2025-04-09 09:25:46 +08:00
Damonxue
0ed8a8dd19 feat: update file access error handling and improve script downloads
fix: correct file size retrieval in bitrot verification
chore: remove deprecated run.bat and add run.ps1 script
2025-04-08 17:32:12 +08:00
houseme
99b473e229 install target x86_64-unknown-linux-musl 2025-04-07 17:57:45 +08:00
houseme
3a0ea8992f improve code for observability 2025-04-02 18:23:20 +08:00
houseme
0b552b1697 run.sh add RUSTFS_OBS_CONFIG = "./config/obs.example.toml" 2025-04-02 17:18:03 +08:00
weisd
4d88af731c fix etag bug 2025-03-28 15:39:53 +08:00
weisd
7a7aee2049 use filereader as asyncread 2025-03-10 02:39:35 +08:00
weisd
937a0c7dee add s3 access check 2025-03-07 10:07:23 +08:00
Nugine
6dbf7d8d65 ci: reduce setup time 2025-03-02 02:52:25 +08:00
weisd
4fb9913c93 use rand 0.8.5 2025-03-01 23:29:45 +08:00
DamonXue
442c618013 fix: update Functions deserialization logic and add run.bat script 2025-03-01 17:27:07 +08:00
weisd
3b56bb69e6 add s3s host style 2025-02-26 17:38:39 +08:00
Nugine
0a01113c83 ci: fix e2e tests 2025-02-26 15:14:02 +08:00
weisd
dae6616720 fix add service_account 2025-02-25 00:39:19 +08:00
weisd
c07d165ceb fix admin api bugs 2025-02-24 11:15:50 +08:00
weisd
19d897a40b fix service account action, add console config api 2025-02-23 15:06:13 +08:00
Nugine
e87cc87cbf ci: build for old glibc (#232)
* build(deps): shadow_rs

* ci(build): build for old glibc

* ci: simplify all
2025-02-22 20:25:16 +08:00
weisd
d00bfd6243 fix policy parse 2025-02-12 17:34:23 +08:00
weisd
1c15eac66a fix admin add user fail 2025-02-11 10:10:12 +08:00
weisd
375834ea46 add console static server 2025-01-22 13:47:35 +08:00
weisd
b29b15f3b5 rewrite iam 2025-01-17 17:22:39 +08:00
weisd
47f365d385 feat:#165 copyobject v1 2025-01-03 02:09:51 +08:00
weisd
dd0a744a3e fix: #137 #186 skip delete marker objects when list object 2024-12-31 16:57:01 +08:00
weisd
d84c0e03d9 fix: #174 2024-12-26 16:32:27 +08:00
weisd
e725c97536 remove openssl dep 2024-12-23 19:58:37 +08:00
weisd
7d2c9b06de fix:#159, fix:#160 2024-12-11 16:05:29 +08:00
weisd
0e9d552712 AssumeRoleHandle done 2024-12-10 20:35:51 +08:00
安正超
357a334b0b wip 2024-12-03 02:54:23 +00:00