Skip to content

This repository illustrates the logsight.ai Stage Verifier via GitHub Actions

Notifications You must be signed in to change notification settings

jorge-cardoso/hello-logsight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👋 Hello logsight.ai from GitHub Actions

Continuous Verification and Testing are important phases of software delivery. This repo described how logsight.ai can be used to add Quality Gates to a CI/CD pipeline build with GitHub Actions.

We use the Stage Verifier service from logsight.ai since it enables to analyze and compare log files generated by differente versions of an application.

Use Case

  • You are collaborating on changes to a repository using your own branch
  • You create a pull request to propose a new feature
  • Before merging the changes, the CI/CD triggers a continuous verification gate
drawing
  • Logsight Stage Verifier analyzes the logs generated by the two applications / branches
  • The deployment risk score is ⚠️ 78%
  • Since the risk is high, the merge is automatically cancelled and a GitHub Issue is created

For the impatient

To try the simplicity and transparency of using Logsight, we recommend you to follow the instructions directly from our Hello Logsight tutorial

  1. Fork the hello-logsight repository
drawing
  1. Go to Pull Requests and create a New pull request
drawing
  1. In the compare drop-down list, set compare: candidate
drawing
  1. Create pull request
drawing
  1. The continuous verification gate runs
drawing
  1. If the verification fails:bangbang:, a report is created with the deployment risk. The report is available under GitHub Issues.
drawing

Github Report

The following image gives an example of a report created by the CI/CD Stage Verifier gate:

drawing

Logsight.ai Report

You can also view a more detailed report of the verification using the online service. You need to have a logsight.ai user account.

To access the report, select the Detailed onine report link shown in the Github Report.

drawing

👋 Goodbye

The hello-logsight example ends here. You can get more in-depth knowledge about the actions and how to use them at docs.logsight.ai

About

This repository illustrates the logsight.ai Stage Verifier via GitHub Actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%