Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Duncan Macleod
lalsuite
Commits
4e0e105c
Unverified
Commit
4e0e105c
authored
Dec 01, 2022
by
Duncan Macleod
Browse files
ci: lint installed packages as well as rpm files
[ci rhel]
parent
56d66a70
Pipeline
#480264
passed with stages
in 141 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4e0e105c
...
...
@@ -287,7 +287,9 @@ default:
echo "Requires:" &&
rpm -qp --requires "${rpmf}";
done
# lint RPMs
# install the packages we built
-
yum -y -q install ${CI_PROJECT_DIR}/rpmbuild/RPMS/*/*${PACKAGE}-*.rpm
# lint packages (both installed packages and RPM files)
-
|
cat << EOF > rpmlintrc
# don't validate Source0
...
...
@@ -300,6 +302,7 @@ default:
EOF
-
rpmlint
-f rpmlintrc
"*${PACKAGE}*"
${CI_PROJECT_DIR}/rpmbuild/RPMS/*/*${PACKAGE}-*.rpm
artifacts
:
expire_in
:
18h
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment