Skip to content

Commit b01e8f2

Browse files
committed
Setup baseline
1 parent 5abe2c1 commit b01e8f2

File tree

9 files changed

+1606
-1
lines changed

9 files changed

+1606
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
deployment.yaml

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Coding Kitties
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@ jobs:
3636
- name: Create AML Online Endpoint
3737
uses: coding-kitties/[email protected]
3838
with:
39-
deployment_file: "path/to/deployment.yml"
39+
deployment_yaml_file_path: "path/to/deployment.yml"
40+
model_name: "my-model"
41+
model_version: "1"
4042
resource_group: "my-resource-group"
4143
workspace_name: "my-aml-workspace"
4244
endpoint_name: "my-endpoint"
45+
registry_name: (optional) "my-registry"
46+
registry_resource_group: (optional) "my-registry-resource-group"
4347
traffic: '{ "blue": 80, "green": 20, mirror": {"green": 80} }'
4448
```

action.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: 'Create Azure Machine Learning Deployment'
2+
description: 'Create an Azure Machine Learning Deployment'
3+
author: 'Marc van Duyn'
4+
branding:
5+
icon: 'cloud'
6+
color: 'blue'
7+
8+
inputs:
9+
endpoint_name:
10+
description: 'Name of the endpoint'
11+
required: true
12+
resource_group:
13+
description: 'Azure Resource Group'
14+
required: true
15+
workspace_name:
16+
description: 'Azure ML Workspace Name'
17+
required: true
18+
registry_name:
19+
description: 'Azure Container Registry Name'
20+
required: false
21+
registry_resource_group:
22+
description: 'Azure Container Registry Resource Group'
23+
required: false
24+
model_name:
25+
description: 'Model Name'
26+
required: true
27+
model_version:
28+
description: 'Model Version'
29+
required: true
30+
traffic:
31+
description: 'Traffic'
32+
required: true
33+
deployment_yaml_file_path:
34+
description: 'Path to the deployment.yaml file'
35+
required: true
36+
37+
runs:
38+
using: "node20"
39+
main: "dist/index.js"

0 commit comments

Comments
 (0)