Skip to content

Commit

Permalink
Add support Rocky Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Sep 28, 2021
1 parent dee14e5 commit e5f71a6
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- ubuntu1804
- centos8
- centos7
- rockylinux8

steps:
- name: checkout
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/schedule_pg_rockylinux8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# yamllint disable rule:truthy

name: scheduled PostgreSQL (RockyLinux 8)

on:
schedule:
- cron: '15 1 * * *'

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v2

- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: pip3 install molecule[docker] ansible

- name: Run Molecule tests
run: molecule test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: rockylinux8

...
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ RedHat and Debian based distros (x86_64)
- Ubuntu: 18.04
- CentOS: 7
- OracleLinux 7
- RockyLinux 8.4

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

###### PostgreSQL versions:
all supported PostgreSQL versions
Expand All @@ -91,6 +92,7 @@ _Table of results of daily automated testing of cluster deployment:_
| 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) |
| 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) |
| 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) |
| 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) |


###### Ansible version
Expand Down
2 changes: 2 additions & 0 deletions group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
os_valid_distributions:
- RedHat
- CentOS
- Rocky
- OracleLinux
- Ubuntu
- Debian

os_minimum_versions:
RedHat: 7
CentOS: 7
Rocky: 8.4
OracleLinux: 7
Ubuntu: 18.04
Debian: 9

0 comments on commit e5f71a6

Please sign in to comment.