reclaimprotocol / attestor-core

The attestor-core (aka witness server) securely intermediates internet data exchange, using TLS and zero-knowledge proofs to verify and sign user claims with minimal information disclosure.
52 stars 3 forks source link

Implement Continuous Integration and Deployment (CI/CD) Pipeline #3

Open AbdulRashidReshamwala opened 1 day ago

AbdulRashidReshamwala commented 1 day ago

Implement Continuous Integration and Deployment (CI/CD) Pipeline

Description

Migrate the existing CI/CD pipeline from GitLab CI to GitHub Actions. This will automate testing, building, and deployment processes, ensuring code quality and streamlining the development workflow.

Tasks

  1. Set Up GitHub Actions Workflow

    • Create a .github/workflows directory in the repository.
    • Add a new workflow file (e.g., ci-cd.yml) to define the CI/CD pipeline.
  2. Migrate Existing GitLab CI Configuration

    • Review the existing .gitlab-ci.yml file.
    • Translate the GitLab CI configuration into GitHub Actions syntax.
    • Ensure all stages (test, deploy) are covered in the new workflow.
  3. Configure Automated Testing

    • Set up a job to run tests using the existing test scripts.
    • Ensure the job uses the appropriate Node.js version and dependencies.
  4. Configure Automated Deployment

    • Set up a job to handle deployment to the production environment.
    • Ensure the job includes steps for environment setup, building, and deployment.
    • Use GitHub Secrets to securely store sensitive information (e.g., AWS credentials).
  5. Add Status Badges

    • Add status badges to the repository's README to display the build and test status.

Acceptance Criteria

References

aqeell7 commented 1 day ago

on it! assign it to me.

AbdulRashidReshamwala commented 1 day ago

@aqeell7 please raise a pr will assign it to you