Skip to content

Add deployment automation for PoS [Preview Environment]Β #19

@brunomenezes

Description

@brunomenezes

πŸ“„ Context

Currently, we do the Subgraph deployment manually. Since we moved to Chainstack and already have Subgraph Hosted Services, it would be good to automate the deployment of our Subgraph solution.

βœ”οΈ Solution

Create a GitHub action to build and publish the subgraph changes once merged into the main branch (target is preview environment).

πŸ“ˆ Subtasks

  • Add required secrets for GitHub Actions:
    • Secrets to interface with Subgraph Hosted Services API.
    • Secrets to interface with Chainstack API
  • Create the GitHub action to automate deployment for the main branch changes.
    • Deploy subgraph on Hosted Services. [Preview]
    • Deploy subgraph on Chainstack service. [Preview]
  • Add any extra task in case of oversight [Optional]

🎯 Definition of Done

  • Subgraph changes are reflected with success in the Hosted service.
  • Subgraph changes are reflected with success in the Chainstack service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:deployDeployment related activitytype:featureNew feature or request

    Type

    No type

    Projects

    Status

    πŸ“Œ Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions