add Gentoo jobs and vars and also fix install test

Based them on fedora-latest jobs

Depends-On: https://review.openstack.org/604677
Depends-On: https://review.openstack.org/604688
Change-Id: I45622ac18685b809a091edba2df96fc8040138a8
changes/39/602439/11
Matthew Thode 4 years ago
parent 068a72c3dd
commit 3b03acabf4
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8

@ -5,8 +5,12 @@
mirror_fqdn: "{{ zuul_site_mirror_fqdn }}"
set_apt_mirrors_trusted: True
post_tasks:
- name: Set emacs package fact for gentoo
set_fact:
emacs_package: app-editors/emacs
when: ansible_distribution == 'Gentoo'
- name: Install a package to sanity check the mirror configuration
package:
name: "emacs"
name: "{{ emacs_package | default('emacs') }}"
state: "present"
become: yes

@ -24,8 +24,8 @@
- iptables --flush
- ip6tables --flush
# NOTE (dmsimard): We're using with_items here because RedHat needs to
# restart both iptables and ip6tables.
# NOTE (dmsimard): We're using with_items here because RedHat and Gentoo
# need to restart both iptables and ip6tables.
- name: Restart iptables
become: yes
service:

@ -0,0 +1,3 @@
iptables_service:
- iptables-restore
- ip6tables-restore

@ -44,6 +44,11 @@
parent: openstack-infra-base-integration
nodeset: fedora-latest
- job:
name: openstack-infra-base-integration-gentoo-17-0-systemd
parent: openstack-infra-base-integration
nodeset: gentoo-17-0-systemd
- job:
name: openstack-infra-base-integration-opensuse423
parent: openstack-infra-base-integration
@ -153,6 +158,23 @@
nodes:
- secondary
- job:
name: openstack-infra-multinode-integration-gentoo-17-0-systemd
parent: openstack-infra-multinode-integration
nodeset:
nodes:
- name: primary
label: gentoo-17-0-systemd
- name: secondary
label: gentoo-17-0-systemd
groups:
- name: switch
nodes:
- primary
- name: peers
nodes:
- secondary
- job:
name: openstack-infra-multinode-integration-opensuse423
parent: openstack-infra-multinode-integration

@ -17,6 +17,12 @@
- name: fedora-28
label: fedora-28
- nodeset:
name: gentoo-17-0-systemd
nodes:
- name: gentoo-17-0-systemd
label: gentoo-17-0-systemd
- nodeset:
name: opensuse-423
nodes:

@ -7,6 +7,7 @@
- openstack-infra-base-integration-centos-7
- openstack-infra-base-integration-debian-stable
- openstack-infra-base-integration-fedora-latest
- openstack-infra-base-integration-gentoo-17-0-systemd
- openstack-infra-base-integration-ubuntu-bionic
- openstack-infra-base-integration-ubuntu-trusty
- openstack-infra-base-integration-ubuntu-xenial
@ -16,6 +17,7 @@
- openstack-infra-multinode-integration-centos-7
- openstack-infra-multinode-integration-debian-stable
- openstack-infra-multinode-integration-fedora-latest
- openstack-infra-multinode-integration-gentoo-17-0-systemd
- openstack-infra-multinode-integration-ubuntu-bionic
- openstack-infra-multinode-integration-ubuntu-trusty
- openstack-infra-multinode-integration-ubuntu-xenial
@ -28,6 +30,7 @@
- openstack-infra-base-integration-centos-7
- openstack-infra-base-integration-debian-stable
- openstack-infra-base-integration-fedora-latest
- openstack-infra-base-integration-gentoo-17-0-systemd
- openstack-infra-base-integration-ubuntu-bionic
- openstack-infra-base-integration-ubuntu-trusty
- openstack-infra-base-integration-ubuntu-xenial
@ -35,6 +38,7 @@
- openstack-infra-multinode-integration-centos-7
- openstack-infra-multinode-integration-debian-stable
- openstack-infra-multinode-integration-fedora-latest
- openstack-infra-multinode-integration-gentoo-17-0-systemd
- openstack-infra-multinode-integration-ubuntu-bionic
- openstack-infra-multinode-integration-ubuntu-trusty
- openstack-infra-multinode-integration-ubuntu-xenial

Loading…
Cancel
Save