The integration tests are failing due to a lack of an Integration environment (Azure DevOps Services instance) and related API key.
In order to resolve the integration tests, the following variables need adding to the build/pipeline:
AzureDevOps.Integration.ApiUri
AzureDevOps.Integration.Pat (set as sensitive variable)
... and...
- the ApiUri value needs setting to a URI of an Azure DevOps organization (e.g.
https://dev.azure.com/someOrganizationName/_apis/) where the organization will be torn down and recreated each time (i.e. don't use this organization for anything you want to keep! 😁) ... there also has to be some consideration to ensure that multiple sets of integration tests can't run similtaniously against the same instance (not sure how that would be handled, initially - not sure if you want to create a new organization for every build? ... I think there is a limit).
- the ApiKey value needs setting to a key with permissions to effectively do anything within the organization used so the DSC resources can be applied into it.
Originally posted by @SphenicPaul in #7 (comment)
The integration tests are failing due to a lack of an Integration environment (Azure DevOps Services instance) and related API key.
In order to resolve the integration tests, the following variables need adding to the build/pipeline:
AzureDevOps.Integration.ApiUriAzureDevOps.Integration.Pat(set as sensitive variable)... and...
https://dev.azure.com/someOrganizationName/_apis/) where the organization will be torn down and recreated each time (i.e. don't use this organization for anything you want to keep! 😁) ... there also has to be some consideration to ensure that multiple sets of integration tests can't run similtaniously against the same instance (not sure how that would be handled, initially - not sure if you want to create a new organization for every build? ... I think there is a limit).Originally posted by @SphenicPaul in #7 (comment)