medic / care-teams

For Product Management
0 stars 0 forks source link

Set up testing infrastructure for other configurations #7

Closed michaelkohn closed 8 months ago

michaelkohn commented 10 months ago

Success Criteria

MoH Togo [Jennifer]

MoH Mali [Ben]

NSSD [Jennifer]

MoH Uganda [Ben]

latin-panda commented 9 months ago

I looks like muso-mali and pih are in v3.x.x. I'm setting up moh-togo

latin-panda commented 9 months ago

Credentials in 1p NSSD: https://care-teams-nssd.dev.medicmobile.org MOH Togo: https://care-teams-moh-togo.dev.medicmobile.org

I'm having some issues pushing the configs, I'll notify when the configs are uploaded to these instances

Benmuiruri commented 9 months ago

Credentials in 1p MOH Uganda: https://care-teams-moh-uganda.dev.medicmobile.org/ Config pushed to the instance

latin-panda commented 9 months ago

@ralfudx @michaelkohn We have completed most of the setup, except for upgrading the instances to have Apdex work.

There is a bug in the infrastructure where we can't upgrade the EKS instances (conversation). The Infrastructure FG doesn't have a fix yet. We'll keep an eye on the issue.

This is still not a blocker for the automation tests because those can run in the local environment, and also we have the other instance running with the Apdex work, using CHIS Kenya config and it's not affected by this issue (different type of deployment).

cc: @Benmuiruri

latin-panda commented 9 months ago

@ralfudx @Benmuiruri @michaelkohn I've created a ticket to SRE for creating these on the old way because the EKS is still not fixed.

latin-panda commented 8 months ago

Infra FG still working on the fix

michaelkohn commented 8 months ago

We're going to want to look at the data for each one of these in PostgreSQL, so we should set up couch2pg for each one of these as well

michaelkohn commented 8 months ago

Also, looks like we have URLs for all the instances except MoH Mali. Can we do that while we wait for the EKS issue to get resolved?

latin-panda commented 8 months ago

We're going to want to look at the data for each one of these in PostgreSQL, so we should set up couch2pg for each one of these as well

Ticket for that: https://github.com/medic/medic-infrastructure/issues/847

Also, looks like we have URLs for all the instances except MoH Mali. Can we do that while we wait for the EKS issue to get resolved?

@michaelkohn We have all the urls resolved already.

latin-panda commented 8 months ago

NSSD ready

latin-panda commented 8 months ago

MoH Togo ready

@Benmuiruri, I'm leaving this issue assigned to you. Once the other 2 instances, Mali and Uganda, are ready, please close this ticket.

latin-panda commented 8 months ago

MoH Uganda ready by @Benmuiruri

Moving this ticket to next sprint so @Benmuiruri continues with MoH Mali

Benmuiruri commented 8 months ago

(WIP)

I am following up with App Devs on this one. The test data generator creates the reports for the family members but the reports created do not trigger the expected task. Therefore, when the chw logs in there are no tasks.

latin-panda commented 8 months ago

@Benmuiruri I think @ralfudx is (or will have) to create tasks by submitting a report automatically in the automation tests, this is because tasks expire and get deleted after a while.

I think you can push the data even if tasks are not created by the test generator tool. So then, we can close this ticket.

@ralfudx is that okay?

Benmuiruri commented 8 months ago

@latin-panda I can push the data and close this ticket. However, even when Rafa tries to create new tasks by submitting a report for the MOH Mali config, I don't think it will work because the inherent issue will still be there.

Unless I push the data to close this ticket but work with Rafa to create the tasks on submitting the report for the MOH Mali config.

Benmuiruri commented 8 months ago

Hi @latin-panda , thank you for the clarification on Slack.

What I was trying to say was: If Rafa will try creating the tasks by submitting the report as admin (medic) user it is currently not working for MOH-Mali. But if he will be submitting as a CHW user, I expect it to work since it was working when done manually.

Therefore, I will push the data to the test server and close the ticket.

Benmuiruri commented 8 months ago

MOH Mali is now ready and loaded with test data. Closing this Issue as complete