-
Notifications
You must be signed in to change notification settings - Fork 62
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 monorepo setup for Packit #2720
Use monorepo setup for Packit #2720
Conversation
3202260
to
7a9c75f
Compare
Failed to load packit config file:
For more info, please check out the documentation or contact the Packit team. |
7d11c65
to
82f5bad
Compare
Is it an issue that every package is built in a different Copr project? I've created an issue for that on our side: |
82f5bad
to
39c5e2c
Compare
E.g. What we do now with the current solution is that we build into |
Said that, we don't have a real solution with our current CI for this problem. |
f7b7475
to
007c498
Compare
/packit build |
Here is a snapshot of the command that waits for the
I would like to move this script away and just install/download here. |
ef4ea98
to
0dd2c7d
Compare
Already done: |
abae17b
to
aaa5af8
Compare
@lachmanfrantisek seems like it works fine! :) could you just please squash these commits? I don't know how to collaborate into your PR from my local machine so I did it via github's interface but it doesn't allow me to squash commits :D |
43d8d8e
to
fd90669
Compare
/packit build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I just added one small note below.
Edit: oh god I deleted the note :D
This allows to specify a package to be used for a given job. Current workflow is setup in the following way: * pull-request builds are run only on explicit `/packit build` comment * main commit builds are run always in packit/copr project Signed-off-by: Frantisek Lachman <[email protected]>
fd90669
to
804c3ad
Compare
Nice! |
upstream_tag_template: copr-frontend-{version} | ||
actions: | ||
post-upstream-clone: | ||
- sh -c "wait-for-copr --owner $COPR_OWNER --project $COPR_PROJECT python-copr `git rev-parse --short HEAD`" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if python-copr
isn't actually changed by the PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently packit builds everything even no change is done to the package (there's issue about it packit/packit-service#2006)
for that reason we have now only enabled builds for merging to main branch. Triggering builds in PRs are done manually via /packit build
command
This allows separating a package definition and a Packit job definition. Also, we can now work with multiple packages of this repository.
This pull request is a cleanup version of #2591.