Skip to content

Commit

Permalink
load-test: Use CDN backed url for asset when running load-test. (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpotter92 authored Dec 11, 2023
1 parent c680674 commit 9ad2a5d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/load-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ on:
description: File to ingest
type: string
required: true
default: 'https://storage.googleapis.com/lp_testharness_assets/countdown_720p_30fps_2sGOP_noBframes_5min.mp4'
default: 'https://test-harness-gcp.livepeer.fish/countdown_720p_30fps_2sGOP_noBframes_5min.mp4'
region:
description: "(Optional) Single-node test: Region of node to be tested (also needs pod index below). e.g.: mdw"
type: string
Expand All @@ -50,8 +50,7 @@ on:
type: string
required: false
extra-args:
description:
(Optional) Additional arguments to send to load test orchestrator
description: "(Optional) Additional arguments to send to load test orchestrator"
type: string
required: false
jobs:
Expand Down Expand Up @@ -166,12 +165,12 @@ jobs:
fi
fi
echo "::set-output name=api-server::${API_SERVER}"
echo "::set-output name=api-token::${API_TOKEN}"
echo "::set-output name=streamer-base-url::${STREAMER_BASE_URL}"
echo "::set-output name=playback-base-url::${PLAYBACK_BASE_URL}"
echo "::set-output name=playback-manifest-url::${PLAYBACK_MANIFEST_URL}"
echo "::set-output name=playback-jwt-private-key::${PLAYBACK_JWT_PRIVATE_KEY}"
echo "api-server=${API_SERVER}" >> "${GITHUB_OUTPUT}"
echo "api-token=${API_TOKEN}" >> "${GITHUB_OUTPUT}"
echo "streamer-base-url=${STREAMER_BASE_URL}" >> "${GITHUB_OUTPUT}"
echo "playback-base-url=${PLAYBACK_BASE_URL}" >> "${GITHUB_OUTPUT}"
echo "playback-manifest-url=${PLAYBACK_MANIFEST_URL}" >> "${GITHUB_OUTPUT}"
echo "playback-jwt-private-key=${PLAYBACK_JWT_PRIVATE_KEY}" >> "${GITHUB_OUTPUT}"
- name: Load Test
run: webrtc-load-tester orchestrator ${{ inputs.extra-args }}
Expand Down

0 comments on commit 9ad2a5d

Please sign in to comment.