We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to create a github action to generate the rules but I get an error for my generate command
generate
job part of my github action config:
generate-slo-job-1: name: Generate the SLOs runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: download and setup generator binary run: | wget https://github.com/slok/sloth/releases/download/v0.11.0/sloth-linux-amd64 chmod +x sloth-linux-amd64 ./sloth-linux-amd64 generate -i ./configuration/sloth/rules/ -o ./configuration/sloth/rules/_gen/ - uses: EndBug/add-and-commit@v9
error message: error: "generate" command failed: invalid spec, could not load with any of the supported spec types
error: "generate" command failed: invalid spec, could not load with any of the supported spec types
what would be the correct command?
The text was updated successfully, but these errors were encountered:
First, check path to your files. Try stat ot cat in a "run" section one of your sloth files to ensure that the job can read them.
Sorry, something went wrong.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.
This issue was closed because it has been stale for 15 days with no activity.
No branches or pull requests
I try to create a github action to generate the rules but I get an error for my
generate
commandjob part of my github action config:
error message:
error: "generate" command failed: invalid spec, could not load with any of the supported spec types
what would be the correct command?
The text was updated successfully, but these errors were encountered: