mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-11 15:46:53 +00:00
Update mint.yml
This commit is contained in:
+37
-38
@@ -15,49 +15,48 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: get hostip
|
- name: install protoc
|
||||||
run: ifconfig
|
run: |
|
||||||
# - name: install protoc
|
wget https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip
|
||||||
# run: |
|
unzip protoc-27.0-linux-x86_64.zip -d protoc3
|
||||||
# wget https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip
|
mv protoc3/bin/* /usr/local/bin/
|
||||||
# unzip protoc-27.0-linux-x86_64.zip -d protoc3
|
chmod +x /usr/local/bin/protoc
|
||||||
# mv protoc3/bin/* /usr/local/bin/
|
rm -rf protoc-27.0-linux-x86_64.zip protoc3
|
||||||
# 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: |
|
||||||
# sudo mkdir -p /data/rustfs
|
sudo mkdir -p /data/rustfs
|
||||||
# sudo nohup ./target/release/rustfs /data/rustfs &
|
sudo nohup ./target/release/rustfs /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 \
|
SERVER_ADDRESS=$(ifconfig eth0 | awk 'NR==2 { print $2 }')
|
||||||
# -e ACCESS_KEY=rustfsadmin \
|
docker run -e SERVER_ENDPOINT=${SERVER_ADDRESS}:9000 \
|
||||||
# -e SECRET_KEY=rustfsadmin \
|
-e ACCESS_KEY=rustfsadmin \
|
||||||
# -e ENABLE_HTTPS=0 \
|
-e SECRET_KEY=rustfsadmin \
|
||||||
# minio/mint
|
-e ENABLE_HTTPS=0 \
|
||||||
|
minio/mint
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user