New issue
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
Use GitHub Action for building RPM in Fedora Copr #2428
Use GitHub Action for building RPM in Fedora Copr #2428
Conversation
COPR_PUSH_WEBHOOK secret needs to be added, with custom webhook (use PACKAGE = postgresql-jdbc): |
Hi @praiskup sure you can send it to me davecramer@gmail.com Thanks |
E-mail sent, thanks! |
Don't build-depend on system-stubs-jupiter for now, as it is not packaged into Fedora.
ec94547
to
c7cb43f
Compare
@praiskup I noticed some recent pushes. let me know when I can merge this |
If the GH secret is installed (PUSH webhook location), I think we can merge this. |
in the add webhook they ask if you want json encoded or form-url-encoded? |
This needs only adding a GitHub secret named |
got it, give me a second |
done |
Thanks! |
Sorry, @davecramer PUSH doesn't work because I made a mistake — the last |
done |
Works! Thank you for the help. |
This awesome! |
@praiskup do we really want to build this for every PR ? |
It shouldn't be a problem IMO. Is it causing some troubles? |
Hm, I can see there's e.g. this build failure: If the run fails, you are free to ignore the error. But before the PR is merged, that's the best chance to fix any potential problems. |
there are some race conditions that have failures, yes. My issue with every PR is that it slows down the checks. |
Can we make the check non-blocking (if it is)? I don't think we always have to wait for the test to pass. Or should there be some trigger button for this to start? |
Two options. There is an option where an action is initiated by a button, alternatively there should be an action which is initiated by a merge (at least I'd hope so). |
Yes, I intentionally configured both PR and merges configured both |
Of course, if you prefer to merge only events, feel free to drop the pull_request hook. From Copr's perspective (the main task computation is done there), it is OK to handle all the PRs. |
And fix the spec file which failed to build.