Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
eeb29798
Commit
eeb29798
authored
Oct 12, 2022
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update make-rpm-packages.sh from 7.2
parent
9c30d039
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
make-rpm-packages.sh
.circleci/make-rpm-packages.sh
+16
-9
No files found.
.circleci/make-rpm-packages.sh
View file @
eeb29798
...
...
@@ -6,21 +6,28 @@ echo "PARAM_RELEASE: $PARAM_RELEASE"
echo
"PARAM_DIST:
$PARAM_DIST
"
if
[
-z
"
$PARAM_RELEASE
"
]
;
then
echo
"Env variable PARAM_RELEASE is not set! For example PARAM_RELEASE=
8, for CentOS 8
"
echo
"Env variable PARAM_RELEASE is not set! For example PARAM_RELEASE=
stream, for CentOS stream
"
exit
1
elif
[
-z
"
$PARAM_DIST
"
]
;
then
echo
"Env variable PARAM_DIST is not set! For example PARAM_DIST=centos"
exit
1
fi
yum
install
-y
epel-release
if
[
"
$PARAM_DIST
"
=
centos
]
;
then
if
[
"
$PARAM_RELEASE
"
=
8
]
;
then
dnf
install
-y
'dnf-command(config-manager)'
yum config-manager
--set-enabled
powertools
fi
fi
case
"
$PARAM_DIST
:
$PARAM_RELEASE
"
in
almalinux:9
)
dnf
install
-y
'dnf-command(config-manager)'
yum config-manager
--set-enabled
crb
yum
install
-y
epel-release
;;
centos:stream|almalinux:8
)
dnf
install
-y
'dnf-command(config-manager)'
yum config-manager
--set-enabled
powertools
yum
install
-y
epel-release
;;
centos:7
)
yum
install
-y
epel-release
;;
esac
yum
install
-y
rpm-build yum-utils
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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