Join Slack
Powered by
Hello. Working on a repository. Is there an equi...
# help
m
Mitch
11/15/2024, 10:38 PM
Hello. Working on a repository. Is there an equivalent to a ‘.gitignore’ for the CLI?
a
Alex Olivier (Cerbos)
11/15/2024, 11:06 PM
Hey there - we don't support this currently. What is your setup which is leading to needing this?
m
Mitch
11/15/2024, 11:19 PM
I want to add some extra files to the repository for testing. One is a yml file so is causing the compile to fail.
Mitch
11/15/2024, 11:27 PM
We use Taskfile as a task runner. We can use something else just wondering if we have too.
a
Alex Olivier (Cerbos)
11/15/2024, 11:27 PM
I see. For now could you move your policy files into a folder then set your configuration to point to that folder?
m
Mitch
11/15/2024, 11:28 PM
Yes, but then I don’t know to make the HUB point to the correct place.
a
Alex Olivier (Cerbos)
11/16/2024, 4:14 PM
In the settings section of your workspace, you can define which directory Hub will use to read policies from
Alex Olivier (Cerbos)
11/16/2024, 4:15 PM
Default is root, but you can change it to wherever makes sense for your repo
m
Mitch
11/16/2024, 11:55 PM
Perfect. Thank you
@Alex Olivier (Cerbos)
👍 1
Open in Slack
Previous
Next