Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revival commit - PG 14 & 15 on ub22.04, deb11, rocky8 #556

Merged
merged 43 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
08de48e
add PG14 support : scram
tsoulabail Nov 13, 2022
19057e9
add PG14 support : scram
tsoulabail Nov 13, 2022
d5b060f
ajout PG15
tsoulabail Mar 29, 2023
94b9d24
correction coquille
tsoulabail Mar 29, 2023
dadd89d
tests Ubuntu22 et Debian11 PG14/PG15
tsoulabail Mar 29, 2023
a37e807
tests paramètres PG14-PG15
tsoulabail Apr 17, 2023
039f33c
exemple molecule
tsoulabail Apr 17, 2023
8bc5ff2
Add Ubuntu 22.04, update fedora & deprecate old versions (#543)
MrMegaNova Jul 27, 2023
384dc97
Merge branch 'PG15-PG14-support' into development
MrMegaNova Jul 28, 2023
b265a5f
Merge branch 'master' into development
MrMegaNova Jul 28, 2023
f249fc6
update README.md with newer versions & fix molecule tests
MrMegaNova Jul 28, 2023
5d64cfe
Fix Molecule CI workflow since docker plugin has moved.
MrMegaNova Jul 28, 2023
1ae6e14
molecule - allow rw on cgroup
MrMegaNova Jul 28, 2023
80bbd29
CI - use /tmp directory
MrMegaNova Jul 28, 2023
a24ba5a
mk lint README.md & run playbook as root
MrMegaNova Aug 1, 2023
d3ed99d
fixing CI permissions issue
MrMegaNova Aug 1, 2023
f63cc86
hide plain-text passwords into execution output
Oct 31, 2023
3302429
hide plain-text passwords into execution output into tasks/users.yml
Oct 31, 2023
c4cc542
fix scram-sha-256 password encryption for pg >= 14
Nov 24, 2023
2c82cd9
Merge branch 'master' into development
MrMegaNova Nov 27, 2023
5d31a09
Update version to v1.14.2
MrMegaNova Nov 27, 2023
f8c87f5
Merge pull request #551 from ptomas-adacis/development
fidelio33b Nov 27, 2023
337fb61
jammy64 only
fidelio33b Nov 28, 2023
30713a4
Merge pull request #1 from fidelio33b/bac-a-sable
fidelio33b Nov 28, 2023
0609846
Merge pull request #553 from fidelio33b/fidelio33b
fidelio33b Nov 28, 2023
0b81f37
add Rockylinux line in compatibility matrix
fidelio33b Dec 4, 2023
f5a7ba0
feature to optionaly add other repos and packages
fidelio33b Dec 4, 2023
539828b
add support for RHEL 9+
fidelio33b Dec 4, 2023
3671d2f
extension_destdir for debian distros only
fidelio33b Dec 4, 2023
e821f82
fix molecule permissions
MrMegaNova Dec 4, 2023
53723ab
move repos/packages definition in a specific file vars/extra_packages…
Dec 5, 2023
f35a3d7
move repos/packages definition in a specific file vars/extra_packages…
Dec 5, 2023
89728dd
comment out examples
Dec 5, 2023
a76034b
keep necessary repos/packages examples only
fidelio33b Dec 5, 2023
3239401
check if postgresql_ext_extra_packages exists
Dec 7, 2023
a923a71
Merge pull request #554 from fidelio33b/development
fidelio33b Dec 11, 2023
14ccfbe
Add yamllint & Fix yamllint errors & Update version & Add maintainer
MrMegaNova Dec 11, 2023
ff52ad8
Update workflow
MrMegaNova Dec 11, 2023
b678bdf
EOL of pg 10 testing
MrMegaNova Dec 11, 2023
104b875
add two packages for locale compatibility
Dec 11, 2023
267edba
support for debian12 test
Dec 11, 2023
d97b102
Merge pull request #555 from fidelio33b/development
MrMegaNova Dec 11, 2023
472fb6f
Merge branch 'master' into development
MrMegaNova Dec 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 21 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,35 @@ defaults:

jobs:

# lint:
# name: Lint
# runs-on: ubuntu-latest
# steps:
# - name: Check out the codebase.
# uses: actions/checkout@v2
# with:
# path: 'postgresql'
#
# - name: Set up Python 3.
# uses: actions/setup-python@v2
# with:
# python-version: '3.x'
#
# - name: Install test dependencies.
# run: pip3 install yamllint
#
# - name: Lint code.
# run: |
# yamllint .
lint:
name: Yamllint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
with:
path: 'postgresql'

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

- name: Install test dependencies.
run: pip3 install yamllint

- name: Lint code.
run: |
yamllint .

molecule:
name: Molecule
runs-on: ubuntu-latest
strategy:
matrix:
include:
- distro: centos8
- distro: debian9
- distro: debian10
- distro: rockylinux8
- distro: debian11
- distro: fedora37
- distro: ubuntu1604
- distro: ubuntu1804
- distro: ubuntu2004
- distro: ubuntu2204

steps:
Expand Down
35 changes: 35 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---

yaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'

rules:
braces: disable
brackets: disable
colons: disable
commas: disable
comments: disable
comments-indentation: disable
document-end: disable
document-start: disable
empty-lines:
max: 1
max-start: 1
max-end: 1
empty-values:
forbid-in-block-mappings: true
forbid-in-flow-mappings: true
hyphens:
max-spaces-after: 1
indentation: disable
key-duplicates: disable
key-ordering: disable
line-length: disable
new-line-at-end-of-file: enable
new-lines: disable
octal-values: disable
quoted-strings: disable
trailing-spaces: enable
truthy: disable
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ An example how to include this role as a task:
| Ubuntu 18.04.x | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:grey_question: | :grey_question: |
| Ubuntu 20.04.x | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:grey_question: | :grey_question: |
| Ubuntu 22.04.x | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:grey_question: | :white_check_mark: |
| Rockylinux 9.x | :grey_question: | :grey_question: | :grey_question: | :grey_question: |:white_check_mark: | :white_check_mark: |
| Fedora 37 | :grey_question: | :grey_question: | :grey_question: | :grey_question: |:grey_question: | :grey_question: |

- :white_check_mark: - tested, works fine
Expand Down Expand Up @@ -179,6 +180,7 @@ Maintainers:
- [Greg Clough](https://github.com/gclough)
- [Magnus Lübeck](https://github.com/maglub)
- [Leo C.](https://github.com/MrMegaNova)
- [Laurent Lavaud](https://github.com/fidelio33b)

Top Contributors:
- [David Farrington](https://github.com/farridav)
Expand Down
78 changes: 4 additions & 74 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,46 +7,11 @@ Vagrant.configure('2') do |config|
config.ssh.insert_key = false
config.ssh.private_key_path = '~/.vagrant.d/insecure_private_key'

#
# DISABLED
#
# config.vm.define 'ubuntu16.local' do |machine|
#
# machine.vm.box = "bento/ubuntu-16.04"
# machine.vm.network :private_network, ip: '192.168.88.10'
# machine.vm.hostname = 'ubuntu16.local'
#
# machine.vm.provision 'ansible' do |ansible|
# ansible.playbook = 'tests/playbook.yml'
# ansible.verbose = "vvv"
# ansible.become = true
# ansible.inventory_path = 'vagrant-inventory'
# ansible.host_key_checking = false
# end
#
# end
config.vm.define 'jammy64.local' do |machine|

config.vm.define 'jessie64.local' do |machine|

machine.vm.box = "debian/jessie64"
machine.vm.network :private_network, ip: '192.168.88.20'
machine.vm.hostname = 'jessie64.local'

machine.vm.provision 'ansible' do |ansible|
ansible.playbook = 'tests/playbook.yml'
ansible.verbose = "vvv"
ansible.become = true
ansible.inventory_path = 'vagrant-inventory'
ansible.host_key_checking = false
end

end

config.vm.define 'wheezy64.local' do |machine|

machine.vm.box = "debian/wheezy64"
machine.vm.network :private_network, ip: '192.168.88.21'
machine.vm.hostname = 'wheezy64.local'
machine.vm.box = "ubuntu/jammy64"
machine.vm.network :private_network, ip: '192.168.88.22'
machine.vm.hostname = 'jammy64.local'

machine.vm.provision 'ansible' do |ansible|
ansible.playbook = 'tests/playbook.yml'
Expand All @@ -58,39 +23,4 @@ Vagrant.configure('2') do |config|

end

config.vm.define 'centos7.local' do |machine|

machine.vm.box = "centos/7"
machine.vm.network :private_network, ip: '192.168.88.30'
machine.vm.hostname = 'centos7.local'

machine.vm.provision 'ansible' do |ansible|
ansible.playbook = 'tests/playbook.yml'
ansible.verbose = "vvv"
ansible.become = true
ansible.inventory_path = 'vagrant-inventory'
ansible.host_key_checking = false
end

end

##
## Fedora is disabled, as the build fails
##
## config.vm.define 'fedora27.local' do |machine|
##
## machine.vm.box = "fedora/27-cloud-base"
## machine.vm.network :private_network, ip: '192.168.88.40'
## machine.vm.hostname = 'fedora27.local'
##
## machine.vm.provision 'ansible' do |ansible|
## ansible.playbook = 'tests/playbook.yml'
## ansible.verbose = "vvv"
## ansible.become = true
## ansible.inventory_path = 'vagrant-inventory'
## ansible.host_key_checking = false
## end
##
## end

end
Loading
Loading