ci: disable mint test

This commit is contained in:
Nugine
2025-02-26 17:10:37 +08:00
parent 0a01113c83
commit b5ebc90667

View File

@@ -57,15 +57,15 @@ jobs:
touch rustfs/build.rs
cargo build -p rustfs --bins
- name: Build release
run: |
touch rustfs/build.rs
cargo build -p rustfs --bins --release
# - name: Build release
# run: |
# touch rustfs/build.rs
# cargo build -p rustfs --bins --release
- run: |
mkdir -p ./target/artifacts
cp target/debug/rustfs ./target/artifacts/rustfs-debug
cp target/release/rustfs ./target/artifacts/rustfs-release
# cp target/release/rustfs ./target/artifacts/rustfs-release
- uses: actions/upload-artifact@v4
with:
@@ -133,43 +133,43 @@ jobs:
name: s3s-e2e.logs
path: /tmp/rustfs.log
mint:
name: E2E (mint)
needs:
- skip-check
- develop
if: needs.skip-check.outputs.should_skip != 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
cache-shared-key: "develop"
cache-save-if: false
# mint:
# name: E2E (mint)
# needs:
# - skip-check
# - develop
# if: needs.skip-check.outputs.should_skip != 'true'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/setup
# with:
# cache-shared-key: "develop"
# cache-save-if: false
- uses: actions/download-artifact@v4
with:
name: rustfs
path: ./target/artifacts
# - uses: actions/download-artifact@v4
# with:
# name: rustfs
# path: ./target/artifacts
- name: Run rustfs
run: |
./scripts/e2e-run.sh ./target/artifacts/rustfs-release /data/rustfs
sleep 10
# - name: Run rustfs
# run: |
# ./scripts/e2e-run.sh ./target/artifacts/rustfs-release /data/rustfs
# sleep 10
- name: Run mint
timeout-minutes: 10
run: |
docker run \
-e "SERVER_ENDPOINT=localhost:9000" \
-e "ACCESS_KEY=rustfsadmin" \
-e "SECRET_KEY=rustfsadmin" \
-e "ENABLE_HTTPS=0" \
--network host \
minio/mint:edge
sudo killall rustfs-release
# - name: Run mint
# timeout-minutes: 10
# run: |
# docker run \
# -e "SERVER_ENDPOINT=localhost:9000" \
# -e "ACCESS_KEY=rustfsadmin" \
# -e "SECRET_KEY=rustfsadmin" \
# -e "ENABLE_HTTPS=0" \
# --network host \
# minio/mint:edge
# sudo killall rustfs-release
- uses: actions/upload-artifact@v4
with:
name: mint.logs
path: /tmp/rustfs.log
# - uses: actions/upload-artifact@v4
# with:
# name: mint.logs
# path: /tmp/rustfs.log