It seems like there is still some confusion on how to configure the Greenwave RemoteRule feature. Maybe this tutorial (that has some extra examples) will help.
Even I don't know how to do PR for that repo.
Maybe it would be enough for now to do the request by submitting an issue.
rebased onto 25a2bbf7095761499631bc88bb00a2ce8ad3ba88
rebased. @lholecek @ralph please have a look if you have some time. Thanks
"Once code is pushed"
This part is for admins; writing gating.yaml is for users.
gating.yaml
Instead of this part, maybe this document should mention that RemoteRule should be in rules for given Policy the user wants to use.
rebased onto dfbc8e1c1f42db11dd14bb14f114dbb58009c275
Rebased
Break the line and change the URL.
curl --data-binary "@gating.yaml" -X POST \ https://greenwave.fedoraproject.org/api/v1.0/validate-gating-yaml
You can also add that the decision_context, product_version and subject_type must match a policy that has the RemoteRule. User can verify it by listing /api/v1.0/policies.
decision_context
product_version
subject_type
RemoteRule
/api/v1.0/policies
and... rebased :)
rebased onto fad27acd778307daba3cb421c39a54f7d2771422
+1
Commit c9a07f54 fixes this pull-request
Pull-Request has been merged by gnaponie
It seems like there is still some confusion on how to configure
the Greenwave RemoteRule feature. Maybe this tutorial (that has
some extra examples) will help.