Skip to content

Commit 25ed35c

Browse files
committed
test(integration): update REPOSYNC macro for metadata cache age output
The "Last metadata expiration check" and "Repositories loaded." lines are now printed after repo loading. Update the REPOSYNC test macro to match the new output pattern. Signed-off-by: Devesh B <98201065+DeveshB-1@users.noreply.github.com>
1 parent 3a53732 commit 25ed35c

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

.packit.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ packages:
1616
downstream_package_name: dnf5
1717
actions:
1818
get-current-version:
19-
- bash -c 'rpmspec -q --queryformat "%{VERSION}\n" dnf5.spec | head -n1'
19+
- bash -c 'rpmspec -q --queryformat "%{VERSION}
20+
" dnf5.spec | head -n1'
2021
2122
# Test build with disabled modules.
2223
# Use separate package configuration because Packit
@@ -76,7 +77,8 @@ jobs:
7677
# fill in Release as if packit would have done it
7778
- bash -c "sed -i -r \"s/Release:(\s*)\S+/Release:\1${PACKIT_RPMSPEC_RELEASE}%{?dist}/\" dnf5.spec"
7879
get-current-version:
79-
- bash -c 'rpmspec -q --queryformat "%{VERSION}\n" dnf5.spec | head -n1'
80+
- bash -c 'rpmspec -q --queryformat "%{VERSION}
81+
" dnf5.spec | head -n1'
8082
packages: [dnf5-without-modules]
8183
additional_repos:
8284
- "copr://rpmsoftwaremanagement/dnf-nightly"
@@ -85,8 +87,8 @@ jobs:
8587
identifier: "dnf5-tests"
8688
targets:
8789
- fedora-all
88-
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
89-
fmf_ref: &CI_DNF_STACK_REF main
90+
fmf_url: https://github.com/DeveshB-1/ci-dnf-stack.git
91+
fmf_ref: &CI_DNF_STACK_REF feat/metadata-cache-age-display
9092
tmt_plan: "^/plans/integration/behave-dnf5$"
9193
packages: [dnf5]
9294
tf_extra_params:
@@ -100,7 +102,7 @@ jobs:
100102
identifier: "createrepo_c-tests"
101103
targets:
102104
- fedora-all
103-
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
105+
fmf_url: https://github.com/DeveshB-1/ci-dnf-stack.git
104106
fmf_ref: *CI_DNF_STACK_REF
105107
tmt_plan: "^/plans/integration/behave-createrepo_c$"
106108
packages: [dnf5]
@@ -116,7 +118,7 @@ jobs:
116118
manual_trigger: true
117119
targets:
118120
- fedora-all
119-
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
121+
fmf_url: https://github.com/DeveshB-1/ci-dnf-stack.git
120122
fmf_ref: *CI_DNF_STACK_REF
121123
tmt_plan: "^/plans/integration/behave-dnf$"
122124
packages: [dnf5]
@@ -131,7 +133,7 @@ jobs:
131133
identifier: "dnf5daemon-tests"
132134
targets:
133135
- fedora-all
134-
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
136+
fmf_url: https://github.com/DeveshB-1/ci-dnf-stack.git
135137
fmf_ref: *CI_DNF_STACK_REF
136138
tmt_plan: "^/plans/integration/behave-dnf5daemon$"
137139
packages: [dnf5]
@@ -146,8 +148,8 @@ jobs:
146148
identifier: "ABI-check"
147149
targets:
148150
- fedora-rawhide-x86_64
149-
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
150-
fmf_ref: main
151+
fmf_url: https://github.com/DeveshB-1/ci-dnf-stack.git
152+
fmf_ref: feat/metadata-cache-age-display
151153
tmt_plan: "^/plans/integration/abi-libdnf5$"
152154
packages: [dnf5]
153155
tf_extra_params:

0 commit comments

Comments
 (0)