Compare commits
No commits in common. "c10s" and "c9s" have entirely different histories.
8
plan.fmf
8
plan.fmf
@ -7,16 +7,16 @@ environment:
|
|||||||
prepare+:
|
prepare+:
|
||||||
- how: shell
|
- how: shell
|
||||||
script: useradd testuser
|
script: useradd testuser
|
||||||
|
- how: shell
|
||||||
|
script: dnf module enable -y postgresql:16
|
||||||
|
|
||||||
discover:
|
discover:
|
||||||
how: shell
|
how: shell
|
||||||
dist-git-source: true
|
dist-git-source: true
|
||||||
|
dist-git-type: local
|
||||||
tests:
|
tests:
|
||||||
- name: bundled tests
|
- name: bundled tests
|
||||||
test: |
|
test: |
|
||||||
# package is built but not shipped on c10s, postgresql16 is the srpm
|
|
||||||
dnf install -y "https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/postgresql16/$(rpm -q postgresql-server --qf '%{version}/%{release}/noarch/postgresql-test-rpm-macros-%{version}-%{release}.noarch.rpm')"
|
|
||||||
|
|
||||||
chmod a+Xw -R $TMT_SOURCE_DIR &&
|
chmod a+Xw -R $TMT_SOURCE_DIR &&
|
||||||
runuser testuser --preserve-environment -c '
|
runuser testuser --preserve-environment -c '
|
||||||
cd $(dirname $TMT_SOURCE_DIR/psycopg2-*/tests) &&
|
cd $(dirname $TMT_SOURCE_DIR/psycopg2-*/tests) &&
|
||||||
@ -36,4 +36,4 @@ discover:
|
|||||||
require:
|
require:
|
||||||
- python${pybasever}-psycopg2
|
- python${pybasever}-psycopg2
|
||||||
- python${pybasever}
|
- python${pybasever}
|
||||||
- postgresql16-server
|
- postgresql-test-rpm-macros # present in module
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user