MSD-LIVE / issues

0 stars 0 forks source link

Test Data in Metrics #187

Closed ghost closed 2 months ago

ghost commented 6 months ago

Screenshot 2024-04-30 at 4 22 36 PM In the above screenshot "solve" appears in our production metrics. However, "solve" is a test project and should not appear.

ghost commented 6 months ago

The problem was that the slugs for "chaos" and "solve" did not have the tier suffix (e.g. "-dev").

Steps to deploy to dev/stage/prod:

  1. Merge both e2e repos to next branch (e.g. from dev to stage)
  2. Merge msdlive-rdm-contrib to next branch (e.g. from dev to stage)
  3. Merge deployment to next branch (e.g. from dev to stage)
  4. Redeploy pipeline stack
  5. STAGE/DEV: delete old test projects (i.e. "solve" and "chaos")
  6. Run deployment pipeline (on stage/dev the e2e tests will fail the first time - this is expected)
  7. STAGE/DEV: Exec into web server and run CLI command to create test projects (i.e. invenio msdlive create-test-projects)
  8. STAGE/DEV: Re-run the e2e tests (not the whole pipeline, just the tests)
ghost commented 6 months ago

Still need to:

ghost commented 6 months ago

To delete a project:

  1. Go to data.msdlive.org/communities/slug/settings
  2. Delete the project
  3. Delete the bucket associated with the project

Question: what do we do with records which are part of the deleted project? This seems to cause bugs. Should we delete them before deleting the project?

ghost commented 2 months ago

Done