Skip to content

Commit

Permalink
Update perf-testing-setup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YunchuWang authored Jan 9, 2024
1 parent 5751a82 commit efe0569
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/perf-testing-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Setup k6 for throughput testing
run: |
current_time=$(date -u '+%Y-%m-%dT%H:%MZ')
end=$(date -u -d "$current_time 30 minutes" '+%Y-%m-%dT%H:%MZ' 2>/dev/null || date -u -D '%Y-%m-%dT%H:%MZ' -d "+30 minutes" '+%Y-%m-%dT%H:%MZ')
cd $GITHUB_WORKSPACE
curl https://github.com/loadimpact/k6/releases/download/v0.28.0/k6-v0.28.0-linux64.tar.gz -L | tar xvz --strip-components 1
chmod 755 ./k6
Expand Down Expand Up @@ -100,7 +98,8 @@ jobs:
with:
azcliversion: latest
inlineScript: |
end=$(date -u -d "30 minutes" '+%Y-%m-%dT%H:%MZ' 2>/dev/null || date -u -v+30M '+%Y-%m-%dT%H:%MZ')
current_time=$(date -u '+%Y-%m-%dT%H:%MZ')
end=$(date -u -d "$current_time 30 minutes" '+%Y-%m-%dT%H:%MZ' 2>/dev/null || date -u -D '%Y-%m-%dT%H:%MZ' -d "+30 minutes" '+%Y-%m-%dT%H:%MZ')
sas=$(az storage blob generate-sas \
--container-name 'profiling' \
--name $report_name \
Expand Down

0 comments on commit efe0569

Please sign in to comment.