Skip to content

Commit eeac90a

Browse files
authored
Explicitly enable postgresql:15 module (#545)
Fixes: ``` Argument 'postgresql' matches 2 streams ('15', '16') of module 'postgresql', but none of the streams are enabled or default Unable to resolve argument postgresql ``` see https://github.com/packit/deployment/actions/workflows/base-image-rebuild.yml
2 parents 5d2c069 + f1197d5 commit eeac90a

File tree

4 files changed

+9
-31
lines changed

4 files changed

+9
-31
lines changed

.github/workflows/base-image-rebuild.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
branches:
99
- main
1010
paths:
11-
- containers/Containerfile.fedora
1211
- containers/Containerfile.c9s
1312

1413
jobs:
@@ -21,8 +20,6 @@ jobs:
2120
strategy:
2221
matrix:
2322
include:
24-
- containerfile: containers/Containerfile.fedora
25-
tags: "fedora"
2623
- containerfile: containers/Containerfile.c9s
2724
tags: "c9s latest"
2825

.pre-commit-config.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# HOWTO: https://pre-commit.com/#usage
2-
# pip3 install pre-commit
2+
# dnf install pre-commit
33
# pre-commit install
44

55
repos:
@@ -20,26 +20,20 @@ repos:
2020
args:
2121
- --allow-missing-credentials
2222
- repo: https://github.com/ansible/ansible-lint.git
23-
rev: v6.20.3
23+
rev: v6.22.1
2424
hooks:
2525
- id: ansible-lint
2626
files: \.(yaml|yml)$
2727
- repo: https://github.com/psf/black
28-
rev: 23.9.1
28+
rev: 23.12.0
2929
hooks:
3030
- id: black
3131
- repo: https://github.com/shellcheck-py/shellcheck-py
3232
rev: v0.9.0.6
3333
hooks:
3434
- id: shellcheck
35-
- repo: https://github.com/gitleaks/gitleaks
36-
rev: v8.18.0
37-
hooks:
38-
- id: gitleaks
39-
# The hook runs 'gitleaks protect --staged' which parses output of
40-
# 'git diff --staged', i.e. always passes in pre-push/manual stage.
41-
stages: [commit]
4235

4336
ci:
4437
# The project is too huge for pre-commit.ci
4538
skip: [ansible-lint]
39+
autoupdate_schedule: monthly

containers/Containerfile.c9s

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ FROM quay.io/centos/centos:stream9
66
ENV ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 \
77
ANSIBLE_STDOUT_CALLBACK=debug
88

9-
RUN dnf install -y epel-release 'dnf-command(config-manager)' && \
10-
dnf config-manager --set-enabled crb && \
11-
dnf module enable postgresql -y && \
12-
dnf update -y && \
13-
dnf install -y ansible python3-pip && \
9+
RUN dnf -y install epel-release && \
10+
crb enable && \
11+
dnf -y module enable postgresql:15 && \
12+
dnf -y upgrade && \
13+
dnf -y install ansible python3-pip && \
1414
dnf clean all

containers/Containerfile.fedora

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)