Skip to content

Commit 90294ac

Browse files
committed
fix molecule instance creation for RL9
1 parent e7fe903 commit 90294ac

File tree

17 files changed

+56
-56
lines changed

17 files changed

+56
-56
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: CI
3-
on:
3+
'on':
44
pull_request:
55
push:
66
branches:
@@ -56,7 +56,7 @@ jobs:
5656

5757
- name: Install test dependencies.
5858
run: |
59-
pip3 install -U ansible molecule-podman yamllint ansible-lint
59+
pip3 install -U pip ansible>=2.9.0 molecule-plugins[podman] yamllint ansible-lint
6060
ansible-galaxy collection install containers.podman:>=1.10.1 # otherwise get https://github.com/containers/ansible-podman-collections/issues/428
6161
6262
- name: Display ansible version

molecule/test1/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: /sbin/init
22+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: /sbin/init
34+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test10/molecule.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ platforms:
88
groups:
99
- testohpc_login
1010
- initial
11-
command: /sbin/init
11+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1212
tmpfs:
1313
- /run
1414
- /tmp
@@ -21,7 +21,7 @@ platforms:
2121
groups:
2222
- testohpc_compute
2323
- initial
24-
command: /sbin/init
24+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2525
tmpfs:
2626
- /run
2727
- /tmp
@@ -34,7 +34,7 @@ platforms:
3434
groups:
3535
- testohpc_compute
3636
- initial
37-
command: /sbin/init
37+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3838
tmpfs:
3939
- /run
4040
- /tmp
@@ -46,7 +46,7 @@ platforms:
4646
pre_build_image: true
4747
groups: # NB this is NOT in the "testohpc_compute" so that it isn't added to slurm.conf initially
4848
- new
49-
command: /sbin/init
49+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
5050
tmpfs:
5151
- /run
5252
- /tmp

molecule/test11/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -21,7 +21,7 @@ platforms:
2121
- testohpc_compute
2222
- testohpc_compute_orig
2323
- testohpc_compute_new
24-
command: /sbin/init
24+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2525
tmpfs:
2626
- /run
2727
- /tmp
@@ -34,7 +34,7 @@ platforms:
3434
groups:
3535
- testohpc_compute
3636
- testohpc_compute_orig
37-
command: /sbin/init
37+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3838
tmpfs:
3939
- /run
4040
- /tmp

molecule/test12/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: /sbin/init
22+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: /sbin/init
34+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test13/molecule.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_control
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -20,7 +20,7 @@ platforms:
2020
pre_build_image: true
2121
groups:
2222
- testohpc_login
23-
command: /sbin/init
23+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2424
tmpfs:
2525
- /run
2626
- /tmp
@@ -33,7 +33,7 @@ platforms:
3333
pre_build_image: true
3434
groups:
3535
- testohpc_login
36-
command: /sbin/init
36+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3737
tmpfs:
3838
- /run
3939
- /tmp
@@ -46,7 +46,7 @@ platforms:
4646
pre_build_image: true
4747
groups:
4848
- testohpc_compute
49-
command: /sbin/init
49+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
5050
tmpfs:
5151
- /run
5252
- /tmp
@@ -58,7 +58,7 @@ platforms:
5858
pre_build_image: true
5959
groups:
6060
- testohpc_compute
61-
command: /sbin/init
61+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
6262
tmpfs:
6363
- /run
6464
- /tmp

molecule/test14/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: /sbin/init
22+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: /sbin/init
34+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test1b/molecule.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ platforms:
99
pre_build_image: true
1010
groups:
1111
- testohpc_login
12-
command: /sbin/init
12+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1313
tmpfs:
1414
- /run
1515
- /tmp
@@ -21,7 +21,7 @@ platforms:
2121
pre_build_image: true
2222
groups:
2323
- testohpc_compute
24-
command: /sbin/init
24+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2525
tmpfs:
2626
- /run
2727
- /tmp

molecule/test1c/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: /sbin/init
22+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: /sbin/init
34+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test2/molecule.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -20,7 +20,7 @@ platforms:
2020
groups:
2121
- testohpc_compute
2222
- testohpc_part1
23-
command: /sbin/init
23+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2424
tmpfs:
2525
- /run
2626
- /tmp
@@ -33,7 +33,7 @@ platforms:
3333
groups:
3434
- testohpc_compute
3535
- testohpc_part1
36-
command: /sbin/init
36+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3737
tmpfs:
3838
- /run
3939
- /tmp
@@ -46,7 +46,7 @@ platforms:
4646
groups:
4747
- testohpc_compute
4848
- testohpc_part2
49-
command: /sbin/init
49+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
5050
tmpfs:
5151
- /run
5252
- /tmp
@@ -59,7 +59,7 @@ platforms:
5959
groups:
6060
- testohpc_compute
6161
- testohpc_part2
62-
command: /sbin/init
62+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
6363
tmpfs:
6464
- /run
6565
- /tmp

molecule/test3/molecule.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -20,7 +20,7 @@ platforms:
2020
groups:
2121
- testohpc_compute
2222
- testohpc_grp1
23-
command: /sbin/init
23+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2424
tmpfs:
2525
- /run
2626
- /tmp
@@ -33,7 +33,7 @@ platforms:
3333
groups:
3434
- testohpc_compute
3535
- testohpc_grp1
36-
command: /sbin/init
36+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3737
tmpfs:
3838
- /run
3939
- /tmp
@@ -46,7 +46,7 @@ platforms:
4646
groups:
4747
- testohpc_compute
4848
- testohpc_grp2
49-
command: /sbin/init
49+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
5050
tmpfs:
5151
- /run
5252
- /tmp
@@ -59,7 +59,7 @@ platforms:
5959
groups:
6060
- testohpc_compute
6161
- testohpc_grp2
62-
command: /sbin/init
62+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
6363
tmpfs:
6464
- /run
6565
- /tmp

molecule/test4/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: /sbin/init
22+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: /sbin/init
34+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test5/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: /sbin/init
10+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: /sbin/init
22+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: /sbin/init
34+
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

0 commit comments

Comments
 (0)