For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dinghyfiles with defined Application Permissions fails to create/update pipelines (Forbidden Error)

Issue

Customers that define application permissions via Dinghy may encounter an issue where it fails to create and update applications and pipelines.

{
  "application": "fiat-dinghytest",
  "spec": {
    "appmetadata": {
      "permissions": {
        "READ": [
          "spin-admin-test"
        ],
        "WRITE": [
          "spin-admin-test"
        ],
        "EXECUTE": [
          "spin-admin-test"
        ]
      } 
    }
  },
  "pipelines": [
      {
          "application": "fiat-dinghytest”,
          "name": "DinghyValidation-Tests",
          "keepWaitingPipelines": false,
          "limitConcurrent": true,
          "stages": [
              {
                  "name": "Wait",
                   "refId": "1",
                   "requisiteStageRefIds": [],
                   "type": "wait",
                   "waitTime": 30
               }
           ],
           "triggers": []
      }
  ]
}

The following errors may be found in the Dinghy logs.

Cause

The cause of this issue is due to Dinghy not having a Service Account/Fiat User assigned to it with adequate permissions. As a result, after the application and pipeline are created initially, an update fails because there are inadequate permissions to do so

Last updated

Was this helpful?