Skip to content

Support creating ephemeral environments #1131

Description

@rfree18

For setups that involve databases or services not hosted by Railway, we can't rely on Railway's own PR environment feature since we need to configure service variables to point to branched versions of our database. We have a setup that roughly matches the guide at https://docs.railway.com/guides/github-actions-pr-environment. However, these environments aren't marked as PR environments in the Railway dashboard and it makes it difficult to locate our actual non-ephemeral environments.

The docs for the environment creation mutation at https://docs.railway.com/integrations/api/manage-environments#create-an-environment indicate that it accepts input.ephemeral , but this doesn't seem to be exposed through the CLI. Would this be possible to expose as a flag?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions