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

fix: docs #98

Merged
merged 3 commits into from
Mar 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/production_operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,20 @@ This guide is for production operations on the Gitcoin Data Layer.
- pnpm db:cache:migrate
- pnpm db:copy-cache -f {{ green | blue (should be the source environment) }}
- pnpm db:migrate
- Set hasura config `nano ./scripts/hasura-config/.env`

5. Wait until the new deployment is stable.
6. Run `Promote Blue Green (Start upgrade - Step 2)` workflow
7. Validate that is stable and working, you can go to the hasura api task on ECS and get the IP address of the task and check if the api is working. (You can rollback running again `Promote Blue Green (Start upgrade - Step 2)`)
8. Once you are sure that the new deployment is stable, you can destroy the old deployment by running `Destroy Blue Green (Start upgrade - Step 3)` workflow
```tsx
HASURA_ENDPOINT={{PUBLIC_IP_ECS_TASK}}
HASURA_ADMIN_SECRET={{YOUR_HASURA_ADMIN_SECRET}}
HASURA_SCHEMA=public
```

- pnpm api:configure

5. Wait until the new deployment is stable,you can go to the hasura api task on ECS and get the IP address of the task and check if the api is working. (You can rollback running again using `Promote Blue Green (Start upgrade - Step 2)` workflow)
6. Run `Promote Blue Green (Start upgrade - Step 2)` workflow.
7. Validate that is stable and working .
8. Once you are sure that the new deployment is stable, you can destroy the old deployment by running `Destroy Blue Green (Start upgrade - Step 3)` workflow.

## For New chain

Expand Down
Loading