Skip to content
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

openSuSE Build service support #187

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

openSuSE Build service support #187

wants to merge 3 commits into from

Conversation

Thaodan
Copy link

@Thaodan Thaodan commented Jan 22, 2023

The PR adds support for building on the openSUSE build service.
First it adds a spec file to add a build recipe for rpm based distributions.
The second step is to add an obs workflow to trigger rebuild automatically

I work on the OBS side of this PR here right now:

@Thaodan Thaodan marked this pull request as draft January 22, 2023 05:24
@Thaodan
Copy link
Author

Thaodan commented Jan 23, 2023

The spec is created. it can be used for release builds as well as unstable builds and PRs.

I've added the obs workflow file, it contains a workflow to build release builds, build unstable builds and test PR's.

The workflow requires that you would add the webhook to repository similar as you have done for other CI systems, I would go through you with and document the process for that.

I have a demo PR at my fork that can be seen here:
Thaodan#1

The demo PR creates a new project with a link of the existing unstable package to test the PR that can be seen here:
https://build.opensuse.org/package/show/home:Thaodan:emacs:unstable:ci:Thaodan:pdf-tools:PR-1/emacs-pdf-tools

After this PR has been merged we can adjust the obs service to extract more build recipes from the repository so that the obs workflow can be used for distributions such as Debian.

@Thaodan Thaodan marked this pull request as ready for review April 13, 2024 12:16
Imported from magit and adjusted:
https://github.com/magit/magit/blob/main/lisp/Makefile#L48

Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
- Build release builds
- Rebuild unstable builds after pushing to master
- Test pull requests

Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant