Skip to content

Commit e5f71a6

Browse files
committed
Add support Rocky Linux
1 parent dee14e5 commit e5f71a6

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

.github/workflows/molecule.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- ubuntu1804
2525
- centos8
2626
- centos7
27+
- rockylinux8
2728

2829
steps:
2930
- name: checkout
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
# yamllint disable rule:truthy
3+
4+
name: scheduled PostgreSQL (RockyLinux 8)
5+
6+
on:
7+
schedule:
8+
- cron: '15 1 * * *'
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Set up Python 3
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: '3.x'
22+
23+
- name: Install dependencies
24+
run: pip3 install molecule[docker] ansible
25+
26+
- name: Run Molecule tests
27+
run: molecule test
28+
env:
29+
PY_COLORS: '1'
30+
ANSIBLE_FORCE_COLOR: '1'
31+
MOLECULE_DISTRO: rockylinux8
32+
33+
...

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ RedHat and Debian based distros (x86_64)
7272
- Ubuntu: 18.04
7373
- CentOS: 7
7474
- OracleLinux 7
75+
- RockyLinux 8.4
7576

76-
:white_check_mark: tested, works fine: `Debian 9/10, Ubuntu 18.04/20.04, CentOS 7/8, OracleLinux 7/8`
77+
:white_check_mark: tested, works fine: `Debian 9/10, Ubuntu 18.04/20.04, CentOS 7/8, OracleLinux 7/8, RockyLinux 8.4`
7778

7879
###### PostgreSQL versions:
7980
all supported PostgreSQL versions
@@ -91,6 +92,7 @@ _Table of results of daily automated testing of cluster deployment:_
9192
| CentOS 8 | [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/vitabaks/postgresql_cluster/scheduled%20PostgreSQL%20(CentOS%208))](https://github.com/vitabaks/postgresql_cluster/actions?query=workflow%3A%22scheduled+PostgreSQL+%28CentOS+8%29%22) |
9293
| Oracle Linux 7 | [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/vitabaks/postgresql_cluster/scheduled%20PostgreSQL%20(OracleLinux%207))](https://github.com/vitabaks/postgresql_cluster/actions/workflows/schedule_pg_oracle_linux7.yml) |
9394
| Oracle Linux 8 | [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/vitabaks/postgresql_cluster/scheduled%20PostgreSQL%20(OracleLinux%208))](https://github.com/vitabaks/postgresql_cluster/actions/workflows/schedule_pg_oracle_linux8.yml) |
95+
| Rocky Linux 8 | [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/vitabaks/postgresql_cluster/scheduled%20PostgreSQL%20(RockyLinux%208))](https://github.com/vitabaks/postgresql_cluster/actions/workflows/schedule_pg_rockylinux8.yml) |
9496

9597

9698
###### Ansible version

group_vars/all

+2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
os_valid_distributions:
55
- RedHat
66
- CentOS
7+
- Rocky
78
- OracleLinux
89
- Ubuntu
910
- Debian
1011

1112
os_minimum_versions:
1213
RedHat: 7
1314
CentOS: 7
15+
Rocky: 8.4
1416
OracleLinux: 7
1517
Ubuntu: 18.04
1618
Debian: 9

0 commit comments

Comments
 (0)