Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
How to test
backend/kernelCI_app/management/commands/tmp_submissions
(you can change the path, just update the command below)/backend/volume_data
as a result of thetreeproof
command. If you are feeling lazy and you don't want to run the command, there's an example file here (Google Drive link)USE_DASHBOARD_DB=True
poetry run python3 ./manage.py monitor_submissions --spool-dir kernelCI_app/management/commands/tmp_submissions --trees-file volume_data/trees-name.yaml
(being in the/backend
directory, update the paths if necessary)You can also test the ingester on docker, make sure the environment variables are on
.env.backend
and usedocker compose run --rm backend
before running the command shown above.Closes #1558