Skip to content

Commit

Permalink
build-rpms: Use common target to build rpms
Browse files Browse the repository at this point in the history
With samba-in-kubernetes/samba-build#48 we
combine version specific build targets for CentOS using a general
makefile rule.
  • Loading branch information
anoopcs9 committed Jul 22, 2024
1 parent 0cc5d2d commit 08704c6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions jobs/scripts/nightly-samba-builds/nightly-samba-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,8 @@ then

fi

if [[ "${PLATFORM}" = "fedora" ]]
then
make "rpms.fedora" "vers=${VERSION}" "refspec=${SAMBA_BRANCH}"
make "test.rpms.fedora" "vers=${VERSION}" "refspec=${SAMBA_BRANCH}"
else
make "rpms.${PLATFORM}${VERSION}" "refspec=${SAMBA_BRANCH}"
make "test.rpms.${PLATFORM}${VERSION}" "refspec=${SAMBA_BRANCH}"
fi
make "rpms.${PLATFORM}" "vers=${VERSION}" "refspec=${SAMBA_BRANCH}"
make "test.rpms.${PLATFORM}" "vers=${VERSION}" "refspec=${SAMBA_BRANCH}"

# Don't upload the artifacts if running on a PR.
if [ -n "${ghprbPullId}" ]
Expand Down

0 comments on commit 08704c6

Please sign in to comment.