Skip to content

Releases: tcler/bkr-client-improved

v1.1.0-20260410 released

Choose a tag to compare

@tcler tcler released this 10 Apr 07:29

This may be the last release; the project has completed its historical mission.

What's Changed

  • bkr-runtest support Fedora-43/44 (fix issues after tcl-8.6 updated to tcl-9.0)
  • jira-utils scripts adapt new Jira-Cloud based changes
  • wapp-trms.tcl: fix bugs, webUI continue optimize
  • others:
    • bkr-runtest/gen_job_xml fix autopart issue on image mode by @HouMinXi in #99
    • bkr-runtest/gen_job_xml strick copy beaker configuration when disable autopart by @HouMinXi in #101
    • utils/brewinstall.sh Compatible with rt-64k kernel variants by @HouMinXi in #102
    • utils/brewinstall.sh v2 Supports scenarios involving mixed use of RTK and 64K by @HouMinXi in #103
    • utils/brewinstall.sh enhancement image mode testing by @HouMinXi in #104
    • bkr-runtest/gen_job_xml fix ks_append inherits no_autopart to other role by @HouMinXi in #105
    • utils/sshbkr fix Tilde Substitution issue by @HouMinXi in #106
    • brewinstall.sh Use the _disable_buildroot array to track whether the brew-buildroot repo needs to be disabled. by @HouMinXi in #107
    • Mhou tmp branch by @HouMinXi in #113
    • utils/brewinstall.sh fix shellcheck issue by @HouMinXi in #114

more details, see:
Full Changelog: v1.0.0-20251122...v1.1.0-20260410

v1.0.0-20251122 release

Choose a tag to compare

@tcler tcler released this 21 Nov 15:21

What's Changed

  • Refactor the bkr-test-robot web application with AI assistance
  • utils/brewinstall.sh fix some http page only return &gt char by @HouMinXi in #77
  • enable group-owner parameter for CI testing by @HouMinXi in #78
  • bkr-runtest/bkr-runtest enable groupOwner in bkr-runtest.conf by @HouMinXi in #80
  • utils/brewkoji_install.sh update repo to rhel10 by @HouMinXi in #82
  • utils/brewkoji_install.sh fix install brew issue by @HouMinXi in #83
  • enable bootc options by @HouMinXi in #85
  • utils/brewkoji_install.sh install coreutils to aviod package lost in container env by @HouMinXi in #86
  • brewinstall.sh since image mode run above rhel9, it can use ls --time… by @HouMinXi in #87
  • utils/sshbkr remove -Y options becasue almost beaker server forbidden X11 forward. by @HouMinXi in #88
  • bkr-runtest/gen_job_xml fix the client site have redunant PART_MPS on mutihost task by @HouMinXi in #90
  • utils/brewkoji_install.sh fix install koji failed issue by @HouMinXi in #91
  • utils/brewinstall.sh add nfs moudle when build image mode and improve kernel-*-debug installation by @HouMinXi in #92
  • brewinstall.sh don't auto remove other non-kernel packages by @HouMinXi in #93
  • utils/brewinstall.sh fix install default kernel-rt-debug package by @HouMinXi in #94
  • enhancement bootc/bootc-direct by @HouMinXi in #96
  • Update beaker-client_install.sh by @FineFan in #97
  • bkr-runtest/gen_job_xml: use the force by @jtluka in #98

New Contributors

Full Changelog: v0.9.20-20240704...v1.0.0-20251122

v0.9.20-20240704 release

Choose a tag to compare

@tcler tcler released this 04 Jul 12:24

What's Changed

Full Changelog: v0.9.12-20230922...v0.9.20-20240704

v0.9.12-20230922 release

Choose a tag to compare

@tcler tcler released this 22 Sep 07:27

v0.9.10-20230816 released

Choose a tag to compare

@tcler tcler released this 16 Aug 14:14

Summary of Major Changes:

  • improve and perfect the restraint plugins scripts
  • lstest: add --metaf option to convert legacy test case to new style that use 'metadata' instead 'Makefile'
  • improve bkr-runtest
  • bug fixes

Full Changelog: v0.9.9-20230728...v0.9.10-20230816

v0.9.9-20230728 released

Choose a tag to compare

@tcler tcler released this 28 Jul 13:52

New features:

  1. runtest: switch to fetch-url mode
  2. lstest: support metadata file
  3. default-ks.conf: add restraint plugin to support task requires install from same/different repo
  4. bug fix, and many code optimize

v0.9.8-20220806

Choose a tag to compare

@tcler tcler released this 05 Aug 11:05

Change:

  1. split vmcreate and related scripts into separate repo(kiss-vm)
  2. add bkr-update.sh
  3. adapt latest rhel-8/rhel-9/fedora-36
  4. bug fixes and code optimize

TODO:

  1. use Wapp instead Wub
  2. support restraint standalone mode

Full Changelog: v0.9.6-20211130...v0.9.8-20220806

v0.9.6-20211130

Choose a tag to compare

@tcler tcler released this 30 Nov 08:50

last release that support RHEL-7 and RHEL-6

sub-project vmcreate v1.0 release

Pre-release

Choose a tag to compare

@tcler tcler released this 25 Nov 08:37
  1. vmcreate is a tool that used to quickly start/create an VM instance of specified distro,
    instead reserve from beaker;
sudo curl -s -o /usr/local/bin/vm -L https://raw.githubusercontent.com/tcler/bkr-client-improved/master/utils/vmcreate
sudo chmod +x /usr/local/bin/vm

vm Fedora-31
# or
vm RHEL-8.1.0 -p "vim git wget" -b "kernel-5.4.0-0.rc4.1.elrdy"
# or
vm centos-8 -l http://mirror.centos.org/centos/8/BaseOS/x86_64/os/ -p "vim gcc make"
# or
vm centos-7 -i https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2.xz  -p "$pkgs"
# or
vm debian-10 -i https://cdimage.debian.org/cdimage/openstack/10.1.5-20191015/debian-10.1.5-20191015-openstack-amd64.qcow2 --force -p "curl tcl tclx tdom"
  1. vmcreate could also be used to create your own VM image release
sudo curl -s -o /usr/local/bin/vm -L https://raw.githubusercontent.com/tcler/bkr-client-improved/master/utils/vmcreate
sudo chmod +x /usr/local/bin/vm

vm RHEL-8.1.0 -genimage -p "vim git gcc"
# will generate qcow2.xz file in ~/myimages/RHEL-8.1.0/
  1. Usage info:
$ vm -h
Usage:
    vm [subcmd] <-d distroname> [OPTIONs] ...

Options:
    -h, --help     #Display this help.
    -I             #create VM by import existing disk image, auto search url according distro name
                    `-> just could be used in Intranet
    -i <url/path>  #create VM by import existing disk image, value can be url or local path
    -L             #create VM by using location, auto search url according distro name
                    `-> just could be used in Intranet
    -l <url>       #create VM by using location
    --ks <file>    #kickstart file, will auto generate according distro name if omitting
    -n|--vmname <name>
                   #VM name, will auto generate according distro name if omitting
    -f|--force     #over write existing VM with same name
    -p|-pkginstall <pkgs>
                   #pkgs in default system repo, install by yum or apt-get
    -b|-brewinstall <args>
                   #pkgs in brew system or specified by url, install by internal brewinstall.sh
                    `-> just could be used in Intranet
    -g|-genimage   #generate VM image, after install shutdown VM and generate new qcow2.xz file
    --rm           #like --rm option of docker/podman, remove VM after quit from console
    --nocloud|--nocloud-init
                   #don't create cloud-init iso for the image that is not cloud image
    --osv <variant>
                   #OS_VARIANT, optional. virt-install will attempt to auto detect this value
                   # you can get [-osv variant] info by using:
                   $ osinfo-query os  #RHEL-7 and later
                   $ virt-install --os-variant list  #RHEL-6
    --nointeract   #exit from virsh console after install finish
    --saveimage [path]
                   #save image in path if install with import mode
    --cpus <N>     #number of virtual cpus, default 4
    --msize <size> #memory size, default 2048
    --dsize <size> #disk size, default 16
    --net <$name>  #join libvirt net $name
    --netmacvtap [source NIC]
                   #attach a macvtap interface
    --macvtapmode <vepa|bridge>
                   #macvtap mode
    -r|--ready     #virt config is ready, don't have to run enable_libvirt function
    --xdisk        #add 2 extra disk for test
    --nvdimm       #add 2 nvdimm device(2048+2M) //need qemu >= v2.6.0(RHEL/CentOS 8.0 or later)
    --nosshkey     #don't inject sshkey

Example Intranet:
    vm # will enter a TUI show you all available distros that could auto generate source url
    vm RHEL-6.10 -L
    vm RHEL-7.7
    vm RHEL-8.1.0 -f -p "vim wget git"
    vm RHEL-8.1.0 -L -brewinstall 23822847  # brew scratch build id
    vm RHEL-8.1.0 -L -brewinstall kernel-4.18.0-147.8.el8  # brew build name
    vm RHEL-8.1.0 -L -brewinstall "lstk -debug"            # latest brew build release debug kernel
    vm RHEL-8.2.0-20191024.n.0 -g -b "upk -debug"          # latest brew build upstream debug kernel

Example Internet:
    vm centos-5 -l http://vault.centos.org/5.11/os/x86_64/
    vm centos-6 -l http://mirror.centos.org/centos/6.10/os/x86_64/
    vm centos-7 -l http://mirror.centos.org/centos/7/os/x86_64/
    vm centos-8 -l http://mirror.centos.org/centos/8/BaseOS/x86_64/os/
    vm centos-8 -l http://mirror.centos.org/centos/8/BaseOS/x86_64/os/ -brewinstall ftp://url/path/x.rpm
    vm centos-7 -i https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2.xz -pkginstall "vim git wget"
    vm debian-10 -i https://cdimage.debian.org/cdimage/openstack/10.1.5-20191015/debian-10.1.5-20191015-openstack-amd64.qcow2

Example from local image:
    vm rhel-8-up -i ~/myimages/RHEL-8.1.0-20191015.0/rhel-8-upstream.qcow2.xz --nocloud-init
    vm debian-10 -i /mnt/vm-images/debian-10.1.5-20191015-openstack-amd64.qcow2

Example [subcmd]:
    vm list              #list all VMs       //you can use ls,li,lis* instead list
    vm login [/c] [VM]   #login VM           //you can use l,lo,log* instead login
    vm delete [VM list]  #delete VMs         //you can use d,de,del*,r,rm instead delete
    vm ifaddr [VM]       #show ip address    //you can use i,if,if* instead ifaddr
    vm vncport [VM]      #show vnc host:port //you can use v,vnc instead vncport
    vm edit [VM]         #edit vm xml file   //you can use ed,ed* instead edit
    vm exec "$VM" -- "cmd"  #login VM and exec cmd  //you can use e,ex,ex* instead exec

    vm net               #list all virtual network
    vm net netname=testnet brname=virbrN subnet=100  #create virtual network 'testnet'
    vm netinfo testnet   #show detail info of virtual network 'testnet'
    vm netdel testnet    #delete virtual network 'testnet'

v0.9-20170728: bkr-autorun-diff.sh: update support diff runs in different db files

Choose a tag to compare

@tcler tcler released this 28 Jul 09:35

This is a stable release