Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Commit 1773e35

Browse files
feat: Support EndpointConfigName in deploy model command
1 parent c9e9235 commit 1773e35

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

src/commands/deploy_endpoint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ parameters:
3030
description: Enable scaling release components on circleci
3131
type: string
3232
default: "true"
33+
endpoint_config_name:
34+
description: Existing endpoint config name
35+
type: string
36+
default: ""
37+
endpoint_name:
38+
description: Existing endpoint name
39+
type: string
40+
default: ""
3341
steps:
3442
- run:
3543
name: Create or Update endpoint
@@ -44,5 +52,7 @@ steps:
4452
REGION_NAME: << parameters.region_name >>
4553
RESTORE_VERSION_ENABLED: << parameters.enable_restore_version >>
4654
SCALE_COMPONENT_ENABLED: << parameters.enable_scaling_component >>
55+
ENDPOINT_CONFIGURATION_NAME: << parameters.endpoint_config_name >>
56+
ENDPOINT_NAME: << parameters.endpoint_name >>
4757
command: |
4858
cci-sagemaker sagemaker upsert-endpoint

src/jobs/deploy_endpoint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ parameters:
3434
description: Enable scaling release components on circleci
3535
type: string
3636
default: "true"
37+
endpoint_config_name:
38+
description: Existing endpoint config name
39+
type: string
40+
default: ""
41+
endpoint_name:
42+
description: Existing endpoint name
43+
type: string
44+
default: ""
3745
steps:
3846
- setup
3947
- deploy_endpoint:
@@ -46,3 +54,5 @@ steps:
4654
region_name: << parameters.region_name >>
4755
enable_restore_version: << parameters.enable_restore_version>>
4856
enable_scaling_component: << parameters.enable_scaling_component>>
57+
endpoint_config_name: << parameters.endpoint_config_name >>
58+
endpoint_name: << parameters.endpoint_name >>

0 commit comments

Comments
 (0)