Skip to content

Commit 2a140c9

Browse files
committed
CI: Add matrix for several deployment configs
1 parent d713993 commit 2a140c9

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
ceph: false
3+
ceph_ansible: false
4+
ceph_managed: false
5+
ironic: false
6+
ironic_automated_cleaning: true
7+
kayobe_manages_physical_network: true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
ceph: true
3+
ceph_ansible: false
4+
ceph_managed: false
5+
ironic: true
6+
ironic_automated_cleaning: false
7+
kayobe_manages_physical_network: false
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
ceph: true
3+
ceph_ansible: false
4+
ceph_managed: false
5+
ironic: true
6+
ironic_automated_cleaning: true
7+
kayobe_manages_physical_network: true

.github/workflows/pull_request.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ jobs:
66
build:
77
name: Build OpenStack admin guide
88
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
deployment_yaml:
12+
- __default__
13+
- disable-ceph
14+
- enable-ironic
15+
- enable-ironic-no-cleaning-or-physnet
916
steps:
1017
- uses: actions/checkout@v3
1118

@@ -16,5 +23,9 @@ jobs:
1623
- name: Install Python dependencies
1724
run: pip3 install -r requirements.txt
1825

26+
- name: Copy deployment.yml into place
27+
run: cp .github/workflows/deployment_yaml/${{ matrix.deployment_yaml }}.yml source/data/deployment.yml
28+
if: matrix.deployment_yaml != '__default__'
29+
1930
- name: Build HTML
2031
run: make html

0 commit comments

Comments
 (0)