forked from itsfourthidiot/ira
-
Notifications
You must be signed in to change notification settings - Fork 0
CI CD pipeline using GitHub Actions
Gauri Pandharinath Bodke edited this page Jun 15, 2022
·
1 revision
- CI/CD pipeline achieved using GitHub Actions. The pipeline gets triggered whenever someone makes a commit or a pull request to the main branch.
- Pipeline consists of three stages: build, test, and deploy.
-
build:
- Builds angular and golang application.
- Stores golang application build as an artifact.
-
test:
- Performs API testing using Newman CLI tool.
- Sensitive data such as AWS credentials and application secret key are stored as GitHub secrets. It creates a .env file using those secrets before running an application.
- Stores API testing report as an artifact.
- In case of a pull request, it proceeds irrespective of the result of video module creation API, because GitHub secrets (and hence AWS credentials) are not accessible by the pull requests.
-
deploy:
- Uses AWS CodeDeploy to push code from Github repository to AWS EC2 instance.
-
build:
- Sprint Progress:
- Database design
- CI/CD using GitHub Actions
- How to run the project?
- Sprint 3 UI Screenshots
-
Back-end API documentation
- Create an instructor account
- Login to an instructor account
- Create a student account
- Login to a student account
- Get the list of all courses
- Get the list of courses created by an instructor
- Create a course
- Publish a course
- Get course description
- Update the course description by an instructor
- Add video module to the course
- Add quiz module to the course
- Calculate student quiz score
- Get course details
- Get module details
- Check if the student is enrolled in a course
- Enroll a student into a particular course
- Get the list of all courses enrolled by a student