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

Stage SIMS PROD environment #1959

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

Stage SIMS PROD environment #1959

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

Comments

@JasonCTang
Copy link
Collaborator

JasonCTang commented May 24, 2023

Describe the task
Setup activities not relating to the actual deployment of the application.

Acceptance Criteria

Additional context

  • Jason to populate secret values
@JasonCTang JasonCTang self-assigned this May 24, 2023
@JasonCTang JasonCTang changed the title Setup secrets in SIMS PROD environment Stage SIMS PROD environment May 24, 2023
@guru-aot guru-aot self-assigned this May 26, 2023
guru-aot added a commit that referenced this issue Jun 8, 2023
Changes as part of this PR:
- Patroni deployment is changed, going forward we are not building in
tools namespace and deploying them. We use the reference as per sample
shared by BCGOV
https://github.com/bcgov/patroni-postgres-container/blob/master/samples/deploy.yaml
for further deployments.
- Network Policies removed which are not used.
- Role Bindings for github actions will be added as part of init-oc
command.
- Removed the secrets that are not used and removed the obselete methods
  - WORKFLOW_SA_USER_NAME
  - WORKFLOW_SA_PASSWORD
  - SIMS_API_CLIENT_ID
  - SIMS_API_CLIENT_SECRET
guru-aot added a commit that referenced this issue Jun 8, 2023
Formio permission change in the dockerfile while build. 

The tried combinations are 640, 644, 650, 654, 750, 754, 770, 774 and
777. So with the least permission level of 770, 774 and 777 which
worked. Selected 770.
guru-aot added a commit that referenced this issue Jun 8, 2023
…d-Deploy' into feature/#1959-Staging-SIMS-Prod-Environment-Formio-GithubAction-Build-Deploy
andrewsignori-aot pushed a commit that referenced this issue Jun 8, 2023
Changes as part of this PR:
- Patroni deployment is changed, going forward we are not building in
tools namespace and deploying them. We use the reference as per sample
shared by BCGOV
https://github.com/bcgov/patroni-postgres-container/blob/master/samples/deploy.yaml
for further deployments.
- Network Policies removed which are not used.
- Role Bindings for github actions will be added as part of init-oc
command.
- Removed the secrets that are not used and removed the obselete methods
  - WORKFLOW_SA_USER_NAME
  - WORKFLOW_SA_PASSWORD
  - SIMS_API_CLIENT_ID
  - SIMS_API_CLIENT_SECRET
andrewsignori-aot pushed a commit that referenced this issue Jun 8, 2023
Formio permission change in the dockerfile while build. 

The tried combinations are 640, 644, 650, 654, 750, 754, 770, 774 and
777. So with the least permission level of 770, 774 and 777 which
worked. Selected 770.
guru-aot added a commit that referenced this issue Jun 8, 2023
…ploy split (#2000)

Split the github action workflow which currently builds and deploys
simultaneously in a single action into seperate build and deploy github
action.
andrewsignori-aot pushed a commit that referenced this issue Jun 8, 2023
…ploy split (#2000)

Split the github action workflow which currently builds and deploys
simultaneously in a single action into seperate build and deploy github
action.
@JasonCTang
Copy link
Collaborator Author

Removeing the following AC to be addressed in a future ticket.

  • [] SFTP secret initialization

guru-aot added a commit that referenced this issue Jun 12, 2023
Redis cluster command changed, as part of makefile to run in any
terminal(Windows/ mac/ Linux).
- Issue was when trying to get the jsonpath `oc get pods -n $(NAMESPACE)
-l app=redis -o jsonpath='{range .items[*]}{.status.podIP}:6379 ` in mac
it appends an additional ` :6379 `at the end, so to solve it removing
the generated one using the sed command.
- Also running the oc commands inside the redis-cli was not working, so
created variables to fetch the commands output and ran the cluster
creation.
 
Documentation and wiki documentation are updated
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

2 participants