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

Update dcap-artifact-retrieval PCCS provider tests #687

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Taowyoo
Copy link
Collaborator

@Taowyoo Taowyoo commented Jan 24, 2025

  • Load url from env for pccs provider tests.
  • Run these tests only when url is provided by env var PCCS_URL.

mzohreva
mzohreva previously approved these changes Feb 4, 2025
- load url from env for pccs provider test
- run these tests only when env val is provided
@Taowyoo Taowyoo force-pushed the yx/setup_pccs_test branch from f9a5b9f to 2d035c3 Compare February 4, 2025 06:52
@Taowyoo Taowyoo enabled auto-merge February 4, 2025 06:52
static PCCS_URL: OnceLock<String> = OnceLock::new();

fn pccs_url_from_env() -> String {
let api_key = std::env::var("PCCS_URL").expect("PCCS_URL must be set");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the api_key name appropriate?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch will fix it

.github/workflows/build.yml Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants