zuul-jobs/zuul-tests.d/terraform-jobs-roles.yaml
Alfredo Moralejo 25f110c399 Add CentOS Stream 9 to configure-mirrors role
So that we use AFS mirrors for CS9 nodes.

Closes-Bug: #1959181
Change-Id: I2da3a5e8a45598c6b3ded132ea61b86b4480e262
2022-01-27 15:05:46 +01:00

248 lines
6.9 KiB
YAML

- job:
name: zuul-jobs-test-terraform
parent: terraform-plan
description: Test terraform job
tags: all-platforms
files:
- roles/ensure-terraform/.*
- roles/terraform/.*
- test-playbooks/terraform/.*
- playbooks/terraform/.*
vars:
zuul_work_dir: '{{ zuul.project.src_dir }}/test-playbooks/terraform'
terraform_workspace: testing
terraform_create_workspace: true
terraform_overrides:
- dir: '{{ zuul.project.src_dir }}/test-playbooks/terraform'
content: |
module "test_module" {
source = "./other-module"
}
- job:
name: zuul-jobs-test-terraform-centos-7
description: Test terraform job on centos-7
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: centos-7
label: centos-7
- job:
name: zuul-jobs-test-terraform-centos-8-stream
description: Test terraform job on centos-8-stream
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: centos-8-stream
label: centos-8-stream
- job:
name: zuul-jobs-test-terraform-centos-9-stream
description: Test terraform job on centos-9-stream
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: centos-9-stream
label: centos-9-stream
- job:
name: zuul-jobs-test-terraform-debian-buster
description: Test terraform job on debian-buster
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: debian-buster
label: debian-buster
- job:
name: zuul-jobs-test-terraform-debian-bullseye
description: Test terraform job on debian-bullseye
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: debian-bullseye
label: debian-bullseye
- job:
name: zuul-jobs-test-terraform-fedora-35
description: Test terraform job on fedora-35
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: fedora-35
label: fedora-35
- job:
name: zuul-jobs-test-terraform-opensuse-15
description: Test terraform job on opensuse-15
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: opensuse-15
label: opensuse-15
- job:
name: zuul-jobs-test-terraform-ubuntu-bionic
description: Test terraform job on ubuntu-bionic
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: ubuntu-bionic
label: ubuntu-bionic
- job:
name: zuul-jobs-test-terraform-ubuntu-focal
description: Test terraform job on ubuntu-focal
parent: zuul-jobs-test-terraform
tags: auto-generated
nodeset:
nodes:
- name: ubuntu-focal
label: ubuntu-focal
- job:
name: zuul-jobs-test-terraform-role
parent: terraform-base
run: test-playbooks/terraform/test-terraform-role.yaml
description: Test terraform roles
tags: all-platforms
files:
- roles/ensure-terraform/.*
- roles/terraform/.*
- test-playbooks/terraform/.*
- zuul.d/terraform-jobs.yaml
- playbooks/terraform/.*
vars:
zuul_work_dir: '{{ zuul.project.src_dir }}/test-playbooks/terraform'
terraform_workspace: testing
terraform_overrides:
- dir: '{{ zuul.project.src_dir }}/test-playbooks/terraform'
content: |
module "test_module" {
source = "./other-module"
}
- job:
name: zuul-jobs-test-terraform-role-centos-7
description: Test terraform roles on centos-7
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: centos-7
label: centos-7
- job:
name: zuul-jobs-test-terraform-role-centos-8-stream
description: Test terraform roles on centos-8-stream
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: centos-8-stream
label: centos-8-stream
- job:
name: zuul-jobs-test-terraform-role-centos-9-stream
description: Test terraform roles on centos-9-stream
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: centos-9-stream
label: centos-9-stream
- job:
name: zuul-jobs-test-terraform-role-debian-buster
description: Test terraform roles on debian-buster
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: debian-buster
label: debian-buster
- job:
name: zuul-jobs-test-terraform-role-debian-bullseye
description: Test terraform roles on debian-bullseye
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: debian-bullseye
label: debian-bullseye
- job:
name: zuul-jobs-test-terraform-role-fedora-35
description: Test terraform roles on fedora-35
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: fedora-35
label: fedora-35
- job:
name: zuul-jobs-test-terraform-role-opensuse-15
description: Test terraform roles on opensuse-15
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: opensuse-15
label: opensuse-15
- job:
name: zuul-jobs-test-terraform-role-ubuntu-bionic
description: Test terraform roles on ubuntu-bionic
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: ubuntu-bionic
label: ubuntu-bionic
- job:
name: zuul-jobs-test-terraform-role-ubuntu-focal
description: Test terraform roles on ubuntu-focal
parent: zuul-jobs-test-terraform-role
tags: auto-generated
nodeset:
nodes:
- name: ubuntu-focal
label: ubuntu-focal
- project:
check: &id001
jobs: &id002
- zuul-jobs-test-terraform-centos-7
- zuul-jobs-test-terraform-centos-8-stream
- zuul-jobs-test-terraform-centos-9-stream
- zuul-jobs-test-terraform-debian-buster
- zuul-jobs-test-terraform-debian-bullseye
- zuul-jobs-test-terraform-fedora-35
- zuul-jobs-test-terraform-opensuse-15
- zuul-jobs-test-terraform-ubuntu-bionic
- zuul-jobs-test-terraform-ubuntu-focal
- zuul-jobs-test-terraform-role-centos-7
- zuul-jobs-test-terraform-role-centos-8-stream
- zuul-jobs-test-terraform-role-centos-9-stream
- zuul-jobs-test-terraform-role-debian-buster
- zuul-jobs-test-terraform-role-debian-bullseye
- zuul-jobs-test-terraform-role-fedora-35
- zuul-jobs-test-terraform-role-opensuse-15
- zuul-jobs-test-terraform-role-ubuntu-bionic
- zuul-jobs-test-terraform-role-ubuntu-focal
gate: *id001
periodic-weekly:
jobs: *id002