Add a new job on fedora-28 images to test python3

This patch is creating a new job running on fedora-28 images which
runs scenario-py3.sh to validate python3 builds on fedora.

Job is non-voting.

Additionally this patch is fixing puppetfile to get newer versions,
aligned with what we have in p-o-i.

Change-Id: I404fc6d38dd5177a3aaef51b0450ad2850595e32
This commit is contained in:
Alfredo Moralejo
2018-10-03 19:41:16 +02:00
parent f9e1c99abb
commit 966fcf3250
7 changed files with 134 additions and 19 deletions

View File

@@ -27,6 +27,9 @@ PROJECTS_URL="${GIT_URL}/openstack/governance/plain/reference/projects.yaml"
if [ $(id -u) != 0 ]; then
SUDO='sudo'
fi
type -p dnf && export PKG_MGR=dnf || export PKG_MGR=yum
$SUDO mkdir -p "${DIAG_LOGDIR}"
$SUDO mkdir -p "${CONF_LOGDIR}"
@@ -48,14 +51,14 @@ function get_diag_commands {
'netstat -ntlp'
'pstree -p'
'sysctl -a'
'yum repolist -v'
"$PKG_MGR repolist -v"
'rpm -qa'
'journalctl --no-pager'
'ulimit -n'
)
echo "Installing required RPM packages..."
$SUDO yum -y install coreutils curl file lsof net-tools psmisc
$SUDO $PKG_MGR -y install coreutils curl file lsof net-tools psmisc
echo "Running diagnostic commands..."
for ((i = 0; i < ${#commands[@]}; i++)); do