Skip to content

Commit

Permalink
fix molecule instance creation for RL9
Browse files Browse the repository at this point in the history
  • Loading branch information
sjpb committed Feb 6, 2024
1 parent e7fe903 commit 90294ac
Show file tree
Hide file tree
Showing 17 changed files with 56 additions and 56 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: CI
on:
'on':
pull_request:
push:
branches:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Install test dependencies.
run: |
pip3 install -U ansible molecule-podman yamllint ansible-lint
pip3 install -U pip ansible>=2.9.0 molecule-plugins[podman] yamllint ansible-lint
ansible-galaxy collection install containers.podman:>=1.10.1 # otherwise get https://github.com/containers/ansible-podman-collections/issues/428
- name: Display ansible version
Expand Down
6 changes: 3 additions & 3 deletions molecule/test1/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -19,7 +19,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -31,7 +31,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
8 changes: 4 additions & 4 deletions molecule/test10/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platforms:
groups:
- testohpc_login
- initial
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -21,7 +21,7 @@ platforms:
groups:
- testohpc_compute
- initial
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -34,7 +34,7 @@ platforms:
groups:
- testohpc_compute
- initial
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -46,7 +46,7 @@ platforms:
pre_build_image: true
groups: # NB this is NOT in the "testohpc_compute" so that it isn't added to slurm.conf initially
- new
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
6 changes: 3 additions & 3 deletions molecule/test11/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -21,7 +21,7 @@ platforms:
- testohpc_compute
- testohpc_compute_orig
- testohpc_compute_new
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -34,7 +34,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_compute_orig
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
6 changes: 3 additions & 3 deletions molecule/test12/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -19,7 +19,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -31,7 +31,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
10 changes: 5 additions & 5 deletions molecule/test13/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_control
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -20,7 +20,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -33,7 +33,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -46,7 +46,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -58,7 +58,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
6 changes: 3 additions & 3 deletions molecule/test14/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -19,7 +19,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -31,7 +31,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
4 changes: 2 additions & 2 deletions molecule/test1b/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -21,7 +21,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
6 changes: 3 additions & 3 deletions molecule/test1c/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -19,7 +19,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -31,7 +31,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
10 changes: 5 additions & 5 deletions molecule/test2/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -20,7 +20,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_part1
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -33,7 +33,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_part1
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -46,7 +46,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_part2
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -59,7 +59,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_part2
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
10 changes: 5 additions & 5 deletions molecule/test3/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -20,7 +20,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_grp1
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -33,7 +33,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_grp1
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -46,7 +46,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_grp2
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -59,7 +59,7 @@ platforms:
groups:
- testohpc_compute
- testohpc_grp2
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
6 changes: 3 additions & 3 deletions molecule/test4/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -19,7 +19,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -31,7 +31,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
6 changes: 3 additions & 3 deletions molecule/test5/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_login
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -19,7 +19,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand All @@ -31,7 +31,7 @@ platforms:
pre_build_image: true
groups:
- testohpc_compute
command: /sbin/init
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
tmpfs:
- /run
- /tmp
Expand Down
Loading

0 comments on commit 90294ac

Please sign in to comment.