Skip to content

Commit

Permalink
allow staging cli tests to execute against custom url (#543)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Warren <[email protected]>
  • Loading branch information
mattwwarren and Matthew Warren authored Sep 19, 2023
1 parent 5aff29f commit 2fdc9e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test-staging-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
description: Value of the RUST_BACKTRACE variable (default no backtrace)
type: string
default: "0"
serverUrl:
description: The CloudTruth server URL to use for testing
type: string
default: https://api.staging.cloudtruth.io
secrets:
CLOUDTRUTH_API_KEY:
description: "Staging API Key"
Expand All @@ -30,7 +34,7 @@ env:
# ID to append to test data to avoid name collisions
JOB_ID: ${{github.repository_id}}-${{github.run_id}}-${{github.run_attempt}}-${{inputs.runsOn}}
RUST_BACKTRACE: ${{ inputs.rustBacktrace }}
CLOUDTRUTH_SERVER_URL: https://api.staging.cloudtruth.io
CLOUDTRUTH_SERVER_URL: ${{ inputs.serverUrl }}
CLOUDTRUTH_API_KEY: ${{ secrets.CLOUDTRUTH_API_KEY }}
TEST_ARCHIVE_FILE: integration-test-${{inputs.runsOn}}.tar.zst

Expand Down

0 comments on commit 2fdc9e7

Please sign in to comment.