Skip to content

Commit 920fbd7

Browse files
committed
Switch to rockylinux/rockylinux:9 image
The curated official image for Rocky Linux is not updated [1]. Use image from the Rocky Linux Docker Hub repository instead [2]. [1] https://hub.docker.com/_/rockylinux [2] https://hub.docker.com/r/rockylinux/rockylinux
1 parent 521ea02 commit 920fbd7

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
uses: actions/checkout@v4
2424

2525
- name: Build image
26-
run: podman build -t rocky93systemd:latest .
26+
run: podman build -t rocky9systemd:latest .
2727

2828
- name: Save image
29-
run: podman save --output rocky93systemd.docker rocky93systemd:latest
29+
run: podman save --output rocky9systemd.docker rocky9systemd:latest
3030

3131
- name: Upload rocky9 image
3232
uses: actions/upload-artifact@v4
3333
with:
34-
name: rocky93systemd
35-
path: molecule/images/rocky93systemd.docker
34+
name: rocky9systemd
35+
path: molecule/images/rocky9systemd.docker
3636

3737
molecule:
3838
name: Molecule
@@ -43,7 +43,7 @@ jobs:
4343
matrix:
4444
image:
4545
- 'rockylinux:8.9'
46-
- 'localhost/rocky93systemd'
46+
- 'localhost/rocky9systemd'
4747
scenario:
4848
- test1
4949
- test1b
@@ -71,14 +71,14 @@ jobs:
7171
- name: Download rocky9 container image
7272
uses: actions/download-artifact@v4
7373
with:
74-
name: rocky93systemd
75-
path: molecule/images/rocky93systemd.docker
76-
if: matrix.image == 'localhost/rocky93systemd'
74+
name: rocky9systemd
75+
path: molecule/images/rocky9systemd.docker
76+
if: matrix.image == 'localhost/rocky9systemd'
7777

7878
- name: Load rocky9 container image
79-
run: podman load --input rocky93systemd.docker/rocky93systemd.docker
79+
run: podman load --input rocky9systemd.docker/rocky9systemd.docker
8080
working-directory: molecule/images
81-
if: matrix.image == 'localhost/rocky93systemd'
81+
if: matrix.image == 'localhost/rocky9systemd'
8282

8383
- name: Set up Python 3.
8484
uses: actions/setup-python@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This Ansible role installs packages and performs configuration to provide an Ope
66

77
As a role it must be used from a playbook, for which a simple example is given below. This approach means it is totally modular with no assumptions about available networks or any cluster features except for some hostname conventions. Any desired cluster fileystem or other required functionality may be freely integrated using additional Ansible roles or other approaches.
88

9-
The minimal image for nodes is a RockyLinux 8 GenericCloud image.
9+
The minimal image for nodes is a Rocky Linux 8 GenericCloud image.
1010

1111
## Role Variables
1212

molecule/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test15 | 1 | Y | As for #5 but also tests `part
2727

2828
# Local Installation & Running
2929

30-
Local installation on a RockyLinux 8.x machine looks like:
30+
Local installation on a Rocky Linux 8.x machine looks like:
3131

3232
sudo dnf install -y podman
3333
sudo dnf install podman-plugins # required for DNS
@@ -40,17 +40,17 @@ Local installation on a RockyLinux 8.x machine looks like:
4040
pip install -r molecule/requirements.txt
4141
ansible-galaxy collection install containers.podman:>=1.10.1
4242

43-
Build a RockyLinux 9.3 image with systemd included:
43+
Build a Rocky Linux 9 image with systemd included:
4444

4545
cd ansible-role-openhpc/molecule/images
46-
podman build -t rocky93systemd:latest .
46+
podman build -t rocky9systemd:latest .
4747

4848
Run tests, e.g.:
4949

5050
cd ansible-role-openhpc/
5151
MOLECULE_NO_LOG="false" MOLECULE_IMAGE=rockylinux:8.9 molecule test --all
5252

53-
where the image may be `rockylinux:8.9` or `localhost/rocky93systemd`.
53+
where the image may be `rockylinux:8.9` or `localhost/rocky9systemd`.
5454

5555
Other useful options during development:
5656
- Prevent destroying instances by using `molecule test --destroy never`

molecule/images/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM rockylinux:9.3
1+
FROM rockylinux/rockylinux:9
22
RUN dnf install -y systemd && dnf clean all

0 commit comments

Comments
 (0)