Impactworkers / iw-complaint-manager

Impactworkers Complaint Manager
1 stars 0 forks source link

Fix CircleCI Pipeline #72

Closed rd-huerta closed 4 months ago

rd-huerta commented 5 months ago

User Story

As a developer I want to fix the CircleCI pipeline So that we can deploy to higher environments

Resources

  1. Configure a Node.js application on CircleCI
  2. Continuous deployment for Next.js applications to Heroku
  3. Storing Build Artifacts
  4. Artifacts documentation
  5. Custom Storage Usage

    Questions

  6. Do we store release artifacts anywhere?
  7. If we want to store the build artifact and pass it between jobs in the CircleCI pipeline, how long should we store it for? There are potential cost implications. Our free plan gives us 2GB of storage/month. Currently we are using 83.2MB.

    Definition of Done

    What means that this task is done?

Acceptance Criteria

Given xxxx When xxxx Then xxxx

CwoodsTW commented 5 months ago

Currently looking at documentation about artifacts and workspaces to see which is better to use when passing the build between jobs/environments in the pipeline. https://circleci.com/docs/workspaces/ https://circleci.com/docs/artifacts/

CwoodsTW commented 5 months ago

Questions : What would be an optimal amount of time to save previous workspaces(Max 15 days).

CwoodsTW commented 5 months ago

I believe we may currently be blocked. We are using workspaces in circle-ci and have added a logging job to see the files attached to the workspace in dev environment. However, the QA environment is still not receiving the workspace. The QA environment on circle-ci is still un clickable as well so debugging has been a bit of a chore.

rd-huerta commented 5 months ago

Deploying to higher environments is now working in the pipeline. Woohoo! Great job team!

We decided to hold off deploying to production, but the deploy_prod job should be working now.