Skip to content

Commit

Permalink
Add the mc config host add to the yaml for the Github Actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbaun committed Sep 20, 2024
1 parent fde6e00 commit 6661b34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/Run_MinIO_OSSperf_DOCKER.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ jobs:
- name: Wait for Minio Server to Start
run: |
sleep 5
- name: Create or update MinIO client (mc) config
run: |
mc config host add myminio http://localhost:9000 ${MIN_USER} ${MIN_PASS}
- name: Run ossperf.sh
run: |
cd $GITHUB_WORKSPACE
chmod +x ossperf.sh
./ossperf.sh -n 5 -s 1048576 -b ossperf-testbucket -p -m minio
./ossperf.sh -n 5 -s 1048576 -b ossperf-testbucket -p -m myminio
5 changes: 3 additions & 2 deletions ossperf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# contributors: Rosa Maria Spanou, Marius Wernicke, Makarov Alexandr, Brian_P, agracie, justinjrestivo
# url: https://github.com/christianbaun/ossperf
# license: GPLv3
# date: September 18th 2024
# version: 1.08
# date: September 19th 2024
# version: 1.09
# bash_version: 4.4.12(1)-release
# requires: md5sum (tested with version 8.26),
# bc (tested with version 1.06.95),
Expand Down Expand Up @@ -1503,6 +1503,7 @@ TIME_ERASE_OBJECTS_END=$(date +%s.%N)
# The sed command ensures that results < 1 have a leading 0 before the "."
TIME_ERASE_OBJECTS=$(echo "scale=3 ; (${TIME_ERASE_OBJECTS_END} - ${TIME_ERASE_OBJECTS_START})/1" | bc | sed 's/^\./0./')


# Start of the 6th time measurement
TIME_ERASE_BUCKET_START=$(date +%s.%N)

Expand Down

0 comments on commit 6661b34

Please sign in to comment.