gentoo-ansible-portage: set of scripts and playbooks to develop gentoo packages in containers
- Python 86.7%
- Shell 13.3%
| .gitignore | Add capability to copy over portage user patches | |
| ansible.cfg | Must be cleaned up manually | |
| create-images.sh | Tarball names have changed, adapt. | |
| hosts | Python versions come and go, don't hardcode | |
| install-package.yml | Add capability to copy over portage user patches | |
| latest-stage3.py | Correct-er method for creating images, playbooks | |
| package.use.force.symlinks | Dependencies, fix to python runtime | |
| prepare-containers.yml | Now, get rid of rust-bin after building rust locally, and clean packages that ought not to be needed | |
| readme.md | readme | |
| remove-containers.yml | Now it should be more respectable | |
gentoo-ansible-podman
Purpose
Create testing environment for package development. In containers. Automatically install and run tests on target packages.
Usage
- Fill
.envfile with path for a clone of gentoo package repo and empty source archive cache folder:
repos: /path/to/gentoo/repository
distcache: /path/to/gentoo/distcache
- Run
./create-images.sh, it will download four stage 3 tarballs and create images from that. - Run
ansible-playbook prepare-containers.ymlto create containers and update their content. - Switch to branch with package to test in repository clone.
- Run
ansible-playbook install-package.yml -e package=category/package, this should build, test, install and remove package, to verify it is working correctly.