Skip to content

Issue on docs #127

@renatomcamilio

Description

@renatomcamilio

Path: /configuration/environment-variables

Might be a good idea to include built-in ENV VARs that Qovery inject for version control systems; I was looking for the git commit SHA, and found through AI in the docs, but it's never mentioned.

It says it's QOVERY_COMMIT_ID; Here's the AI assistant response:


The built-in variables list doesn't include a git commit SHA. Let me check the pipeline build phase and Dockerfile docs for build args.The documentation doesn't list a built-in environment variable exposing the git commit SHA during build. Let me do one more targeted check.Found it. The Datadog integration page shows $QOVERY_COMMIT_ID. Let me confirm.Qovery injects a built-in variable QOVERY_COMMIT_ID containing the git commit SHA. You can reference it in your service's environment variables (e.g., DD_VERSION=$QOVERY_COMMIT_ID) or pass it as a Docker build ARG in your Dockerfile to expose it during the build phase. Note that ARGS variables also influence build caching (see image-mirroring docs).

(Environment Variables)[/configuration/environment-variables]
(Build Phase / Pipeline)[/configuration/deployment/pipeline]
(Image Mirroring)[/configuration/deployment/image-mirroring]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions