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

[FarmBeats, Test] Hardcoded endpoint for statically set up resource #19198

Merged

Conversation

agniveshadhikari
Copy link
Contributor

Set up resource and assigned the right role to the test principal.

Removed the deployment of farmbeats instance and the role assignment from the template, and hardcoded the endpoint for the resource above into the outputs from the template.

@agniveshadhikari
Copy link
Contributor Author

@benbp cc

],
"outputs": {
"AGRIFOOD_ENDPOINT": {
"type": "string",
"value": "[reference(resourceId('Microsoft.AgFoodPlatform/farmbeats', variables('resourceName'))).instanceUri]"
"value": "https://internal-sdk-live-test-py.farmbeats.azure.net"
Copy link
Member

Choose a reason for hiding this comment

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

Does the test identity have access to this resource?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, gave it access.

@agniveshadhikari
Copy link
Contributor Author

@lmazuel We are also ready to merge this

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

due to low time resolution on server
@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - test

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@agniveshadhikari
Copy link
Contributor Author

/azp run python - agrifood - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@iscai-msft iscai-msft merged commit 0549bec into Azure:main Jun 22, 2021
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