Skip to content

Removing tests dir causes github-apply script to fail #464

@dot-mike

Description

@dot-mike

LibreNMS has a github-apply script that applies a PR. I wanted to use this a temporarily workaround until a fix arrives in a release.

Turns out running the command does not work because tests directory is missing

$ docker compose exec -it librenms sh
/opt/librenms # github-apply 16188
sh: github-apply: not found
/opt/librenms # ./scripts/github-apply 16188
Checking patch includes/definitions/discovery/eltek-webpower.yaml...
Checking patch tests/data/eltek-webpower.json...
error: tests/data/eltek-webpower.json: No such file or directory

tests/ \

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