Skip to content

Enhance support for switching production environment to "yellow" #1599

@lightwalker-eth

Description

@lightwalker-eth

Background

  • The current script for switching production environments doesn't explicitly support switching to "yellow": .github/workflows/deploy_switch_ensnode_environment.yml
  • If we do switch the production environment to "yellow" it may cause the logic inside the "Promote ENSAdmin Vercel Deployment" step of the above script to break. See details in ./.github/scripts/promote_ensadmin.sh Specifically: the current logic in this promote_ensadmin.sh script assumes that each environment runs on Railway, but this isn't true for the "yellow" environment (or other potential future environments).

Goals

  • Update the logic in the promote_ensadmin.sh script so that we create a more general mechanism for getting the related commit SHA dynamically from an ENSNode instance that doesn't rely specifically on any hosting provider's internal mechanics. Ex: Perhaps we introduce a strategy to include this data in the (public) ENSApi config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsDevOps relatedensadminENSAdmin related

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions