Skip to content

Commit 2cd5da4

Browse files
authored
Merge pull request #257 from aliceinwire/docs
(workflow) Build the debian package
2 parents 62f3c04 + 4f50d66 commit 2cd5da4

6 files changed

Lines changed: 85 additions & 14 deletions

File tree

.github/workflows/debian.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Make Debian Package
1+
name: Create Debian Package
22

33
on:
44
push:
@@ -9,7 +9,7 @@ permissions:
99
contents: write
1010

1111
jobs:
12-
build-dsc:
12+
build-deb:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
@@ -39,32 +39,27 @@ jobs:
3939
HEAD
4040
4141
- name: Build Debian package
42-
run: debuild -S -us -uc --lintian-opts --profile debian
42+
run: debuild -b -us -uc --lintian-opts --profile debian
4343

44-
- name: Collect Debian artifacts for development
44+
- name: Collect Debian artifacts
4545
run: |
4646
mkdir -p artifacts
4747
shopt -s nullglob
4848
for file in ../kci-dev_*; do
4949
mv "$file" artifacts/
5050
done
5151
52-
- name: Upload Debian artifacts for development
52+
- name: Upload Debian artifact to the workflow
5353
uses: actions/upload-artifact@v4
5454
with:
55-
name: kci-dev-debian-source
55+
name: kci-dev-debian-package
5656
path: artifacts/
5757

58-
- name: Upload Debian source to GitHub Release on new tag
58+
- name: Upload Debian package to GitHub Release on new tag
5959
if: startsWith(github.ref, 'refs/tags/')
6060
uses: softprops/action-gh-release@v2
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363
with:
6464
tag_name: ${{ github.ref_name }}
65-
files: |
66-
artifacts/kci-dev_*.dsc
67-
artifacts/kci-dev_*.orig.tar.*
68-
artifacts/kci-dev_*debian.tar.*
69-
artifacts/kci-dev_*_source.buildinfo
70-
artifacts/kci-dev_*_source.changes
65+
files: artifacts/*

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kci-dev (0.1.9-1) unstable; urgency=medium
33
* New upstream release.
44
* Update to version 0.1.9.
55

6-
-- Arisu Tachibana <arisu.tachibana@miraclelinux.com> Sat, 07 Dec 2025 12:00:00 +0900
6+
-- Arisu Tachibana <arisu.tachibana@miraclelinux.com> Sun, 07 Dec 2025 12:00:00 +0900
77

88
kci-dev (0.1.8-1) unstable; urgency=medium
99

debian/copyright

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: kci-dev
3+
Upstream-Contact: Arisu Tachibana <arisu.tachibana@miraclelinux.com>
4+
Source: https://pypi.org/project/kci-dev/
5+
6+
Files: *
7+
Copyright: 2023-2025 Arisu Tachibana <arisu.tachibana@miraclelinux.com>
8+
License: LGPL-2.1+
9+
This package is free software; you can redistribute it and/or
10+
modify it under the terms of the GNU Lesser General Public
11+
License as published by the Free Software Foundation; either
12+
version 2.1 of the License, or (at your option) any later version.
13+
.
14+
This package is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17+
Lesser General Public License for more details.
18+
.
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
.
22+
On Debian systems, the complete text of the GNU Lesser General
23+
Public License can be found in "/usr/share/common-licenses/LGPL-2.1".

debian/kci-dev.1

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
.TH kci-dev 1 "December 2025" "kci-dev 0.1.9" "User Commands"
2+
.SH NAME
3+
kci-dev \- Stand alone command line tool for interacting with KernelCI
4+
.SH SYNOPSIS
5+
.B kci-dev
6+
[\fIOPTIONS\fR] \fICOMMAND\fR [\fIARGS\fR]
7+
.SH DESCRIPTION
8+
\fBkci-dev\fR is a command line tool for Linux kernel developers and maintainers
9+
to interact with KernelCI. Purpose of this tool to provide an easy-to-use command line tool
10+
for developers and maintainers request test from KernelCI, view results, download logs,
11+
integrate with scripts, etc.
12+
.SH COMMANDS
13+
.TP
14+
\fBconfig\fR
15+
Create a template configuration file.
16+
.TP
17+
\fBresults\fR
18+
Query KernelCI results and related data.
19+
.TP
20+
\fBcheckout\fR
21+
Checkout allow to test arbitary commit on the KernelCI Pipeline instance.
22+
.TP
23+
\fBwatch\fR
24+
Watch results for a KernelCI node or job.
25+
.TP
26+
\fBmaestro\fR
27+
Interact with Maestro data (for example, results validation).
28+
.SH OPTIONS
29+
Run \fBkci-dev --help\fR for a full list of options and subcommands.
30+
.SH FILES
31+
.TP
32+
\fB/etc/kci-dev.toml\fR
33+
System-wide configuration file.
34+
.TP
35+
\fB~/.config/kci-dev/kci-dev.toml\fR
36+
User configuration file.
37+
.SH EXAMPLES
38+
.TP
39+
\fBkci-dev config\fR
40+
Generate a configuration template.
41+
.TP
42+
\fBkci-dev results summary --giturl <url> --branch <branch> --commit <sha>\fR
43+
Show results summary for a specific kernel commit.
44+
.TP
45+
\fBkci-dev checkout --giturl <url> --branch <branch> --commit <sha>\fR
46+
This command can execute all tests configured for particular tree/branch, or you can provide job-filter to execute specific tests and builds.
47+
.SH SEE ALSO
48+
The full documentation is available at https://kci.dev

debian/kci-dev.manpages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
debian/kci-dev.1

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#!/usr/bin/make -f
22
export PYBUILD_NAME=kcidev
3+
export PYBUILD_SYSTEM=pyproject
34

45
%:
56
dh $@ --buildsystem=pybuild
67

8+
override_dh_auto_install:
9+
dh_auto_install --destdir=debian/kci-dev
10+
711
override_dh_auto_test:
812
@echo "Skipping tests"; true

0 commit comments

Comments
 (0)