Commit Graph

259 Commits

Author SHA1 Message Date
houseme
a64bd436c8 modify profile.release and build yml 2025-06-09 11:43:00 +08:00
loverustfs
2e4218706b disabled self-hosted 2025-06-09 10:22:22 +08:00
loverustfs
ec5be0a2c3 disabled self-hosted 2025-06-08 18:20:15 +08:00
houseme
9495df6d5e refactor(deps): centralize crate versions in root Cargo.toml (#448)
* chore(ci): upgrade protoc from 30.2 to 31.1

- Update protoc version in GitHub Actions setup workflow
- Use arduino/setup-protoc@v3 to install the latest protoc version
- Ensure compatibility with current project requirements
- Improve proto file compilation performance and stability

This upgrade aligns our development environment with the latest protobuf standards.

* modify package version

* refactor(deps): centralize crate versions in root Cargo.toml

- Move all dependency versions to workspace.dependencies section
- Standardize AWS SDK and related crates versions
- Update tokio, bytes, and futures crates to latest stable versions
- Ensure consistent version use across all workspace members
- Implement workspace inheritance for common dependencies

This change simplifies dependency management and ensures version consistency across the project.

* fix

* modify
2025-06-07 22:22:26 +08:00
loverustfs
158462ca0b off self-hosted
off self-hosted
2025-06-07 22:22:26 +08:00
houseme
d66525a22f refactor(deps): centralize crate versions in root Cargo.toml (#448)
* chore(ci): upgrade protoc from 30.2 to 31.1

- Update protoc version in GitHub Actions setup workflow
- Use arduino/setup-protoc@v3 to install the latest protoc version
- Ensure compatibility with current project requirements
- Improve proto file compilation performance and stability

This upgrade aligns our development environment with the latest protobuf standards.

* modify package version

* refactor(deps): centralize crate versions in root Cargo.toml

- Move all dependency versions to workspace.dependencies section
- Standardize AWS SDK and related crates versions
- Update tokio, bytes, and futures crates to latest stable versions
- Ensure consistent version use across all workspace members
- Implement workspace inheritance for common dependencies

This change simplifies dependency management and ensures version consistency across the project.

* fix

* modify
2025-06-07 21:52:59 +08:00
loverustfs
32d1db184a off self-hosted
off self-hosted
2025-06-06 16:48:59 +08:00
loverustfs
1a921df86b add linux arm64 package 2025-05-29 14:50:02 +08:00
houseme
7154b8f871 refactor(ci): improve samply profiling workflow with timeout handling
- Add 2-minute timeout to samply record command with proper error handling
- Improve test volume directory creation
- Add workflow_dispatch for manual triggering
- Add job timeout of 10 minutes
- Set environment variables to match run.sh configuration
- Add run number to artifact name for better identification
- Add proper error checking and output when profiling fails
- Set artifact retention period to 7 days
2025-05-28 16:58:19 +08:00
houseme
2a802acfe0 modify install samply 2025-05-28 16:18:01 +08:00
houseme
4aaeff8e4c add workflow Samply action and modify console address port 9001 2025-05-28 16:02:53 +08:00
overtrue
fb42ba1a14 feat: enhance CI with comprehensive clippy checks for pull requests 2025-05-28 15:49:47 +08:00
houseme
0c351965a2 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
2025-05-12 00:36:29 +08:00
houseme
07c3cb3f0a 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
2025-05-11 23:41:19 +08:00
houseme
33cd4c546a 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
2025-05-11 23:41:09 +08:00
houseme
f6f1f3b329 add GH_TOKEN 2025-05-10 10:05:15 +08:00
houseme
780ff5f5df add x86_64-unknown-linux-musl target 2025-05-10 09:46:49 +08:00
houseme
f8f58a8355 test 2025-05-10 00:52:41 +08:00
houseme
43f2963d14 test target aarch64-apple-darwin 2025-05-10 00:39:08 +08:00
houseme
a7115ba699 test 2025-05-10 00:30:01 +08:00
houseme
f64458018b fix 2025-05-10 00:27:54 +08:00
houseme
b1358d4711 # Expand ARM64 Linux Support in Build Pipeline
Added support for both ARM64 Linux variants to the CI/CD build pipeline:

1. Enabled the previously commented `aarch64-unknown-linux-gnu` target build
2. Re-enabled the `aarch64-unknown-linux-musl` target build
3. Updated the build matrix to ensure proper runner selection:
   - Ubuntu runners build all Linux targets
   - macOS runners build only Apple Silicon targets
4. Maintained compatibility with the existing build scripts and packaging process

This expansion gives users more options for deploying on ARM64 Linux platforms, supporting both glibc and musl libc environments for maximum compatibility and performance.
2025-05-10 00:24:14 +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
f5a97b63b9 chore(ci): optimize build workflow and update protoc version
- Update protoc version from 27.0 to 30.2 for better compatibility
- Improve build workflow parameters handling
2025-04-10 11:49:44 +08:00
houseme
96625b42ff improve code for build 2025-04-07 17:47:43 +08:00
houseme
212ec9ca69 improve 2025-04-07 17:24:13 +08:00
houseme
8de029bd7a update 2025-04-07 17:13:19 +08:00
houseme
5204cb67d8 Change build target to x86_64-unknown-linux-musl and update system dependencies
- Change build target from `x86_64-unknown-linux-gnu` to `x86_64-unknown-linux-musl`
- Default install `x86_64-unknown-linux-musl` toolchain in setup action
- Add `musl-tools` and `build-essential` to system dependencies
2025-04-07 16:55:14 +08:00
overtrue
31697a55b6 feat: latest zip 2025-03-29 19:38:30 +08:00
overtrue
4b8fcc4b31 fix: filename 2025-03-29 14:29:36 +08:00
overtrue
f2ebffd0ca n 2025-03-29 14:08:33 +08:00
loverustfs
c3b47adf39 fix console-zip package error
fix console-zip package error
2025-03-24 22:58:00 +08:00
houseme
a0fef99f8a improve for build.yml 2025-03-06 12:07:25 +08:00
houseme
bbd9fcbc84 add dx linux cmd 2025-03-06 11:23:56 +08:00
houseme
1689cef204 improve unzip cmd 2025-03-06 10:52:14 +08:00
houseme
9b2e36afc4 improve 2025-03-06 10:31:23 +08:00
houseme
a635fc8f88 fix actions/download-artifact version to v4 2025-03-06 08:48:20 +08:00
houseme
1e3421e973 test build-rustfs-gui 2025-03-06 08:37:51 +08:00
houseme
efdff73bbf fix 2025-03-06 00:34:50 +08:00
houseme
6fcdde0617 test build.yml 2025-03-06 00:06:34 +08:00
houseme
951c08ec4f improve add cache 2025-03-06 00:00:57 +08:00
houseme
6690396b65 improve build.yml 2025-03-05 23:43:00 +08:00
houseme
f1f5967117 test build gui 2025-03-05 23:35:38 +08:00
houseme
9b77084ffe feat: add build-rustfs-gui process and optimize utils/helper.rs
1. Added a new build process `build-rustfs-gui` in `build.yaml` to streamline the build operations for the RustFS GUI.
2. Optimized `cli/rustfs-gui/utils/helper.rs` by using `rust-embed` to embed the `rustfs` resources directly into the binary.
2025-03-05 18:47:21 +08:00
houseme
03c3d4abfe improve build yml 2025-03-02 16:53:27 +08:00
Nugine
09b855a3a9 ci: fix setup 2025-03-02 04:08:40 +08:00
Nugine
6dbf7d8d65 ci: reduce setup time 2025-03-02 02:52:25 +08:00
houseme
34dc49c2f5 ci: confirm static directory placement in artifact package
Ensure the static directory is copied as a sibling to the rustfs binary
in the artifact package, maintaining the proper directory structure
for the application to locate its resources.
2025-03-02 01:14:10 +08:00
houseme
f113f8afea ci: optimize GitHub Actions build workflow and fix artifact merging
- Fix artifact pattern matching in merge step to use consistent name pattern
- Standardize artifact naming convention with clear format
- Improve static assets handling with simpler download and extraction
- Add 7-day retention policy for artifacts to manage storage
- Use output variables to ensure consistency between artifact names and paths
- Optimize package creation process to eliminate redundant nesting
- Enhance error handling and script readability
2025-03-02 00:59:46 +08:00
Nugine
cff10f8c55 ci: enable cache for test 2025-03-02 00:37:56 +08:00