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

added the cicd workflow files #94

Merged
merged 1 commit into from
Jul 19, 2024
Merged

added the cicd workflow files #94

merged 1 commit into from
Jul 19, 2024

Conversation

nwanoch
Copy link
Contributor

@nwanoch nwanoch commented Jul 19, 2024

Implement CI/CD Workflows

Changes Made

  • Added new GitHub Actions workflow files:
    • .github/workflows/ci.yml
    • .github/workflows/cd.dev.yml
    • .github/workflows/cd.staging.yml
    • .github/workflows/cd.prod.yml

Purpose

These changes introduce automated Continuous Integration and Continuous Deployment pipelines to streamline our development process.

CI Workflow (ci.yml)

  • Runs on push and pull requests to main, staging, and dev branches
  • Sets up a test environment with PostgreSQL
  • Prepares for running tests (test execution currently commented out)

CD Workflows (cd.*.yml)

  • Separate workflows for dev, staging, and production environments
  • Triggered after successful CI workflow completion
  • Automates deployment process using SSH

Benefits

  1. Consistent build and test process across all branches
  2. Automated deployments to respective environments
  3. Reduced manual intervention, minimizing human error
  4. Faster feedback on code changes

Extras

  • Configure necessary GitHub secrets for deployment
  • Uncomment and set up test execution in the CI workflow
  • Review and adjust environment-specific configurations as needed

These workflows will significantly improve our development efficiency and code quality assurance.

@bolexs bolexs merged commit 2a01f66 into staging Jul 19, 2024
3 checks passed
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