diff --git a/tests/base.yaml b/tests/base.yaml new file mode 100644 index 00000000..0989d039 --- /dev/null +++ b/tests/base.yaml @@ -0,0 +1,3 @@ +# Roles that are part of the 'base' job + +- include: configure-mirrors.yaml diff --git a/tests/configure-mirrors.yaml b/tests/configure-mirrors.yaml new file mode 100644 index 00000000..5e05e3aa --- /dev/null +++ b/tests/configure-mirrors.yaml @@ -0,0 +1,11 @@ +- name: Test the configure-mirrors role + hosts: all + roles: + - role: configure-mirrors + mirror_fqdn: "{{ zuul_site_mirror_fqdn }}" + post_tasks: + - name: Install a package to sanity check the mirror configuration + package: + name: "emacs" + state: "present" + become: yes diff --git a/zuul.yaml b/zuul.yaml index 0ba7e121..ed0ffb9c 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -3,6 +3,58 @@ # https://git.openstack.org/cgit/openstack-infra/project-config # https://git.openstack.org/cgit/openstack-infra/zuul-jobs +- job: + name: base-integration + description: | + Runs roles that are included by default in the 'base' job in order to + prevent regressions. + parent: base-minimal + roles: + - zuul: openstack-infra/zuul-jobs + run: tests/base + +- job: + name: base-integration-centos-7 + parent: base-integration + nodes: + - name: centos-7 + label: centos-7 + +- job: + name: base-integration-debian-jessie + parent: base-integration + nodes: + - name: debian-jessie + label: debian-jessie + +- job: + name: base-integration-fedora-26 + parent: base-integration + nodes: + - name: fedora-26 + label: fedora-26 + +- job: + name: base-integration-opensuse423 + parent: base-integration + nodes: + - name: opensuse-423 + label: opensuse-423 + +- job: + name: base-integration-ubuntu-trusty + parent: base-integration + nodes: + - name: ubuntu-trusty + label: ubuntu-trusty + +- job: + name: base-integration-ubuntu-xenial + parent: base-integration + nodes: + - name: ubuntu-xenial + label: ubuntu-xenial + - job: name: openstack-doc-build parent: tox-docs