Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Implement Github Actions CI/CD Pipeline #465

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

maheshkasabe
Copy link

@maheshkasabe maheshkasabe commented Jun 3, 2023

Purpose

This project aims to stabilize the project and its code repository as there are multiple dependencies so, this will also help in reducing problems and blockers while setting up this project locally and also setting up the pipeline and checks for the PR to be merged into the master.

Abstract

Graphspace dependency issues

Resolve blockers and issues while setting up GraphSpace locally and running this project for eg. upgrading versions of some libraries, resolving requirements.txt file by adding all remaining libraries, installation issues, etc.

Create a Dockerfile

Creating a docker file for this project which provides a suitable environment for running this project with all required dependencies. Create a docker-compose file that helps us to run this project in Github action workflows and create this image and also helps us to run this locally with minimal setup.

Setup GitHub Actions

Set up the workflow for the GitHub actions which will provide a suitable environment for running this project and no PR can be merged without the jobs and checks being successful in the workflow. On every pull request and for every commit in the PR, the GitHub actions should trigger all the workflows and jobs written for this project.

Support Added

Run Graphspace Locally with Postgres & Elasticsearch using the docker-compose file

download

Added a Deploy workflow to succesfully deploy the Docker image to AWS ECR Instance

cicd

ECR_Deploy

Other Workflows

1) Deploy Image to Dockerhub as soon as something gets merged to master branch

Dockerhub_deploy

2) Issue Labeler: labels issue as soon as somebody creates an issue (labels issue with the issue description)

Issue_labeler

3) Pull_Request Labeler: Labels PR with the no of lines and branch name head

PR_labeler

4) Adds Reviewer as soon as somebody creates a Pull Request on the repository

Reviwers

5) Trivy Scanner to scan docker image and print out the results

Trivy_Scanner

@maheshkasabe maheshkasabe changed the title [WIP] Github Actions CI/CD Pipeline [WIP] Implement Github Actions CI/CD Pipeline Jun 6, 2023
@maheshkasabe maheshkasabe force-pushed the actions-pipeline branch 3 times, most recently from cc9c3f6 to 159dd03 Compare June 24, 2023 13:36
@maheshkasabe maheshkasabe force-pushed the actions-pipeline branch 2 times, most recently from 8547d84 to acf602b Compare July 17, 2023 16:09
@maheshkasabe maheshkasabe deleted the actions-pipeline branch November 22, 2023 06:03
@maheshkasabe maheshkasabe restored the actions-pipeline branch February 11, 2024 13:30
@maheshkasabe maheshkasabe reopened this Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants