Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
Out of all the Blueprint types, only VMs have Plugin support.

Create your Plugin

...

Plugins are Docker containers that perform pre-defined tasks and are configured as steps in your pipeline. Plugins can be used to deploy code, publish artifacts, send notification, and more.

To create a plugin:

  1. Login to the HyperCloud™ Platform(HCP) with your credentials.

  2. Click on Services Orchestration  > Click Appstore > Click on Plugins > Click on New > Select plugin type e.g. Shell.

  3. Enter the following details for your new shell script plugin:

    1. Enter the name.

      1. Click on the +Advance Configuration

      2. Enter the Version.

      3. Enter a brief description for your new shell script plugin.

      4. Select the License from the drop-down list.

      5. Enter the Timeout

      6. In the scripts text box enter the command as  #!/bin/bash

      7. To update your packages:
        echo "Updating OS packages"
        sudo apt-get update && sudo apt-get upgrade -y || yum update -y
        echo "Ping Test to Google DNS Server"
        ping $IP_ADDRESS -c 8|

      8. Click on Arguments+ to enter the arguments for your shell script plugin.

        1. The arguments key is: IP_ADDRESS Value: 8.8.8.8

        2. To your entitled users are:

          1. To allow all users within the same tenant to access this Blueprint, Click on Everyone

          2. To allow all users in all tenants (current or future) to access this Blueprint, Click on All Tenants

          3. To allow specific users to access this blueprint, Click on Users & Groups

          4. In the users Text Box: Type the first alphabet of a username you would like to add & select the user

          5. In the Groups Text Box: Type the first alphabet of a group name you would like to add and select the group.

  4. Click Save Changes.

Note: HyperCloud will replace all occurrence of $IP_ADDRESS in the plugin with the value 8.8.8.8. However, HyperCloud will ignore ${IP_ADDRESS} if used in the plugins.

Now you have created your new plugin with a unique REFERENCE ID for e.g. Q5G9A

In the same way plugins can be created for running Perl, python, ruby scripts as well as puppet automation.