A Django project built using n0tNoah/django-cookiecutter-rest
pip install pre-commit
git init
git clone https://github.com/n0tNoah/django-cookiecutter-rest
pip install -r requirements.txt
python3 manage.py migrate
#optional to start contributing
pip install pre-commit
pre-commit install
python3 manage.py runserver
MIT
Steps:
- Check package dependency/vulnerability issues
- Run Code Analysis (run pre-commit hooks on checkout )
- Run Test Cases
Outcomes:
PASS: Reviewer Should Reject PR and ask dev to fix the issues
FAIL: Merge PR
Steps:
- Check package dependency/vulnerability issues
- Run Code Analysis (run pre-commit hooks on checkout )
- Run Test Cases
Outcomes:
PASS: Trigger Schematic Versioning Tag release (automatic)
FAIL: NA
Steps:
- Checkout Release tag and build container image
- Run Code Analysis (run pre-commit hooks on checkout)
- Run Test Cases
- Perform CodeCov Report
- Perform Sonar-Cube Scan
- Push Container image to ECR/Docker Hub
Outcomes:
PASS: Trigger image build and push to container registery (automatic)
FAIL: NA
Steps:
- Checkout Branch
- Check Package dependency/vulnerability issues
- Run Code Analysis (run pre-commit hooks on checkout)
- Run Test Cases
- Perform CodeCov Report
- Perform Sonar-Cube Scan
Outcomes:
PASS: NA
FAIL: NA