The following article provides instructions on how to bootstrap and deploy your DevOps extension project. This article showcases required CloudBlue Connect Command Line Interface (CLI) commands and demonstrates how to successfully configure your extension. Furthermore, the following outlines all tools and programs that are required to start working with your extension project.
In order to bootstrap a new extension project, make sure to install the following tools and programs first:
It is required to prepare your account and define a new extension object on Connect before starting to work with your extension. Specifically, it is required to define a new extension object and access required environment identifier via the DevOps module. Furthermore, use the following instructions to learn how to add your Connect account via the CLI tool.
First, it is required to generate an API token and add your vendor account via the CLI tool.
Create a new token by using the Connect interface:
ccli account add "<your copied token>"
Access the DevOps module to define your extension object on the CloudBlue Connect platform:
Once your required account is activated and your extension object is created on the Connect platform, you can bootstrap your extension project. Use the following Connect CLI command to start your project configuration:
ccli project extension bootstrap
Therefore, the CLI tool will prompt to configure your extension project. Get familiar with the provided introduction and click Next to continue.
The wizard provides the welcome screen and the following options to configure your extension:
Proceed with your extension project configuration as described below.
In order to run your extension locally, it is required to build a docker image for your extension.
Go to the generated project folder and run:
$ docker compose build
Then use the following command to execute your extension:
$ docker compose up <your_extension_slug>_dev
Now go to your extension details page in the Connect UI DevOps module and click the refresh button to see your extension up and running.