Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Make Debian Package
name: Create Debian Package

on:
push:
Expand All @@ -9,7 +9,7 @@ permissions:
contents: write

jobs:
build-dsc:
build-deb:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -39,32 +39,27 @@ jobs:
HEAD

- name: Build Debian package
run: debuild -S -us -uc --lintian-opts --profile debian
run: debuild -b -us -uc --lintian-opts --profile debian

- name: Collect Debian artifacts for development
- name: Collect Debian artifacts
run: |
mkdir -p artifacts
shopt -s nullglob
for file in ../kci-dev_*; do
mv "$file" artifacts/
done

- name: Upload Debian artifacts for development
- name: Upload Debian artifact to the workflow
uses: actions/upload-artifact@v4
with:
name: kci-dev-debian-source
name: kci-dev-debian-package
path: artifacts/

- name: Upload Debian source to GitHub Release on new tag
- name: Upload Debian package to GitHub Release on new tag
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
files: |
artifacts/kci-dev_*.dsc
artifacts/kci-dev_*.orig.tar.*
artifacts/kci-dev_*debian.tar.*
artifacts/kci-dev_*_source.buildinfo
artifacts/kci-dev_*_source.changes
files: artifacts/*
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kci-dev (0.1.9-1) unstable; urgency=medium
* New upstream release.
* Update to version 0.1.9.

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

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

Expand Down
23 changes: 23 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: kci-dev
Upstream-Contact: Arisu Tachibana <arisu.tachibana@miraclelinux.com>
Source: https://pypi.org/project/kci-dev/

Files: *
Copyright: 2023-2025 Arisu Tachibana <arisu.tachibana@miraclelinux.com>
License: LGPL-2.1+
This package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-2.1".
48 changes: 48 additions & 0 deletions debian/kci-dev.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
.TH kci-dev 1 "December 2025" "kci-dev 0.1.9" "User Commands"
.SH NAME
kci-dev \- Stand alone command line tool for interacting with KernelCI
.SH SYNOPSIS
.B kci-dev
[\fIOPTIONS\fR] \fICOMMAND\fR [\fIARGS\fR]
.SH DESCRIPTION
\fBkci-dev\fR is a command line tool for Linux kernel developers and maintainers
to interact with KernelCI. Purpose of this tool to provide an easy-to-use command line tool
for developers and maintainers request test from KernelCI, view results, download logs,
integrate with scripts, etc.
.SH COMMANDS
.TP
\fBconfig\fR
Create a template configuration file.
.TP
\fBresults\fR
Query KernelCI results and related data.
.TP
\fBcheckout\fR
Checkout allow to test arbitary commit on the KernelCI Pipeline instance.
.TP
\fBwatch\fR
Watch results for a KernelCI node or job.
.TP
\fBmaestro\fR
Interact with Maestro data (for example, results validation).
.SH OPTIONS
Run \fBkci-dev --help\fR for a full list of options and subcommands.
.SH FILES
.TP
\fB/etc/kci-dev.toml\fR
System-wide configuration file.
.TP
\fB~/.config/kci-dev/kci-dev.toml\fR
User configuration file.
.SH EXAMPLES
.TP
\fBkci-dev config\fR
Generate a configuration template.
.TP
\fBkci-dev results summary --giturl <url> --branch <branch> --commit <sha>\fR
Show results summary for a specific kernel commit.
.TP
\fBkci-dev checkout --giturl <url> --branch <branch> --commit <sha>\fR
This command can execute all tests configured for particular tree/branch, or you can provide job-filter to execute specific tests and builds.
.SH SEE ALSO
The full documentation is available at https://kci.dev
1 change: 1 addition & 0 deletions debian/kci-dev.manpages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/kci-dev.1
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/usr/bin/make -f
export PYBUILD_NAME=kcidev
export PYBUILD_SYSTEM=pyproject

%:
dh $@ --buildsystem=pybuild

override_dh_auto_install:
dh_auto_install --destdir=debian/kci-dev

override_dh_auto_test:
@echo "Skipping tests"; true