Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow staging cli tests to execute against custom url #543

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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