Skip to content

Inconsistent references to workspace name cause ci pipeline failures  #53

@KBaroni

Description

@KBaroni

During deployment (execution of environment_setup/iac-create-environment.yml), an ML service workspace name is created by concatenating baseName with ‘-AML-WS’. This is done in environment_setup/arm-templates/cloud-environment.json with this line of code: "amlWorkspaceName": "[concat(parameters('baseName'),'-AML-WS')]".

During the ci pipeline build (.pipelines/azdo-ci-build-train.yml), code_test.py is executed and it starts by setting up the workspace parameters. workspace_name is derived from the variable group parameter “AML_WORKSPACE_NAME”. When AML_WORKSPACE_NAME differs from amlWorkspaceName, the tests and ci pipeline fail.

Since AML workspace names do not need to be unique across the service, recommend that the deployment script be changed to use the parameter in the variable group AML_WORKSPACE_NAME rather than derive the name using the BASE_NAME parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions