Skip to content

Update all monorepo apps to track their respective version number with env vars #1159

Description

@tk-o

The goal of this issue is to allow all apps we currently have:

  • ENSAdmin
  • ENSIndexer
  • ENSRainbow
    to be aware of which version of the code is running in their runtime.

Currently, we'd read the version field from the package.json file from a given app directory. However, this version field changes only when we complete a GitHub Release.

The code keeps changing more often, so we need to track a reference to the current code version. We can achieve that by, for example, tracking git commit SHA with an environment variable. We can easily embed such value into a Docker image, so when application container is created, the value can be easily accessed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsDevOps related

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions