Enhance Code Studios Templates APIs to support automated administration

Turribeach
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,155 Neuron

Hi,

The current Code Studios Templates APIs (see links below) don't support certain capabilities that we need. We would like to have Python APIs to:

  1. Obtain the full list of build IDs related to a Code Studios Template as shown in the Code Studios Template ⇒ Build History ⇒ Show Build drop down. This is needed to be able to perform ECR images clean up when Code Studios Templates get removed from the platform. In ECR it is not possible to see what images are being used and what images can be purged. It will also enable us to tag Code Studios Template images in our ECR with the curresponding environment name (as we have multiple environments in our ECR and Code Studios Template images don't have any tag indicating where they were built) so we can identify which images below to which environment.
  2. Set the build IDs / ECR image that the Code Studios Template will use in ECR when it starts a Code Studio. This is to allow for a quick Code Studios Template image rollback if we find an issue with the new Code Studios Template image. It may also not be possible to rebuild a Code Studios Template image with the previous settings hence why rollback to a previously built image is a much safer/quicker alternative

https://developer.dataiku.com/latest/api-reference/python/code-studios.html#dataikuapi.dss.admin.DSSCodeStudioTemplate

https://developer.dataiku.com/latest/api-reference/python/code-studios.html#dataikuapi.dss.admin.DSSCodeStudioTemplateListItem

https://developer.dataiku.com/latest/api-reference/python/code-studios.html#dataikuapi.dss.admin.DSSCodeStudioTemplateSettings

2
2 votes

New · Last Updated

Setup Info
    Tags
      Help me…