GitHub Action that allows you to deploy machine learning models in Azure Machine Learning.
Перейти к файлу
Marvin Buss d2002ed765 added parameter checks 2020-03-24 20:45:12 +01:00
.github/workflows initial push 2020-03-23 01:10:14 +01:00
.ml/.azure catched exception 2020-03-24 14:55:50 +01:00
code added parameter checks 2020-03-24 20:45:12 +01:00
.gitignore initial push 2020-03-23 01:10:14 +01:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-03-20 02:37:17 -07:00
Dockerfile initial push 2020-03-23 01:10:14 +01:00
LICENSE Initial LICENSE commit 2020-03-20 02:37:18 -07:00
README.md added last options for deployment config 2020-03-23 23:02:07 +01:00
SECURITY.md Initial SECURITY.md commit 2020-03-20 02:37:21 -07:00
action.yml catched exception 2020-03-24 14:55:50 +01:00

README.md

Azure Machine Learning Deploy Action

https://docs.microsoft.com/en-us/azure/templates/Microsoft.ContainerService/2020-02-01/managedClusters?toc=%2Fen-us%2Fazure%2Fazure-resource-manager%2Ftoc.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#managedclusteragentpoolprofile-object

Usage

Description.

Example workflow

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

    steps:
    - uses: actions/checkout@master
    - name: Run action

      # Put your action repo here
      uses: me/myaction@master

      # Put an example of your mandatory inputs here
      with:
        myInput: world

Inputs

Input Description
myInput An example mandatory input
anotherInput (optional) An example optional input

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
myOutput An example output (returns 'Hello world')

Examples

Using the optional input

This is how to use the optional input.

with:
  myInput: world
  anotherInput: optional

Using outputs

Show people how to use your outputs in another action.

steps:
- uses: actions/checkout@master
- name: Run action
  id: myaction

  # Put your action name here
  uses: me/myaction@master

  # Put an example of your mandatory arguments here
  with:
    myInput: world

# Put an example of using your outputs here
- name: Check outputs
    run: |
    echo "Outputs - ${{ steps.myaction.outputs.myOutput }}"    

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Environment variables

  • Container registry address username, password: CONTAINERREGISTRYADRESS, CONTAINERREGISTRYUSERNAME, CONTAINERREGISTRYPASSWORD
  • service primary key, secondary key: PRIMARYKEY, SECONDARYKEY