Cloud Services

Container Cluster Management

Importing existing actions from GitHub
Published On Dec 13, 2024 - 7:43 AM

Importing existing actions from GitHub

Learn how to import actions from Github.
Users can onboard customized or Out-of -the-Box (OOTB) actions using the import from an external source option. All actions contents are applicable to all the Public Cloud providers (AWS, Azure, Google Cloud) and private cloud like vRA . Select this option to import action definitions from your own Github or Kyndryl Github account.
The onboard option can only be performed by the Actions Registry admin.

Importing customized actions from an external source using your local github

This option allows you to import your own actions. Before importing customized actions, make sure to create a github connection and maintain the same structure as the OOTB content.
Action template structure
: The folder structure must contain the path where actions are stored. Each action must include three .json files:
  • action-configuration.json: This file is required if the action type is configuration change.
  • action-definition.json: Set the
    actionConfigParams
    to true if the action type is configuration change
  • action-template.json: This file must have an encoded template and must include the playbook repository path.
Use the following procedure to import from an external source:
  1. From the Kyndryl Modern Operations Applications dashboard, click the
    Main Menu
    .
  2. Select
    Actions
    .
  3. Click
    Actions Onboarding
    .
  4. From the
    Actions Admin
    page, click the
    onboard action +
    button.
  5. Select the following import option:
    Import from external source
    .
  6. Click
    OK
    .
  7. In the
    Select a Content Source to Import Action
    page, click GitHub.  To import Ansible Action metadata, select the GitHub repository.
    Make sure to add the actual playbook path
  8. A
    Multiple accounts detected
    window pop-up.  Select the correspondent
    Account name
    and click
    OK
    .
  9. An
    Import Started
    message confirms the import is underway. Click
    OK
    to acknowledge the message. When the import is complete, a confirmation email is sent  and the action is added in the
    Drafts
    tab of the
    Actions Admin
    page.

Importing OOTB content from Github

Follow the procedure described in
Importing customized actions from an external source using your local github
to import from an external source. When selecting the content source (step 7), make sure to add the playbookRefID (DB reference).
After the action is onboarded, the action is displayed under the draft tab. It is required to publish the onboarded action.
Do you have two minutes for a quick survey?
Take Survey