This page is an overview of what you need to do to onboard your CI/CD systems and tools and maintain a single pane of solution on Opsera.
...
Solution - 1
Customers who already have tools running in their own Instance and want to integrate with Opsera
Solution - 2
Customers who don’t have tools in place and want to integrate directly with Opsera
Solution -1: Customers who already have tools:
Jenkins
...
Install Logstash plugin and add point to https://customerdomain-logstash.opsera.io
Login to Jenkins > Manage Jenkins > Manage Plugins > search for logstash plugin and install.
Screenshot :
Login to Jenkins > Manage Jenkins > Configure > Under Logstash
Index : Elasticsearch
(Leave Username and password blank)
...
Follow the below process to configure the Webhook.
Log into Opsera Portal and select Tool Registry from left navigation. | Click + New Tool Button to add a tool. |
Once you click Add Tool, a popup will be displayed. Type Jenkins Tool Name in the Tool Name input and Type Jenkins as Tool Identifier in the dropdown. Once you click Create tool from the Modal Popup, Choose your Tool Name from the Main Tool Registry screen. Then, Click the Connections TAB to enter all the below fields. Hit Save Button once you are done. With these steps completed, now Log into Jenkins Tool to complete below steps. | Click the Create Tool Button once you have completed previous inputs in the popup. |
Log into Jenkins | Click Manage Jenkins |
In the Manage Jenkins page, Choose Notification | Once you select the Job and click install, Jenkins Installation will start as shown below. |
Once Installation is complete, Jenkins will restart. | Once the Restart is completed, Click Configure from left Navigation. |
Goto Job Notifications TAB and enter the Webhook URL | Now you have completed all the steps required. Once you run any job via Jenkins on your end, Analytics will be available at Opsera Portal. |
Sonarqube
From the sonarqube dashboard,
Create a user and token with and share it with via opsera portal.
User > My Account > Security
Screenshot : Fig 2
(we (Opsera team) are manually setting logstash environment variable)
Customer to add Webhook to send data to https://customerdomain-logstash.opsera.io
During onboarding process, email will be sent to customer with Logstash URL
Login to sonarqube dashboard
Administration > configuration > webhooks > create
Screenshot : sonar-add-webhook.png
Enter logstash URL and create
To Unsubscribe, from sonarqube,
Administration > configuration > webhooks >Delete.
Screenshot : sonar-add-webhook.png
...
Login into gitlab
Select project > Settings(left panel) > Webhook >
Add webhook to send all events to logstash
Screenshot : gitlab-add-webhook.png
...
Codeship
Add webhook and point to
Login to codeship dashboard > projects > “select your project” > Project settings (top-right) > Notifications >
Create user with read privileges and share username and password with opsera via email
Screenshot : Screenshot : codeship-add-webhook.png
Solution -2: Customers who don’t have tools installed
Tool Jenkins
Goto Platform page (https://opsera.io)
Create an application name
Select the tools you want to integrate and hit submit.
Once you submit, Email will be sent with Tool/URL information. This will take approximately 15 mins.
Logstash plugin and Filebeat is automatically configured by java-microservice.
ELK stack and DB details will be sent via email.
...