Steps/Runbook
-
Add the workflow file present at /.github/workflows/export-model.yml to the model project. The workflow uses the scripts from the repo https://github.com/ddl-udaysk/domino-sagemaker-github-actions
-
Create the secrets listed below :
AWS_ACCESS_KEY_ID -> AWS access key
AWS_SECRET_ACCESS_KEY -> AWS secret
CODE -> GITHUB person access token

-
Create the variable listed below :
MODELNAME -> Model name
PROJECT_NAME -> Project name in domino
USER_API_KEY -> Domino User api Key

-
Create a branch of the model project and work on the branch to develop the model in domino using domino workspaces
-
Merge the branch to the main to start the github actions and the logs should have the api to be used. You can test the endpoint using Curl as show below:
curl https://r039xwjush.execute-api.us-west-2.amazonaws.com/api/api -H 'Content-Type: application/json' -d '{"data": {"start": 1, "stop": 100}}'
Please note that we need to /api to the endpoint that we get from the logs.

