Skip to content

phantomcyber/dev-cicd-tools

Repository files navigation

dev-cicd-tools

This repo contains tools and scripts to standardize and simplify CI/CD pipelines and developer experience.

Local developer tools setup

It might be beneficial to clone this repo to be adjacent to your apps folders, though not strictly required:

.
├── app1
├── app2
└── dev-cicd-tools

To setup your local dev environment, first you need the following pre-requisites:

Once you've installed the pre-requisites, you can run

make install

Running developer tools

Most of the targets in the Makefile expect the path of the app folder to operate on, specified with APP_FOLDER.

Take a look in the Makefile for the complete list of targets. Some useful commands:

make lint APP_FOLDER=/path/to/app1
make lint-fix APP_FOLDER=/path/to/app1
make semgrep APP_FOLDER=/path/to/app1

pre-commit

The pre-commit folder contains pre-commit hooks for SOAR Connector repos in https://github.com/splunk-soar-connectors. Please refer to https://pre-commit.com/ for details on authoring and installing hooks.