Skip to content

AzureDevOpsDsc: Running integration test in pipeline #9

@johlju

Description

@johlju

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backlog - Mid TermBacklog - Mid TermenhancementThe issue is an enhancement request.help wantedThe issue is up for grabs for anyone in the community.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions