add Gentoo jobs as non-voting
Depends-On: https://review.openstack.org/608325 Depends-On: https://review.openstack.org/608393 Depends-On: https://review.openstack.org/633092 Depends-On: https://review.openstack.org/633093 Depends-On: https://review.openstack.org/633152 Depends-On: https://review.openstack.org/633289 Depends-On: https://review.openstack.org/633394 Depends-On: https://review.openstack.org/633385 Depends-On: https://review.openstack.org/633423 Depends-On: https://review.openstack.org/633424 Change-Id: I8ca881dc47ae26de0caee75385e302396c99bf42
This commit is contained in:
parent
657dbf8492
commit
63dbdfe819
|
@ -44,6 +44,9 @@ openssl-devel [platform:rpm]
|
|||
python-devel [platform:rpm]
|
||||
python2-dnf [platform:fedora]
|
||||
|
||||
# Base requirements for Gentoo
|
||||
git [platform:gentoo]
|
||||
|
||||
# For SELinux
|
||||
libselinux-python [platform:redhat]
|
||||
libsemanage-python [platform:redhat]
|
||||
|
|
|
@ -59,7 +59,8 @@ case ${ID,,} in
|
|||
*suse*) pkg_mgr_cmd="zypper -n in" ;;
|
||||
centos|rhel|fedora) pkg_mgr_cmd="${RHT_PKG_MGR} install -y" ;;
|
||||
ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;;
|
||||
gentoo) pkg_mgr_cmd="emerge" ;;
|
||||
# Gentoo needs to have version set since it's rolling
|
||||
gentoo) pkg_mgr_cmd="emerge --jobs=4"; VERSION="rolling" ;;
|
||||
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -61,7 +61,8 @@ case "${ID,,}" in
|
|||
sudo apt-get update
|
||||
;;
|
||||
gentoo)
|
||||
sudo emaint-sync -A
|
||||
pkg_list="app-misc/ca-certificates sys-apps/lsb-release dev-python/pyopenssl"
|
||||
sudo emerge-webrsync
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported distribution: ${ID,,}"
|
||||
|
|
|
@ -113,7 +113,15 @@ function repo_information {
|
|||
elif eval sudo ${lxc_cmd} which apt-get &> /dev/null; then
|
||||
eval sudo ${lxc_cmd} apt-cache policy | grep http | awk '{print $1" "$2" "$3}' | sort -u > "${WORKING_DIR}/logs/ubuntu-apt-repolist-${1}.txt" || true
|
||||
eval sudo ${lxc_cmd} apt list --installed > "${WORKING_DIR}/logs/ubuntu-apt-list-installed-${1}.txt" || true
|
||||
|
||||
# Gentoo package debugging
|
||||
elif eval sudo ${lxc_cmd} which emerge &> /dev/null; then
|
||||
# list installed packages
|
||||
eval sudo ${lxc_cmd} equery list "*" > "${WORKING_DIR}/logs/gentoo-portage-list-installed-${1}.txt" || true
|
||||
# list only packages called for install (not dependancies)
|
||||
eval sudo ${lxc_cmd} cat /var/lib/portage/world > "${WORKING_DIR}/logs/gentoo-portage-list-manual-installed-${1}.txt" || true
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
function store_artifacts {
|
||||
|
|
|
@ -184,6 +184,23 @@
|
|||
vars:
|
||||
tox_env: distro_install
|
||||
|
||||
- job:
|
||||
name: openstack-ansible-upgrade-gentoo-17-0-systemd
|
||||
parent: openstack-ansible-upgrade
|
||||
nodeset: gentoo-17-0-systemd
|
||||
|
||||
- job:
|
||||
name: openstack-ansible-functional-gentoo-17-0-systemd
|
||||
parent: openstack-ansible-functional
|
||||
nodeset: gentoo-17-0-systemd
|
||||
|
||||
- job:
|
||||
name: openstack-ansible-functional-distro_install-gentoo-17-0-systemd
|
||||
parent: openstack-ansible-functional
|
||||
nodeset: gentoo-17-0-systemd
|
||||
vars:
|
||||
tox_env: distro_install
|
||||
|
||||
- job:
|
||||
name: openstack-ansible-functional-centos-7
|
||||
parent: openstack-ansible-functional
|
||||
|
|
|
@ -9,12 +9,16 @@
|
|||
voting: false
|
||||
- openstack-ansible-functional-opensuse-423:
|
||||
voting: false
|
||||
- openstack-ansible-functional-gentoo-17-0-systemd:
|
||||
voting: false
|
||||
- openstack-ansible-functional-ubuntu-bionic
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-ansible-linters
|
||||
- openstack-ansible-functional-centos-7
|
||||
# - openstack-ansible-functional-opensuse-423
|
||||
- openstack-ansible-functional-gentoo-17-0-systemd:
|
||||
voting: false
|
||||
- openstack-ansible-functional-ubuntu-bionic
|
||||
experimental:
|
||||
jobs:
|
||||
|
@ -29,6 +33,8 @@
|
|||
- openstack-ansible-upgrade-opensuse-150:
|
||||
voting: false
|
||||
- openstack-ansible-upgrade-opensuse-423
|
||||
- openstack-ansible-upgrade-gentoo-17-0-systemd:
|
||||
voting: false
|
||||
# TODO(mnaser): Make this voting once we release Rocky
|
||||
- openstack-ansible-upgrade-ubuntu-bionic:
|
||||
voting: false
|
||||
|
@ -37,6 +43,8 @@
|
|||
jobs:
|
||||
- openstack-ansible-upgrade-centos-7
|
||||
# - openstack-ansible-upgrade-opensuse-423
|
||||
- openstack-ansible-upgrade-gentoo-17-0-systemd:
|
||||
voting: false
|
||||
- openstack-ansible-upgrade-ubuntu-xenial
|
||||
|
||||
- project-template:
|
||||
|
@ -51,8 +59,12 @@
|
|||
voting: false
|
||||
- openstack-ansible-functional-distro_install-opensuse-423:
|
||||
voting: false
|
||||
- openstack-ansible-functional-distro_install-gentoo-17-0-systemd:
|
||||
voting: false
|
||||
- openstack-ansible-functional-distro_install-ubuntu-bionic:
|
||||
voting: false
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-ansible-functional-distro_install-centos-7
|
||||
- openstack-ansible-functional-distro_install-gentoo-17-0-systemd:
|
||||
voting: false
|
||||
|
|
Loading…
Reference in New Issue