mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-30 16:59:52 +00:00
Update mint.yml
This commit is contained in:
+38
-41
@@ -15,52 +15,49 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: install protoc
|
- name: get hostip
|
||||||
run: |
|
run: ifconfig
|
||||||
wget https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip
|
# - name: install protoc
|
||||||
unzip protoc-27.0-linux-x86_64.zip -d protoc3
|
# run: |
|
||||||
mv protoc3/bin/* /usr/local/bin/
|
# wget https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip
|
||||||
chmod +x /usr/local/bin/protoc
|
# unzip protoc-27.0-linux-x86_64.zip -d protoc3
|
||||||
rm -rf protoc-27.0-linux-x86_64.zip protoc3
|
# mv protoc3/bin/* /usr/local/bin/
|
||||||
|
# chmod +x /usr/local/bin/protoc
|
||||||
|
# rm -rf protoc-27.0-linux-x86_64.zip protoc3
|
||||||
|
|
||||||
- name: install flatc
|
# - name: install flatc
|
||||||
run: |
|
# run: |
|
||||||
wget https://github.com/google/flatbuffers/releases/download/v24.3.25/Linux.flatc.binary.g++-13.zip
|
# wget https://github.com/google/flatbuffers/releases/download/v24.3.25/Linux.flatc.binary.g++-13.zip
|
||||||
unzip Linux.flatc.binary.g++-13.zip
|
# unzip Linux.flatc.binary.g++-13.zip
|
||||||
mv flatc /usr/local/bin/
|
# mv flatc /usr/local/bin/
|
||||||
chmod +x /usr/local/bin/flatc
|
# chmod +x /usr/local/bin/flatc
|
||||||
rm -rf Linux.flatc.binary.g++-13.zip
|
# rm -rf Linux.flatc.binary.g++-13.zip
|
||||||
|
|
||||||
- name: checkout source code
|
# - name: checkout source code
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: rust-toolchain
|
# - name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.6
|
# uses: actions-rs/toolchain@v1.0.6
|
||||||
with:
|
# with:
|
||||||
toolchain: stable
|
# toolchain: stable
|
||||||
|
|
||||||
- name: cache rust dependencies
|
# - name: cache rust dependencies
|
||||||
uses: Swatinem/rust-cache@v2
|
# uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: cargo build & release
|
# - name: cargo build & release
|
||||||
run: cargo build --release
|
# run: cargo build --release
|
||||||
|
|
||||||
- name: run this rustfs server
|
# - name: run this rustfs server
|
||||||
run: |
|
# run: |
|
||||||
mkdir -p data/rustfs
|
# sudo mkdir -p /data/rustfs
|
||||||
nohup ./target/release/rustfs \
|
# sudo nohup ./target/release/rustfs /data/rustfs &
|
||||||
--address 0.0.0.0:9000 \
|
|
||||||
--access-key rustfsadmin \
|
|
||||||
--secret-key rustfsadmin \
|
|
||||||
--domain-name localhost:9000 \
|
|
||||||
data/rustfs &
|
|
||||||
|
|
||||||
- name: run mint test task
|
# - name: run mint test task
|
||||||
run: |
|
# run: |
|
||||||
ps aux | grep rustfs
|
# ps aux | grep rustfs
|
||||||
docker run -e SERVER_ENDPOINT=localhost:9000 \
|
# docker run -e SERVER_ENDPOINT=localhost:9000 \
|
||||||
-e ACCESS_KEY=rustfsadmin \
|
# -e ACCESS_KEY=rustfsadmin \
|
||||||
-e SECRET_KEY=rustfsadmin \
|
# -e SECRET_KEY=rustfsadmin \
|
||||||
-e ENABLE_HTTPS=0 \
|
# -e ENABLE_HTTPS=0 \
|
||||||
minio/mint
|
# minio/mint
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user