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

ATLA staging deployment & actions #1

Open
21 of 31 tasks
summer-cook opened this issue Apr 10, 2023 · 11 comments
Open
21 of 31 tasks

ATLA staging deployment & actions #1

summer-cook opened this issue Apr 10, 2023 · 11 comments
Assignees

Comments

@summer-cook
Copy link
Contributor

summer-cook commented Apr 10, 2023

Summary

Staging is on r2-staging cluster on SoftServ infrastructure for now per Rob's request.

ATLA wants a new multi tenant hyku instance. This application will need both a staging and a production instance. Resources like Fedora that can be share should be shared. The environment variables should be set up to incorporate with other systems, like sentry, etc.

Acceptance criteria

Testing instructions

  • go to the slack channel for #atla-dev
  • check that the staging links for atla-hyku exist
  • Visit atla-hyku.notch8.cloud and ensure that you can see a staging proprietor page
  • you can login as a admin user
  • you can create a tenant
  • you can navigate to that tenant and login
  • you can create a work and attach an image
  • you can see the thumbnail show up for your work (after the jobs process)
    --------if you get to here and have checked all the above items and they have passed, this ticket passes. Please continue testing, but if anything does not work, please make a ticket for it and ref this ticket please.
  • when you navigate to the tenants contact us page you are able to submit a form and look in mailtrap and see the email -- Note April 14,2023, form April: Negative captcha is blocking testing on this on the contact us page, is there another way to test email sending?
  • to test if mailtrap is working, add a user to the tenant through the Dashboard > Manage Users
  • You can see Google analytics items after:
    • viewing your works/collections
    • downloading works
    • wait for a day to allow Google Analytics to track
    • checking these pages
      • your-tenant-name.atla-hyku.notch8.cloud/admin/analytics/collection_reports
      • your-tenant-name.atla-hyku.notch8.cloud/admin/analytics/work_reports
      • public work show page > Analytics
  • you can navigate to the sentry project "atla-hyku" and see an error after creating one in your browsers console.

Demo: How to log in and create a tenant

Screen.Recording.2023-04-25.at.03.14.35.PM.mp4

Basic auth for staging only:
Sign in 2023-04-25 at 3 18 18 PM
Username: samvera
Password: hyku

@summer-cook summer-cook changed the title [SPIKE] ATLA deployment tickets ATLA deployment tickets Apr 10, 2023
@summer-cook summer-cook changed the title ATLA deployment tickets ATLA deployment & actions Apr 10, 2023
@labradford labradford moved this to Ready for Development in ATLA Hyku Apr 10, 2023
@summer-cook summer-cook moved this from Ready for Development to In Development in ATLA Hyku Apr 14, 2023
@aprilrieger aprilrieger changed the title ATLA deployment & actions ATLA staging deployment & actions Apr 14, 2023
@aprilrieger
Copy link
Contributor

Noting that there are a few flapping rspec tests and some lint error after setting up CI.

@aprilrieger
Copy link
Contributor

aprilrieger commented Apr 15, 2023

Tested and passed items 1 - 8 & 13 screenshots below

demo proprietor: atla-hyku.notch8.cloud
demo tenant: demo.atla-hyku.notch8.cloud
demo collection: https://demo.atla-hyku.notch8.cloud/collections/6bf267c6-1d0f-4cd8-828c-3a5195d9e2c7?locale=en
demo work: https://demo.atla-hyku.notch8.cloud/concern/images/7fdcfe46-6c9d-4eeb-8394-b7c236b363d3

CLICK ME Screenshot Screenshot 2023-04-14 at 22 45 07 Screenshot 2023-04-14 at 22 45 25 Screenshot 2023-04-14 at 22 45 37 Screenshot 2023-04-14 at 23 20 44

@aprilrieger aprilrieger moved this from In Development to Code Review in ATLA Hyku Apr 15, 2023
@aprilrieger
Copy link
Contributor

negative captcha is broken and is blocking the test of mailtrap integration
google analytics is not fully setup and needs troubleshooting and is blocking the test integration of google analytics

CLICK ME Screenshot Screenshot 2023-04-14 at 23 42 28 Screenshot 2023-04-14 at 23 45 56 Screenshot 2023-04-14 at 23 45 48

@aprilrieger
Copy link
Contributor

After troubleshooting the issue on staging with google analytics I found the issue and solution; I have added the solution to this repository and also contributed back to hyku in pr here: samvera/hyku#1937

CLICK ME Screenshot

Image
Image

@ShanaLMoore
Copy link
Contributor

After troubleshooting the issue on staging with google analytics I found the issue and solution; I have added the solution to this repository and also contributed back to hyku in pr here: samvera/hyku#1937

CLICK ME Screenshot

Image
Image

NICE job figuring this one out April!! 🥳

@summer-cook summer-cook moved this from Code Review to Softserv QA in ATLA Hyku Apr 17, 2023
@DiemBTran
Copy link
Contributor

DiemBTran commented Apr 17, 2023

QA in progress:

Testing instructions

  • go to the slack channel for #atla-dev
  • check that the staging links for atla-hyku exist
  • Visit atla-hyku.notch8.cloud and ensure that you can see a staging proprietor page
  • you can login as a admin user
  • you can create a tenant
  • you can navigate to that tenant and login
  • you can create a work and attach an image
  • you can see the thumbnail show up for your work (after the jobs process)
    --------if you get to here and have checked all the above items and they have passed, this ticket passes. Please continue testing, but if anything does not work, please make a ticket for it and ref this ticket please.
  • when you navigate to the tenants contact us page you are able to submit a form and look in mailtrap and see the email -- Note April 14,2023, form April: Negative captcha is blocking testing on this on the contact us page, is there another way to test email sending?
  • to test if mailtrap is working, add a user to the tenant through the Dashboard > Manage Users
  • You can see Google analytics items after clicking around for a day and checking the following day
  • you can navigate to the sentry project "atla-hyku" and see an error after creating one in your browsers console.

@DiemBTran
Copy link
Contributor

DiemBTran commented Apr 18, 2023

This passes SoftServ QA: See attached screenshots.

tested on:

A work with file attached successfully created in new tenant. Google Analytics is working. Sentry is tracking errors. Emails are being sent and received.

Image apples ID de9515a4-605c-4ebb-bf7f-b1b8ed74090d Hyku 2023-04-18 at 11 06 14 AM
Collection Report 2023-04-18 at 11 05 47 AM
OpenSSLPKCS12PKCS12Error PKCS12_parse mac verify failure - scientist-inc - atla-hyku 2023-04-18 at 11 20 11 AM
Mailtrap - Safe Email Testing 2023-04-18 at 11 15 05 AM

@DiemBTran DiemBTran moved this from Softserv QA to Client QA in ATLA Hyku Apr 18, 2023
@DiemBTran
Copy link
Contributor

I added a demo in the body of the ticket that shows you how to complete the following steps:

  • Visit atla-hyku.notch8.cloud and ensure that you can see a staging proprietor page
  • you can login as a admin user
  • you can create a tenant
  • you can navigate to that tenant and login

@ckarpinski
Copy link
Contributor

ckarpinski commented Apr 27, 2023

The questions below are from a while ago when this ticket was put up for me to review, i have not tried again on any of it

The testing steps

  • i completed the main part of the testing instructions successfully

  • i downloaded the work but it did not register in the Analytics tab for the work

  • on the page that ends with admin/analytics/work_reports - oddly says it was downloaded 3x and viewed 78 times which cant be right. 60 of those views happened before this week?? are these reports suppose to make sense?

  • i dont know what this is "you can navigate to the sentry project "atla-hyku" " or how to view it (is this not for me to test?)

Questions

  • i tried adding a user but that new user did not get an email - should it send an email at this point?

  • i tried using the contact form but it did not work - that was expected correct? i see april said there was an issue with it

@ckarpinski ckarpinski added the question Further information is requested label May 16, 2023
@ckarpinski ckarpinski moved this from Client QA to Ready for Development in ATLA Hyku May 16, 2023
@summer-cook
Copy link
Contributor Author

summer-cook commented May 17, 2023

i downloaded the work but it did not register in the Analytics tab for the work

&&

on the page that ends with admin/analytics/work_reports - oddly says it was downloaded 3x and viewed 78 times which cant be right. 60 of those views happened before this week?? are these reports suppose to make sense?

this is an issue in hyku/hyrax upstream. Currently, work is being done in PALs for analytics, but we may want to hold off on turning on analytics in production until it is contributed back, since the numbers are a bit off.

i dont know what this is "you can navigate to the sentry project "atla-hyku" " or how to view it (is this not for me to test?)

sentry is just on our end for error tracking, don't worry about testing it

i tried adding a user but that new user did not get an email - should it send an email at this point?

no, it should not send an actual email at this point. From staging, the emails will go to mailtrap so actual emails can't be accidentally spammed while testing on the staging site. Here is a screenshot of the email that i see in mailtrap to confirm that it is actually working. On prod, its configured to send to the real email vs. to the mailtrap inbox.
image

i tried using the contact form but it did not work - that was expected correct? i see april said there was an issue with it

Negative Captcha not working #19 addresses this issue

@summer-cook summer-cook moved this from Ready for Development to Client QA in ATLA Hyku May 17, 2023
@ckarpinski
Copy link
Contributor

Thank you ! this all makes sense to me. turning it off for now sounds like the way to go. Can we maybe make a ticket to remember to come back to it once it has been contributed back?

@ckarpinski ckarpinski moved this from Client QA to Deploy to Production in ATLA Hyku May 17, 2023
@ckarpinski ckarpinski removed the question Further information is requested label May 17, 2023
@summer-cook summer-cook moved this from Deploy to Production to Client Verification in ATLA Hyku May 23, 2023
@ckarpinski ckarpinski moved this from Client Verification to Done in ATLA Hyku May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

5 participants