Skip to content

Commit

Permalink
Adding container name
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhansa-msft committed Jun 26, 2024
1 parent 5952cc4 commit c4e9b8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,19 @@ jobs:
- name: "Export environment variable"
run: |
echo "export AZURE_STORAGE_ACCOUNT_CONTAINER=benchmark" >> $GITHUB_ENV
if [ "${{ matrix.TestType }}" == "premium" ]; then
echo "export AZURE_STORAGE_ACCOUNT=blobfuse2benchmark" >> $GITHUB_ENV
else
echo "export AZURE_STORAGE_ACCOUNT=stdblobfuse2benchmark" >> $GITHUB_ENV
fi
echo $AZURE_STORAGE_ACCOUNT
# Create the config file for testing
- name: "Create config file"
run: |
echo $AZURE_STORAGE_ACCOUNT
blobfuse2 gen-test-config --config-file=azure_block_bench.yaml --container-name=${{ secrets.BLOB_STORAGE_CONTAINER }} --output-file=./config.yaml
blobfuse2 gen-test-config --config-file=azure_block_bench.yaml --container-name=benchmark --output-file=./config.yaml
cat ./config.yaml
env:
STO_ACC_NAME: $AZURE_STORAGE_ACCOUNT
# Create the config file for testing
- name: "Create mount path"
Expand Down
1 change: 0 additions & 1 deletion testdata/config/azure_block_bench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ attr_cache:
azstorage:
mode: msi
container: { 0 }
account-name: { STO_ACC_NAME }

0 comments on commit c4e9b8c

Please sign in to comment.