Deployment hooks should be able to have an impact on the status of project deployments.

Grixis
Grixis PartnerApplicant, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 80 ✭✭✭✭✭

Hello,

We have found that the post-deployment hooks have no impact on the project status on the deployer at this time.We have a confirmation from dataiku support.

In other words, if you deploy a dataiku project in an automation node infrastructure, if you have configured post-deployment operations by creating hooks in the instance's policy settings.
The results of these operations are not linked to the project in the deployer.

For example, if you activate a hook to build project scenarios when they are deployed, you will see that they are executed during the project update and if the scenarios fail, the update is interrupted. However, the project status will indicate that the deployment went smoothly and that the underlying bundle is HEALTHY, even though its deployment has in fact stopped.

0
0 votes

In the Backlog · Last Updated

We are taking that into account definitely. With the idea that, as said, that the post-deployment status can only be 'Healthy'. But we are thinking of adding a historical view of past updates, where you would easily see that the last deployment ended up in Warning because of a post-hook failure

Comments

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

    I am not sure if I understand what the issue is here. If it is a post deployment hook why do you expect the hook to affect the deployment if the deployment has already happened? What is your use case?

  • Grixis
    Grixis PartnerApplicant, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 80 ✭✭✭✭✭

    Hey @Turribeach ,

    In uses-cases where hooks would test the functional aspects of the projects beyond the params and settings of the deployed projects (predeployed control).
    For example, if you add control/smoke/test build of your project as a post deployment hook.

    When a project is updated on the infrastructure, this automatically triggers post-deployment control steps and can result in a failure but for now, this result is not considered. Why not add the error (or warning) message by display the postHookResult Status as error or succes and apply a rule or something on the general health to the related project.

Setup Info
    Tags
      Help me…