Skip to content

Commit

Permalink
do env var replacement for endpoint to test
Browse files Browse the repository at this point in the history
  • Loading branch information
morde08 committed Jul 17, 2024
1 parent 0a2d75c commit e638bb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/performance-tests/art.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config:
target: "http://localhost:9545"
target: "-=endpoint_to_test=-"
phases:
- duration: 300
arrivalRate: 400
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-nightly-performance-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
env:
CLOUDFLARE_UUID: ${{ secrets.CLOUDFLARE_UUID }}
run: |
# Replace -=endpoint_to_test=- placeholder in the art.yaml file with the endpoint_to_test value
sed -i "s/-=endpoint_to_test=-/${endpoint_to_test}/g" .github/actions/performance-tests/art.yaml
echo "CLOUDFLARE_UUID=${{ secrets.CLOUDFLARE_UUID }}" >> ${GITHUB_ENV}
# Replace -=CLOUDFLARE_UUID=- placeholder in the art.yaml file with the correct value
sed -i "s/-=CLOUDFLARE_UUID=-/${CLOUDFLARE_UUID}/g" .github/actions/performance-tests/art.yaml
Expand Down

0 comments on commit e638bb8

Please sign in to comment.