Skip to content

Commit 3f73933

Browse files
committed
feat: add docs for build in-obs
1 parent eec2a5a commit 3f73933

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

authors.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,9 @@ amulhern:
5050
5151
url: https://github.com/mulkieran
5252
image_url: https://github.com/mulkieran.png
53+
54+
rxbryan:
55+
name: Bryan Elee
56+
57+
url: https://github.com/rxbryan
58+
image_url: https://github.com/rxbryan.png

docs/cli/build/in-obs.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: in-obs
3+
date: 2024-06-27
4+
sidebar_position: 5
5+
---
6+
7+
# `packit build in-obs`
8+
9+
Submit a build of the present content in the upstream or local repository to [OBS](https://build.opensuse.org/).
10+
11+
## Requirements
12+
13+
* SPEC file for the project placed in the repository.
14+
* Packit config file placed in the repository.
15+
16+
17+
18+
## Tutorial
19+
20+
1. [Place a config file for packit in the root of your upstream repository.](/docs/configuration/)
21+
22+
2. The command below creates a tarball (archive) of your repository and commits it along with the spec file to a package with a name corresponding to your upstream project on [OBS](https://build.opensuse.org/). The project defaults to home:$username:packit. Running packit build in-obs a second time creates a new commit in that package.
23+
24+
```
25+
$ cd my/ustream/project/
26+
$ packit build in-obs --project <project_name>
27+
```
28+

docs/cli/build/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Subcommand that groups all RPM build related commands together.
1616
* [`in-mock`](/docs/cli/build/in-mock)
1717
* [`in-copr`](/docs/cli/build/in-copr)
1818
* [`in-koji`](/docs/cli/build/in-koji)
19+
* [`in-obs`](/docs/cli/build/in-obs)
1920
* [`in-image-builder`](/docs/cli/build/in-image-builder)
2021

2122
## Help
@@ -32,5 +33,6 @@ Subcommand that groups all RPM build related commands together.
3233
in-copr Build selected upstream project in Copr.
3334
in-image-builder Create a VM image in Image Builder.
3435
in-koji Build selected upstream project in Fedora.
36+
in-obs Build selected repository in Open Build Service
3537
in-mock Build RPMs in mock using content of the upstream repository.
3638
locally Create RPMs using content of the upstream repository.

0 commit comments

Comments
 (0)