Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
/ AMLWorkspace Public archive

This GitHub Action allows you to connect to your Workspace.

License

Notifications You must be signed in to change notification settings

marvinbuss/AMLWorkspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Machine Learning Workspace Action

Usage

The Azure Machine Learning Workspace action will allow you to connect to a remote workspace so you can later run your Machine Learning experiments remotely, create production endpoints etc. If the workspace exists, it will connect to it, otherwise the action will create a new workspace. You will need to have azure credentials that allow you to create and/or connect to a workspace. The action will output a config file that needs to be passed to the next AML actions if you are looking to chain more than one AML action together.

Example workflow

name: My Workflow
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Run action

      # AML Workspace Action
    - uses: azure/AMLWorkspace@master
      # required inputs as secrets
      with:
        azureCredentials: ${{ secrets.AZURE_CREDENTIALS }}

Inputs

Input Description
AZURE_CREDENTIALS Output of az ad sp create-for-rbac --name <your-sp-name> --role contributor --scopes /subscriptions/<your-subscriptionId>/resourceGroups/<your-rg> --sdk-auth. This should be stored in your secrets

Parameter File

A sample file can be found in this repository in the folder .aml. The action expects a similar parameter file in your repository in the .aml folder.

Parameter Name Required Allowed Values Description
createWorkspace x bool: true, false Create Workspace if it could not be loaded
name x str For more details please read here
friendlyName str
createResourceGroup bool: true, false
location str: supported region
sku str: "basic", "enterprise"
storageAccount str: Azure resource ID format
keyVault str: Azure resource ID format
appInsights str: Azure resource ID format
containerRegistry str: Azure resource ID format
cmkKeyVault str: Azure resource ID format
resourceCmkUri str: URI of the customer managed key
hbiWorkspace bool: true, false

Outputs

Output Description
azureml/aml_arm_config.json configurations to be passed to additional steps for using the workspace

About

This GitHub Action allows you to connect to your Workspace.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published