Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhansa-msft committed Jun 25, 2024
1 parent 8b5a17b commit f550427
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,33 +69,32 @@ jobs:
which blobfuse2
blobfuse2 --version
# Create the config file for testing
- name: "Create mount path"
run: |
sudo mkdir -p /mnt/blob_mnt
sudo mkdir -p /mnt/tempcache
sudo chmod 777 /mnt/blob_mnt
sudo chmod 777 /mnt/tempcache
- name: "Export environment variable"
run: |
echo "export AZURE_STORAGE_ACCOUNT_CONTAINER: ${{ secrets.BLOB_STORAGE_CONTAINER }}" >> $GITHUB_ENV
if [ "${{ matrix.TestType }}" == "premium" ]; then
echo "export AZURE_STORAGE_ACCOUNT=${{ secrets.BLOB_STORAGE_ACCOUNT }}" >> $GITHUB_ENV
echo "export AZURE_STORAGE_ACCESS_KEY: ${{ secrets.BLOB_STORAGE_KEY }}" >> $GITHUB_ENV
echo "export AZURE_STORAGE_ACCESS_KEY=${{ secrets.BLOB_STORAGE_KEY }}" >> $GITHUB_ENV
else
echo "export AZURE_STORAGE_ACCOUNT=${{ secrets.STD_BLOB_STORAGE_ACCOUNT }}" >> $GITHUB_ENV
echo "export AZURE_STORAGE_ACCESS_KEY: ${{ secrets.STD_BLOB_STORAGE_KEY }}" >> $GITHUB_ENV
echo "export AZURE_STORAGE_ACCESS_KEY=${{ secrets.STD_BLOB_STORAGE_KEY }}" >> $GITHUB_ENV
fi
# ---------------------------------------------------------------------------------------------------------------------------------------------------
# Premium blob storage tests
# Create the config file for testing
- name: "Create config file : Premium"
- name: "Create config file"
run: |
blobfuse2 gen-test-config --config-file=azure_block_bench.yaml --container-name=${{ secrets.BLOB_STORAGE_CONTAINER }} --output-file=./config.yaml
cat ./config.yaml
# Create the config file for testing
- name: "Create mount path"
run: |
sudo mkdir -p /mnt/blob_mnt
sudo mkdir -p /mnt/tempcache
sudo chmod 777 /mnt/blob_mnt
sudo chmod 777 /mnt/tempcache
# ---------------------------------------------------------------------------------------------------------------------------------------------------
# Run the basic tests using FIO

# Run the Write tests
Expand Down Expand Up @@ -217,7 +216,8 @@ jobs:
auto-push: true
comment-on-alert: true
gh-pages-branch: benchmarks
benchmark-data-dir-path: ${{ matrix.TestType }}/time/highapp
benchmark-data-dir-path: ${{ matrix.TestType }}/time/highapp

# ---------------------------------------------------------------------------------------
# Run Rename tests
# This needs to run seperatly as output is different
Expand All @@ -241,4 +241,5 @@ jobs:
comment-on-alert: true
gh-pages-branch: benchmarks
benchmark-data-dir-path: ${{ matrix.TestType }}/time/rename
# ---------------------------------------------------------------------------------------

0 comments on commit f550427

Please sign in to comment.