On Sat, Dec 17, 2016, at 02:59 PM, Robert Mayr wrote:
2016-12-16 20:59 GMT+01:00 Brian Exelbierd <bex@xxxxxxxxx>:Hey,Do we have a model/example for automatic site publication after a pagurepush? I need it for something I am working on.I'd like to see if I can set up the new budget.fp.o to publish oncommit. The publication will require a job to be run to generate thehtml (or error out if the commit is bad).Thank you.regards,bex_______________________________________________ websites mailing list -- websites@lists.fedoraproject.org To unsubscribe send an email to websites-leave@lists.fedoraproject.org Not sure if I understand what you want to do, but a push to pagure will not result as an immediate publication.We build the websites hourly with a syncstatic script, that means if you push something to the repo it will be published more or less within the next 60-90 minutes.
I am trying to do this:
1. Allow several committers to a rep
2. Ideally have CI/CD that would block PRs that fail tests - but I don't think we have an infrastructure this advanced yet
Therefore, I think I need to block on publication if a commit is bad.
Can I control the publication script so that I don't publish when their is a failing test? Can you point me at a configuration example so I can see if I can model it for submission for approval?
regards,
bex
_______________________________________________ websites mailing list -- websites@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to websites-leave@xxxxxxxxxxxxxxxxxxxxxxx