debian-koji-osbuild/make-tags.sh
Christian Kellner b9c3a3d2f9 all: sync with composer changes
Upstream composer has introduce a few changes that we need to
adapt for:

 - the koji composer API is now exposed on the standard https
   port (443). Thus koji hub and web need to move to a different
   pair: 8080 (http) and 4343 (https). Change the scripts and
   tests for that

 - the koji API gained a prefix 'api/composer-koji/v1/'. Change
   client and unit tests to use that prefix. Use urljoin to
   create new APIs

 - composer configuration format (osbuild-composer.toml) has
   changed and now also includes configuration for the CA
   and allowed domains

 - update the composer RPM repositories to the commit for the
   21 upstream release.
2020-09-25 22:33:31 +01:00

14 lines
444 B
Bash
Executable file

#!/usr/bin/sh
set -ux
KOJI="koji --server=http://localhost:8080/kojihub --user=kojiadmin --password=kojipass --authtype=password"
$KOJI add-tag f32
$KOJI add-tag --parent f32 f32-candidate
$KOJI add-tag --parent f32 --arches=x86_64 f32-build
$KOJI add-target f32-candidate f32-build f32-candidate
$KOJI add-pkg --owner kojiadmin f32-candidate Fedora-Cloud
$KOJI add-pkg --owner kojiadmin f32-candidate RHEL-Cloud
$KOJI regen-repo f32-build