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

change envvar name to skip pki unit tests #3605

Merged
merged 1 commit into from
Jun 5, 2024
Merged

change envvar name to skip pki unit tests #3605

merged 1 commit into from
Jun 5, 2024

Conversation

bitoku
Copy link
Collaborator

@bitoku bitoku commented May 30, 2024

Which issue this PR addresses:

Fixes N/A

What this PR does / why we need it:

Currently to skip the pki tests, which always fail in dev env, you have to set ARO_RUN_PKI_TESTS.
Contrary to the name, if you set it, it skips the tests.

This PR changes the name to the more appropriate and understandable name, and also adds the envvar to env.example because it should be set in the dev env.

Test plan for issue:

Run make unit-test-go in the devenv and confirm that the pki tests are skipped.
Confirm that CI succeeds.

Is there any documentation that needs to be updated for this PR?

N/A

How do you know this will function as expected in production?

N/A

@bitoku
Copy link
Collaborator Author

bitoku commented May 30, 2024

/azp run ci,e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@tsatam
Copy link
Collaborator

tsatam commented May 30, 2024

Can you update the reference to this env var in the CI-RP Dockerfile as well?

RUN ARO_RUN_PKI_TESTS=nope go run gotest.tools/[email protected] --format pkgname --junitfile report.xml -- -coverprofile=cover.out ./...

@bitoku
Copy link
Collaborator Author

bitoku commented May 30, 2024

/azp run ci,e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@bitoku
Copy link
Collaborator Author

bitoku commented Jun 4, 2024

/azp run ci,e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@tiguelu tiguelu merged commit e34a95b into master Jun 5, 2024
20 checks passed
@tiguelu tiguelu deleted the skip-pki-test branch June 5, 2024 18:35
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