Skip to content
/ gazr Public

gazr, pronounced "Gather", is an opinionated way to launch common tasks on your project.

Notifications You must be signed in to change notification settings

gazr-io/gazr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gazr

gazr, pronounced "Gather", is an opinionated way to launch common tasks on your project. Know more on https://gazr.io.

See code examples

Story

Developers live in a technological world which is rapidly evolving. With the move to microservices, they need to constantly switch between projects, technologies, programming languages, frameworks and more.

Dailymotion one

At dailymotion, they care about the well being of their engineers, as they work over 500+ repositories, developed with more than 50 different technological stacks. Gazr is an approach to deal with the complexity of their codebase.

Foundation

  • A Container runtime as the only dependency on developer's laptop.
    Docker provides a full integration with Mac, Windows & Linux (ubuntu).
  • Using generic task names to launch common actions.
  • Letting developers use the technologies & libraries they want.
  • Simplifying technical on-boarding.
  • Simplifying switching between projects.

Tasks specification through Makefile

make init
# Bootstrap your application (fetch some data files, make some API calls, request user input etc...)

make style
# Check lint, code styling rules. e.g. pylint, phpcs, eslint, style (java) etc ...

make complexity
# Cyclomatic complexity check (McCabe), radon (python), eslint (js), PHPMD, rules (scala) etc ...

make format
# Format code. e.g Prettier (js), format (golang)

make test
# Shortcut to launch all the test tasks (unit, functional and integration)

make test-unit
# launch unit tests. e.g. pytest, jest, phpunit, JUnit etc...

make test-functional
# launch functional tests. e.g behat, JBehave, Behave, CucumberJS, Cucumber etc...

make test-integration
# launch integration tests. e.g pytest, jest, phpunit etc...

make security
# Shortcut to launch all the security tasks (security-sast, security-dependency-scan)

make security-sast
# launch static application security testing (SAST). e.g Gosec, bandit, Flawfinder, NodeJSScan, phpcs-security-audit, brakeman.

make security-dependency-scan
# launch a dependency scanning to trigger know vulnerabilities. e.g Retire.js, gemnasium, bundler-audit.

make run
# Locally run the application, e.g. node index.js, python -m myapp, go run myapp etc ...

make watch
# Hot reloading for development.

make build
# Build the application

More details on the website.

About

gazr, pronounced "Gather", is an opinionated way to launch common tasks on your project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published