Roost <> LaunchDarkly Integration

LaunchDarkly feature management allows users to have certain features enabled for only specific application environments or even for only particular users within those environments.

As organizations move toward ephemeral environments for development and testing they often want a separate LaunchDarkly environment so that they can control the features independently of other environments so there is a minimized risk of toggling those features impacting other development efforts.

ROOST-LAUNCHDARKLY

Enable LaunchDarkly Integration from Roost

Go to Tool Stack Section. In the Third Party Integrations option select LaunchDarkly. A green tick will come on the icon that shows LaunchDarkly is enabled.


Click on Update Tool Stack to save it.

Edit configuration of LaunchDarkly

Click on Integration Section.


Click on Configure for LaunchDarkly.


Fill in the LaunchDarkly access token for Roost to access LaunchDarkly. Get your LaunchDarkly access token here https://app.launchdarkly.com/settings/authorization.


After filling in the token and clicking next will fetch your LaunchDarkly details.


  1. Choose your Project Type to be Existing or Create a new project altogether.

  2. On selecting an existing project, Roost will fetch all your existing LD project and the environments associated with the projects. Users can choose any existing environment or create a new environment.

  3. Environment name can be a fixed literal or refer to a Roost ephemeral environment variable (like the GIT_COMMIT_ID). List of available variables is provided here Release Environment Variables

  4. Users creating new LD environments can also clone an existing environment by selecting the environment source.

  5. LaunchDarkly provides multiple keys like Client ID, SDK Key or Mobile Key. Users can select the relevant ID as required by the application.

  6. For Kubernetes deployments, Roost creates a K8s secret and makes it available in the ephemeral namespace. The user application can get values from this K8s secret.

  7. For Docker only deployments, Roost makes these values available for use in the docker-compose file. Users can fill in the secret name and key for the secret in the manifest file.

  8. After filling the above details as a one-time activity, click Save and Update the Application configuration.

  9. LaunchDarkly Integrations is done.
    Now create your ephemeral environment and toggle the feature ON/OFF from the LaunchDarkly app.









Â