Christian Kellner
78d9bea92d
container: use latest brew staging repos
...
This is what is deployed in the brew staging area. Be as close as
possible to that.
2020-09-17 15:40:33 +02:00
Christian Kellner
5ab3acd7b1
container+test: match container base to host
...
On Fedora use containers based on Fedora, on RHEL use containers
based on RHEL, so we test the correct integration of the plugins
into the corresponding distribution.
2020-09-17 10:48:37 +02:00
Christian Kellner
2aae1242f8
container: add RHEL container variants
...
Add a RHEL version of container/*/Dockerfile. Uses the internal
repos.
2020-09-17 10:48:37 +02:00
Christian Kellner
0df038c8c5
container: add internal repos
...
One for the latest koji and the other one for RHEL. They are only
accessible from within the internal network.
2020-09-17 10:48:37 +02:00
Christian Kellner
660713a39b
container/builder: configure ssl for plugin
...
Configure the ssl/tls cert verification. Use make-certs.sh and
copy-creds.sh from test/ to put all the ducks in the row for
this to work.
2020-09-17 10:48:37 +02:00
Christian Kellner
569d53c2d9
plugin/builder: use requests python package
...
Use the requests python package, which is more convenient to use,
and also supports sessions, where global options, like TLS certs
can be set.
Adapt the container and the spec file to install and require
the python package.
2020-09-15 18:59:03 +02:00
Christian Kellner
1effdc7a2c
container/hub: sync with script via file
...
Create a file in the hub container the share directory that will
signal to the outside that we are done with the setup.
2020-09-10 18:41:13 +01:00
Christian Kellner
b778133e89
container: support installing via RPMs
...
If the share dir contains rpms in /share/rpms, install those,
instead of using the plugin from the container.
2020-09-10 18:41:13 +01:00
Christian Kellner
af4e66d2b2
plugin/hub: use jsonschema to validate input
...
Use jsonschema to validate the input to the XMLRPC call to catch
mistakes early, i.e. before creating the task.
2020-09-10 18:41:13 +01:00
Christian Kellner
c735ebc6d0
container: support for koji web
...
Install and configure koji web.
2020-09-07 20:38:12 +02:00
Christian Kellner
750bf5421b
container/builder: configure plugin via cfg file
...
Matches the config of the containers.
2020-09-06 20:11:37 +02:00
Christian Kellner
9e2061f6f2
container/builder: add createrepo_c
...
Needed if we wanted to include external repos.
2020-09-05 18:20:24 +02:00
Christian Kellner
5c0965fe9f
move 'make-tags.sh' to the top-level dir
2020-09-05 18:19:55 +02:00
Christian Kellner
7bd3f197a7
run-kojid: also add builder to createrepo channel
...
At least one builder needs to be able to create repos.
2020-09-05 18:14:44 +02:00
Christian Kellner
bbb9acf310
run-kojid: conditionally exec add-host-to-channel
...
Only execute add-host-to-channel if add-host was successful. The
former throws exceptions.
2020-09-05 18:13:01 +02:00
Christian Kellner
814554c34f
Remove old ssl and start scripts
...
Not needed anymore with the move to kerberos and run-koji-container.sh
2020-09-05 16:34:59 +02:00
Christian Kellner
2597569855
container/builder: switch to kerberos auth
...
Instead of using client certificates, use kerberos auth.
2020-09-05 16:31:02 +02:00
Christian Kellner
63355fe0a4
hub: switch to kerberos auth
...
Switch to kerberos aut and also ship ssl.conf, adapted to serve
at localhost and the fqdn, instead of creating it via sed.
2020-09-05 16:29:46 +02:00
Christian Kellner
5d59084ddb
container/hub: align with upstream and scrip
...
Use quay.io/osbuild/koji:v1 and remove db schema generation, now
done in run-koji.cotnainer.sh.
Ensure /mnt/koji has the right permission, but don't create it,
since it is a volume and bind-mounted in.
2020-09-05 16:28:27 +02:00
Christian Kellner
aefe1218b5
initial import
2020-09-02 19:15:25 +02:00