-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Remove or fix azure* environment variables in live tests #37815
Conversation
/azp run python - storage - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
656f930
to
fc7a315
Compare
/azp run python - keyvault - tests-weekly |
Azure Pipelines successfully started running 1 pipeline(s). |
sdk/storage/tests.yml
Outdated
@@ -31,4 +31,4 @@ extends: | |||
EnvVars: | |||
AZURE_SKIP_LIVE_RECORDING: 'True' | |||
AZURE_TEST_RUN_LIVE: 'true' | |||
AZURE_SUBSCRIPTION_ID: $(azure-subscription-id) | |||
AZURE_SUBSCRIPTION_ID: $(STORAGE_SUBSCRIPTION_ID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this set automatically? Do we need to set it explicitly? It seems like you removed it in most other places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The AZURE
prefix variables are not set automatically. I removed it in places where the test code has no reference to it (i.e. where it was only used for EnvironmentCredential in the past).
/azp run python - keyvault - tests-weekly |
/azp run python - storage - tests-weekly |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
test |
/check-enforcer evaluate |
2291ad7
to
e83a7a2
Compare
e83a7a2
to
600efac
Compare
${{ insert }}: ${{ parameters.EnvVars }} | ||
inputs: | ||
azureSubscription: ${{ parameters.ServiceConnection }} | ||
azureSubscription: azure-sdk-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to retire this connection so lets prefer azure-sdk-tests-public fi these can run in TME.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are for the samples tests which in some cases still rely on static resources in the old subscription, same deal as with Java where we decided not to migrate for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought samples had their own arm templates if we were running them live. We should definitely be careful using static resources for testing samples as these are meant to be copy/pasted by customers.
API change check API changes are not detected in this pull request. |
Remove or fix azure* environment variables in live tests