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

Change existing QA environment to Staging environment. #1963

Closed
4 tasks done
JasonCTang opened this issue May 24, 2023 · 1 comment
Closed
4 tasks done

Change existing QA environment to Staging environment. #1963

JasonCTang opened this issue May 24, 2023 · 1 comment
Assignees
Labels

Comments

@JasonCTang
Copy link
Collaborator

JasonCTang commented May 24, 2023

Describe the task
Change existing QA environment to Staging environment

Acceptance Criteria

  • Create seperate database, form.io, camunda, api, etc
  • Share Patroni, Redis, keycloak
  • Remove QA database secret entry and make it as a parameter
  • Rename to Staging prefix.
@JasonCTang JasonCTang changed the title Change existing QA environment to Pre-Prod environment. Change existing QA environment to Staging environment. Jul 25, 2023
@guru-aot guru-aot self-assigned this Jul 28, 2023
@guru-aot
Copy link
Collaborator

guru-aot commented Jul 28, 2023

DEVS Staging Environment is deployed and it resides in the same namespace as that of test 0c27fb-test.
Things to note:

  1. The patroni is shared between test and staging, but the DATABASE is different Test - SIMSDB , Staging - STGSIMSDB. To include this change, I manually created the DB by connecting the test Patroni in local. Also added one secret in patroni-creds called as stg-database-name which has the value STGSIMSDB. Also changing the database-name-key - > github secrets for the staging environment to stg-database-name.
  2. The forms and mongodb are all seperate, this is done as staging should mimic prod environment and any form hotfixes that come in production can be deployed here and tested, without affecting test environment.
  3. Good thing, all our github actions work in the new staging environment and I tried to clean as much as stuff created as part of QA environment creation. 
  4. Lastly the current version of Staging environment is v1.1.1-414, this is the hotfix tag created by dheepak and I tested the legal operating name bug, it works.
  5. URLs to access institution
    http://stg-aest-sims.apps.silver.devops.gov.bc.ca/institution
  6. URLs to access Ministry
    http://stg-aest-sims.apps.silver.devops.gov.bc.ca/ministry
  7. ​​​Although student and supporting users login are available, as we are sharing the same keycloak as that of test, please do not use it, as we mimic Prod environment so queue-consumers and workers are deleted after deploy all github action is done.
  8. Please do not try the file exchange operations, as the secrets are not applied to mimic prod environment.

 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants