1
0
Fork
You've already forked gap
0
gentoo-ansible-portage: set of scripts and playbooks to develop gentoo packages in containers
  • Python 86.7%
  • Shell 13.3%
Find a file
2026年07月09日 20:20:55 +03:00
.gitignore Add capability to copy over portage user patches 2026年07月07日 22:54:28 +03:00
ansible.cfg Must be cleaned up manually 2026年02月07日 22:45:58 +03:00
create-images.sh Tarball names have changed, adapt. 2026年03月16日 19:27:31 +03:00
hosts Python versions come and go, don't hardcode 2026年06月04日 10:38:47 +03:00
install-package.yml Add capability to copy over portage user patches 2026年07月07日 22:54:28 +03:00
latest-stage3.py Correct-er method for creating images, playbooks 2026年02月07日 18:59:35 +03:00
package.use.force.symlinks Dependencies, fix to python runtime 2026年03月18日 21:50:14 +03:00
prepare-containers.yml Now, get rid of rust-bin after building rust locally, and clean packages that ought not to be needed 2026年07月09日 20:20:55 +03:00
readme.md readme 2026年03月16日 19:44:25 +03:00
remove-containers.yml Now it should be more respectable 2026年02月07日 19:39:58 +03:00

gentoo-ansible-podman

Purpose

Create testing environment for package development. In containers. Automatically install and run tests on target packages.

Usage

  1. Fill .env file 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
  1. Run ./create-images.sh, it will download four stage 3 tarballs and create images from that.
  2. Run ansible-playbook prepare-containers.yml to create containers and update their content.
  3. Switch to branch with package to test in repository clone.
  4. Run ansible-playbook install-package.yml -e package=category/package, this should build, test, install and remove package, to verify it is working correctly.