This PR adds a CI/CD pipeline using Github Actions for linting (using flake8) and building the Django app. It also implements a pre-commit approach at the linting phase. Additionally, it includes a CD pipeline to deliver the app to DockerHub.
Summary of Changes
Added a Github Actions workflow file (.github/workflows/ci_cd.yml) to define the CI/CD pipeline.
Installed flake8 and added linting steps in the workflow to check the code for linting errors.
Added steps in the workflow to build the Django app.
Added steps in the workflow to push the built app to DockerHub for deployment.
Created a .flake8 file to configure flake8 for linting.
Created a .pre-commit-config.yaml file to configure pre-commit for linting.
Modified requirements.txt to include flake8 as a requirement.
Fixes #6.
π Latest improvements to Sweep:
Getting Sweep to run linters before committing! Check out Sweep Sandbox Configs to set it up.
Added support for self-hosting! Check out Self-hosting Sweep to get started.
[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using VECTOR_EMBEDDING_SOURCE
π‘ To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
PR Feedback (click)
Description
This PR adds a CI/CD pipeline using Github Actions for linting (using flake8) and building the Django app. It also implements a pre-commit approach at the linting phase. Additionally, it includes a CD pipeline to deliver the app to DockerHub.
Summary of Changes
Fixes #6.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: