File tree Expand file tree Collapse file tree 23 files changed +125
-71
lines changed Expand file tree Collapse file tree 23 files changed +125
-71
lines changed Original file line number Diff line number Diff line change 7
7
- master
8
8
9
9
jobs :
10
-
11
- test :
10
+ molecule :
12
11
name : Molecule
13
12
# Workaround: systemd/kernel compatibility issue:
14
13
# Failed to parse bus message: Invalid argument
24
23
fail-fast : false
25
24
matrix :
26
25
image :
27
- - ' rockylinux:8.8'
26
+ - ' rockylinux:8.9'
27
+ - ' rockylinux:9.3'
28
28
scenario :
29
29
- test1
30
30
- test1b
47
47
48
48
steps :
49
49
- name : Check out the codebase.
50
- uses : actions/checkout@v3
50
+ uses : actions/checkout@v4
51
51
52
52
- name : Set up Python 3.
53
53
uses : actions/setup-python@v4
56
56
57
57
- name : Install test dependencies.
58
58
run : |
59
- pip3 install -U ansible molecule-podman yamllint ansible-lint
59
+ pip3 install -U pip ansible>=2.9.0 molecule-plugins[ podman]==23.5.0 yamllint ansible-lint
60
60
ansible-galaxy collection install containers.podman:>=1.10.1 # otherwise get https://github.com/containers/ansible-podman-collections/issues/428
61
61
62
62
- name : Display ansible version
@@ -75,21 +75,21 @@ jobs:
75
75
ANSIBLE_FORCE_COLOR : ' 1'
76
76
MOLECULE_IMAGE : ${{ matrix.image }}
77
77
78
- runonce :
78
+ checks :
79
79
name : Checks
80
- runs-on : ubuntu-20 .04
80
+ runs-on : ubuntu-22 .04
81
81
steps :
82
82
- name : Check out the codebase.
83
83
uses : actions/checkout@v3
84
84
85
85
- name : Set up Python 3.
86
- uses : actions/setup-python@v4
86
+ uses : actions/setup-python@v5
87
87
with :
88
88
python-version : ' 3.9'
89
89
90
90
- name : Install test dependencies.
91
91
run : |
92
- pip3 install -U ansible molecule[podman] yamllint ansible-lint
92
+ pip3 install -U ansible ansible-lint
93
93
ansible-galaxy collection install containers.podman:>=1.10.1 # otherwise get https://github.com/containers/ansible-podman-collections/issues/428
94
94
95
95
- name : Display ansible version
Original file line number Diff line number Diff line change @@ -49,6 +49,19 @@ openhpc_enable:
49
49
openhpc_extra_repos : []
50
50
51
51
ohpc_openhpc_repos :
52
+ " 9 " :
53
+ - name : OpenHPC
54
+ file : OpenHPC
55
+ description : OpenHPC-3 - Base
56
+ baseurl : " http://repos.openhpc.community/OpenHPC/3/EL_9"
57
+ gpgcheck : true
58
+ gpgkey : https://raw.githubusercontent.com/openhpc/ohpc/v3.0.GA/components/admin/ohpc-release/SOURCES/RPM-GPG-KEY-OpenHPC-3
59
+ - name : OpenHPC-updates
60
+ file : OpenHPC
61
+ description : OpenHPC-3 - Updates
62
+ baseurl : " http://repos.openhpc.community/OpenHPC/3/updates/EL_9"
63
+ gpgcheck : true
64
+ gpgkey : https://raw.githubusercontent.com/openhpc/ohpc/v3.0.GA/components/admin/ohpc-release/SOURCES/RPM-GPG-KEY-OpenHPC-3
52
65
" 8 " :
53
66
- name : OpenHPC
54
67
file : OpenHPC
@@ -64,6 +77,13 @@ ohpc_openhpc_repos:
64
77
gpgkey : https://raw.githubusercontent.com/openhpc/ohpc/v2.6.1.GA/components/admin/ohpc-release/SOURCES/RPM-GPG-KEY-OpenHPC-2
65
78
66
79
ohpc_default_extra_repos :
80
+ " 9 " :
81
+ - name : epel
82
+ file : epel
83
+ description : " Extra Packages for Enterprise Linux $releasever - $basearch"
84
+ metalink : " https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir"
85
+ gpgcheck : true
86
+ gpgkey : " https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9"
67
87
" 8 " :
68
88
- name : epel
69
89
file : epel
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Local installation on a RockyLinux 8.x machine looks like:
42
42
Then to run tests, e.g.::
43
43
44
44
cd ansible-role-openhpc/
45
- MOLECULE_IMAGE=rockylinux:8.8 molecule test --all
45
+ MOLECULE_IMAGE=rockylinux:8.9 molecule test --all
46
46
47
47
During development you may want to:
48
48
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ platforms:
7
7
pre_build_image : true
8
8
groups :
9
9
- testohpc_login
10
- command : / sbin/init
10
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
11
11
tmpfs :
12
12
- /run
13
13
- /tmp
@@ -19,7 +19,7 @@ platforms:
19
19
pre_build_image : true
20
20
groups :
21
21
- testohpc_compute
22
- command : / sbin/init
22
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
23
23
tmpfs :
24
24
- /run
25
25
- /tmp
@@ -31,7 +31,7 @@ platforms:
31
31
pre_build_image : true
32
32
groups :
33
33
- testohpc_compute
34
- command : / sbin/init
34
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
35
35
tmpfs :
36
36
- /run
37
37
- /tmp
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ platforms:
8
8
groups :
9
9
- testohpc_login
10
10
- initial
11
- command : / sbin/init
11
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
12
12
tmpfs :
13
13
- /run
14
14
- /tmp
@@ -21,7 +21,7 @@ platforms:
21
21
groups :
22
22
- testohpc_compute
23
23
- initial
24
- command : / sbin/init
24
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
25
25
tmpfs :
26
26
- /run
27
27
- /tmp
@@ -34,7 +34,7 @@ platforms:
34
34
groups :
35
35
- testohpc_compute
36
36
- initial
37
- command : / sbin/init
37
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
38
38
tmpfs :
39
39
- /run
40
40
- /tmp
@@ -46,7 +46,7 @@ platforms:
46
46
pre_build_image : true
47
47
groups : # NB this is NOT in the "testohpc_compute" so that it isn't added to slurm.conf initially
48
48
- new
49
- command : / sbin/init
49
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
50
50
tmpfs :
51
51
- /run
52
52
- /tmp
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ platforms:
7
7
pre_build_image : true
8
8
groups :
9
9
- testohpc_login
10
- command : / sbin/init
10
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
11
11
tmpfs :
12
12
- /run
13
13
- /tmp
@@ -21,7 +21,7 @@ platforms:
21
21
- testohpc_compute
22
22
- testohpc_compute_orig
23
23
- testohpc_compute_new
24
- command : / sbin/init
24
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
25
25
tmpfs :
26
26
- /run
27
27
- /tmp
@@ -34,7 +34,7 @@ platforms:
34
34
groups :
35
35
- testohpc_compute
36
36
- testohpc_compute_orig
37
- command : / sbin/init
37
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
38
38
tmpfs :
39
39
- /run
40
40
- /tmp
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ platforms:
7
7
pre_build_image : true
8
8
groups :
9
9
- testohpc_login
10
- command : / sbin/init
10
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
11
11
tmpfs :
12
12
- /run
13
13
- /tmp
@@ -19,7 +19,7 @@ platforms:
19
19
pre_build_image : true
20
20
groups :
21
21
- testohpc_compute
22
- command : / sbin/init
22
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
23
23
tmpfs :
24
24
- /run
25
25
- /tmp
@@ -31,7 +31,7 @@ platforms:
31
31
pre_build_image : true
32
32
groups :
33
33
- testohpc_compute
34
- command : / sbin/init
34
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
35
35
tmpfs :
36
36
- /run
37
37
- /tmp
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ platforms:
7
7
pre_build_image : true
8
8
groups :
9
9
- testohpc_control
10
- command : / sbin/init
10
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
11
11
tmpfs :
12
12
- /run
13
13
- /tmp
@@ -20,7 +20,7 @@ platforms:
20
20
pre_build_image : true
21
21
groups :
22
22
- testohpc_login
23
- command : / sbin/init
23
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
24
24
tmpfs :
25
25
- /run
26
26
- /tmp
@@ -33,7 +33,7 @@ platforms:
33
33
pre_build_image : true
34
34
groups :
35
35
- testohpc_login
36
- command : / sbin/init
36
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
37
37
tmpfs :
38
38
- /run
39
39
- /tmp
@@ -46,7 +46,7 @@ platforms:
46
46
pre_build_image : true
47
47
groups :
48
48
- testohpc_compute
49
- command : / sbin/init
49
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
50
50
tmpfs :
51
51
- /run
52
52
- /tmp
@@ -58,7 +58,7 @@ platforms:
58
58
pre_build_image : true
59
59
groups :
60
60
- testohpc_compute
61
- command : / sbin/init
61
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
62
62
tmpfs :
63
63
- /run
64
64
- /tmp
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ platforms:
7
7
pre_build_image : true
8
8
groups :
9
9
- testohpc_login
10
- command : / sbin/init
10
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
11
11
tmpfs :
12
12
- /run
13
13
- /tmp
@@ -19,7 +19,7 @@ platforms:
19
19
pre_build_image : true
20
20
groups :
21
21
- testohpc_compute
22
- command : / sbin/init
22
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
23
23
tmpfs :
24
24
- /run
25
25
- /tmp
@@ -31,7 +31,7 @@ platforms:
31
31
pre_build_image : true
32
32
groups :
33
33
- testohpc_compute
34
- command : / sbin/init
34
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
35
35
tmpfs :
36
36
- /run
37
37
- /tmp
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ platforms:
9
9
pre_build_image : true
10
10
groups :
11
11
- testohpc_login
12
- command : / sbin/init
12
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
13
13
tmpfs :
14
14
- /run
15
15
- /tmp
@@ -21,7 +21,7 @@ platforms:
21
21
pre_build_image : true
22
22
groups :
23
23
- testohpc_compute
24
- command : / sbin/init
24
+ command : " /bin/bash -c 'dnf -y install systemd && / sbin/init' " # not in RL9 image
25
25
tmpfs :
26
26
- /run
27
27
- /tmp
You can’t perform that action at this time.
0 commit comments