Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
M4rtinK committed Feb 24, 2025
1 parent a8c0035 commit 59a7d66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,10 @@ container-rpm-test:
$(RPM_NAME):$(CI_TAG) \
sh -exc ' \
/run-build-and-arg make run-rpm-tests-only; \
dnf install -y /tmp/anaconda/result/build/01-rpm-build/*.rpm; \
dnf install -v -y /tmp/anaconda/result/build/01-rpm-build/*.rpm; \
cd /tmp/anaconda; \
rpmlint *.spec.in result/build/01-rpm-build/*.rpm --config rpmlint.toml'
rpmlint *.spec.in result/build/01-rpm-build/*.rpm --config rpmlint.toml'; \
echo "AAA: MAKEFILE RPM TEST RUN - DONE";

container-rpms:
@./scripts/testing/check-container-age.sh "$(RPM_NAME):$(CI_TAG)"
Expand Down
5 changes: 5 additions & 0 deletions dockerfile/anaconda-ci/run-build-and-arg
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ sed -i 's/ .. %{undefined centos}//' ./anaconda.spec.in

# always copy the results back to the host
copy_logs() {
echo "AAA: copy-logs running"

mkdir -p /anaconda/test-logs/
# clean up from previous run
rm -rf /anaconda/test-logs/*
# copy logs and coverage reports
find \( -name '*.log' -o -name 'coverage*.xml' \) -exec cp '{}' /anaconda/test-logs/ \;
echo "AAA: copy DNF log"
cp -r /var/log/* /anaconda/test-logs/

}
trap copy_logs EXIT INT QUIT PIPE

Expand Down

0 comments on commit 59a7d66

Please sign in to comment.