Kraken
Kraken
This is about improving and documenting Santa's 'tritemio' private infrastructure so other developers could replicate its installation and use it for home-made test rebuilds. This would be useful for packaging and Kubuntu Automation maintenance. It could be also used for the new CI, see the Operation Mechanical Octopus
There is a WIP setup guide maintained here:
https://code.launchpad.net/~tritemio-maintainers/tritemio/+git/setup-guide
It's written in Sphinx.
There is also:
- an obsolete git repository with most of the needed configuration files and scripts to follow the steps explained in the guide: https://code.launchpad.net/~tritemio-maintainers/tritemio/+git/tritemio-misc-files
- a puppet module meant to automatically deploy all the packages, configuration files and other elements neded for setting up your own tritemio infra: https://code.launchpad.net/~tritemio-maintainers/tritemio/+git/tritemio_puppet
Implementation progress
DONE
Pre-requisites:
- Import the build status page of tritemio in KA's git.
- Create a Launchpad Team/Project to handle the custom packages needed
- Project: https://launchpad.net/tritemio
- Team: https://launchpad.net/~tritemio-maintainers
- Git repositories: https://code.launchpad.net/~tritemio-maintainers/+git
- Various chapters of the setup guide, explaining how to setup the LXD containers and reprepro.
- Check the status of the wannabuild triggers
- Check the status of the chroot creation scripts
Use the KABuildLogParser class in tritemio-build-status(this would be done as part of the Iron Hand)
Kubuntu Automation needed features:
- Make configurable for 'tritemio-build-status':
- Host name providing the Wannabuild PostgreSQL database
- Port for the Wannabuild PostgreSQL database
- User name for the Wannabuild PostgreSQL database
- Database name for the Wannabuild PostgreSQL database
- Password (if any) for the Wannabuild PostgreSQL database
- Local path where the build logs are stored
Architecture set; default = amd64, i386
- Create a new script 'tritemio-remove' to clean up old packages from reprepro
- Create a new 'gbp-tritemio' script, similar to 'gbp-ppa', but this one would retrieve the latest package revision from the Wannabuild PostgreSQL database configured above.
Misc
- Update all containers to bionic (18.04)
- Migrated buildd containers to jammy (22.04) using Puppet
WIP
- Finish the tritemio_puppet module
- Migrate and split wb container to jammy (22.04) using Puppet, it would be split into:
- reprepro
- wannabuild
- build-status
TODO
- Update guide current contents for jammy and use Puppet
- Update guide explaining how to use Puppet to deploy the setup