Nigel  Uys

Nigel Uys

1652163300

Covergates: The Portal Gates to Coverage Reports

 Covergates - Portal Gates to Coverage Reports    

card

Purpose

Covergates is to make the easiest way to setup a self-hosted coverage report service. It's an alternative to services, such as:

The reason why this project is because managing coverage reports for private repositories should not be hard! It is able to link with your self-hosted Git service. Use it to improve coding review and quality management flow for your internal projects. Want to try? Visit covergates.com before you starting.

Using

To get started, please download prebuilt binary covergates-version-platform-architecture.zip and try:

unzip covergates-<version>-<platform>-<architecture>.zip
./covergates-server

Visit http://localhost:8080 for your covergates service.

To upload report, run covergate cli:

export API_URL=http://localhost:8080/api/v1
covergates upload -report <report id> -type go coverage.out

Configure

covergates-server uses environment variables to change configurations. Below is the list of variables for basic configuration:

  • GATES_SERVER_ADDR Default http://localhost:8080
  • GATES_SERVER_BASE Default /
  • GATES_DB_DRIVER Default sqlite3. Other options are postgres and cloudrun
  • GATES_DB_HOST Required host for postgres and cloudrun
  • GATES_DB_PORT Required port for postgres and cloudrun
  • GATES_DB_USER Required user forpostgres and cloudrun
  • GATES_DB_NAME Required database name for postgres and cloudrun
  • GATES_DB_PASSWORD Required password for postgres and cloudrun
  • GATES_GITEA_SERVER Default https://try.gitea.io/, gitea server address
  • GATES_GITEA_CLIENT_ID Required for Gitea OAuth login
  • GATES_GITEA_CLIENT_SECRET Required for Gitea OAuth login
  • GATES_GITHUB_SERVER Default https://github.com
  • GATES_GITHUB_API_SERVER Default https://api.github.com
  • GATES_GITHUB_CLIENT_ID Required for GitHub OAuth login
  • GATES_GITHUB_CLIENT_SECRET Required for GitHub OAuth login

Supported SCM and Language

SCMSupported
GitHub:heavy_check_mark:
Gitea:heavy_check_mark:
GitLab:heavy_check_mark:
Gogs:x:
Bitbucket:x:
LanguageSupportedTutorial
Go:heavy_check_mark:go-example
Perl:heavy_check_mark::wrench:, ongoing
Python:heavy_check_mark::wrench:, ongoing
Ruby (SimpleCov: RSpec):heavy_check_mark::heavy_minus_sign:
lcov (C, C++, Javascript):heavy_check_mark::heavy_minus_sign:
Clover (PHP):heavy_check_mark::heavy_minus_sign:
Java (Jacoco):wrench:, ongoing:heavy_minus_sign:

Covergates is at an early development stage. Other languages and SCM support is ongoing! If you would like to assist with development, please refer to Contributing Section.

Development

The build is split into backend, cli and frontend. To build backend, run:

go build -o covergates-server ./cmd/server

To build CLI, run:

export SERVER_API_URL=http://localhost:8080/api/v1
go build -o covergates -ldflags="-X main.CoverGatesAPI=$SERVER_API_URL" ./cmd/cli

You may change SERVER_API_URL to your self-hosted covergates-server address.

If your are behind firewall or proxy, you may also download source package with vendor modules from covergates.version.src.zip . To build with vendor modules, run:

go build -o covergates-server -mod vendor ./cmd/server

To build frontend, it requires:

  1. Node.js v12
  2. togo

Read web/README.md for more details.

Contributing

It would be highly appreciated if you could contribute to the project. There are many ways in which you can participate in the project:

Contributing directly to the code base

The expected workflow is GitHub flow. Read CONTRIBUTING.md before getting start.

Submit feature requests and bugs

Especially for the new language support. It would be great if you could provide coverage report examples and how to produce coverage for other languages.

Testing, both unit testing and e2e testing are welcome.

Further Information

For more information and tutorial about self-hosted Covergates server, please refer to our documentation

Milestones

Refer to TODO.md for details.

Screenshots

report

files

setting

pull request

Author: Covergates
Source Code: https://github.com/covergates/covergates 
License: GPL-3.0 license

#go #golang #typescript 

What is GEEK

Buddha Community

Covergates: The Portal Gates to Coverage Reports
Origin Scale

Origin Scale

1623050424

Dashboard Reporting Software

Accurate and fast reporting with originscale dashboard reporting software. Run faster, smarter operations with help from dozens of easy-to-use online reports. Try for Free Demo Today

#dashboard reporting software #reporting dashboard software #dashboard reporting tool #dashboard reporting #inventory report dashboard

Bella Garvin

Bella Garvin

1624161311

Job Portal Development Company

We at Orbit Edge are a well-noted and trusted job portal development company. We create applications that are simple to learn and simple to use. Our committee of job portal application developers is passionate about providing complex solutions for job portal apps. They are experts in providing effective and robust applications to match your business necessities.

#job portal development #job portal app development #online job-portal development #job portal development company #job portal application development

Bella Garvin

Bella Garvin

1624160542

Job Portal Development Company

Are you looking to develop a job portal or job search app? We at Orbit Edge are a well-noted and trusted job portal development company. We create applications that are simple to learn and simple to use. Our committee of job portal application developers is passionate about providing complex solutions for job portal apps. They are experts in providing effective and robust applications to match your business necessities.

#job portal development #job portal app development #online job-portal development #job portal development company #job portal application development

Bella Garvin

Bella Garvin

1624809316

Job Portal Development Services

Orbit Edge offers trusted job portal development services that provide job portal app development service for a diversity of customers including corporate organizations, large businesses, recruiting & placement companies, colleges, and educational organizations, In such a method that every stakeholder including, recruiters, work seekers, and HR team can obtain the best staffing entrance characteristics.

#job portal development #job portal app development #online job-portal development #job portal website development #job portal application development

Bella Garvin

Bella Garvin

1627041389

Top 10 Online Job Portal App Development Companies 2021–22

Job portal apps facilitate numerous daily operations of the recruiters and help them to save their time and money. I am sure you all have heard about the job portals app like Naukari which is a one-stop destination for all the job-related aspects.

#job portal development #job portal app development #online job-portal development #job portal website development #job portal application development