Skip to content

Add the variable OPS_DIR and OPS_FILE in ops #114

Open
@sciabarracom

Description

@sciabarracom

Why you need it?

We need a variable OPS_DIR pointing to the directory where the current opsfile resides.
This is because if you change for example to $OPS_PWD you may beed to refer to the original folder of the opsfile, for example to run

uv --directory $OPS_DIR run python main.py

How it could be?

Add the OPS_DIR of the taskfile you found to the environment and document it
Also OPS_FILE to point to the current opsfile.yml is useful

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