-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALL: Remove libmicrohttpd support and sign all rpms
- Loading branch information
Showing
26 changed files
with
29 additions
and
783 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,7 +145,7 @@ clone_docker: | |
fi | ||
- rpmbuild --rebuild --with server --with eos_grpc_gateway --define "_rpmdir build/RPMS/" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" build/SRPMS/* | (ts 2> dev/null || true; tee) | ||
- ccache -s | ||
- if [[ -n "$CI_COMMIT_TAG" ]]; then gpg2 --import $STCI_REPO_KEY; printf "" | setsid rpmsign --define='%_gpg_name [email protected]' --define='%_signature gpg' --addsign build/RPMS/*.rpm; fi | ||
- if [[ -n "$CI_COMMIT_TAG" ]]; then gpg2 --batch --import $STCI_REPO_KEY; printf "" | setsid rpmsign --define='%_gpg_name [email protected]' --define='%_signature gpg' --addsign build/RPMS/*.rpm; fi | ||
- mkdir ${BUILD_NAME}_artifacts; cp -rv build/*RPMS/ build/eos-*.tar.gz ${BUILD_NAME}_artifacts | ||
cache: | ||
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" | ||
|
@@ -246,7 +246,7 @@ rh-9: | |
- if [[ -n "$CI_COMMIT_TAG" ]]; then export CCACHE_DISABLE=1; else source gitlab-ci/setup_ccache_fc.sh; fi | ||
- rpmbuild --rebuild --with server --define "_rpmdir build/RPMS/" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" build/SRPMS/* | ||
- ccache -s | ||
- if [[ -n "$CI_COMMIT_TAG" ]]; then gpg2 --import $STCI_REPO_KEY; printf "" | setsid rpmsign --define='%_gpg_name [email protected]' --define='%_signature gpg' --addsign build/RPMS/*.rpm; fi | ||
- if [[ -n "$CI_COMMIT_TAG" ]]; then gpg2 --batch --import $STCI_REPO_KEY; printf "" | setsid rpmsign --define='%_gpg_name [email protected]' --define='%_signature gpg' --addsign build/RPMS/*.rpm; fi | ||
- mkdir ${BUILD_NAME}_artifacts; cp -R build/SRPMS build/RPMS ${BUILD_NAME}_artifacts | ||
cache: | ||
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" | ||
|
@@ -309,16 +309,18 @@ build_fedora_rawhide: | |
fi | ||
- | | ||
if [[ ${PKG_MGR} == "yum" ]]; then | ||
${PKG_MGR}-builddep --nogpgcheck --setopt="cern*.exclude=xrootd*" -y build/SRPMS/*; | ||
${PKG_MGR}-builddep --nogpgcheck --setopt="cern*.exclude=xrootd*" -y build/SRPMS/* | ||
else | ||
${PKG_MGR} install -y dnf-plugins-core; | ||
${PKG_MGR} builddep --nogpgcheck --setopt="cern*.exclude=xrootd*" -y build/SRPMS/*; | ||
${PKG_MGR} install -y dnf-plugins-core | ||
${PKG_MGR} builddep --nogpgcheck --setopt="cern*.exclude=xrootd*" -y build/SRPMS/* | ||
fi | ||
- if [[ -n "$CI_COMMIT_TAG" ]]; then export CCACHE_DISABLE=1; else source gitlab-ci/setup_ccache.sh; fi | ||
- rpmbuild --rebuild ${RPMBUILD_OPTIONS} --define "_rpmdir build/RPMS/" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" build/SRPMS/* | ts | ||
- ccache -s | ||
- if [[ -n "$CI_COMMIT_TAG" ]]; then gpg --import $STCI_REPO_KEY; printf "" | setsid rpmsign --define='%_gpg_name [email protected]' --define='%_signature gpg' --addsign build/RPMS/*.rpm; fi | ||
- mkdir ${BUILD_NAME}_artifacts; cp -R build/SRPMS/ build/RPMS/ ${BUILD_NAME}_artifacts | ||
- gpg --batch --import $STCI_REPO_KEY; printf "" | | ||
setsid rpmsign --define='%_gpg_name [email protected]' --define='%_signature gpg' --addsign build/RPMS/*.rpm | ||
- mkdir ${BUILD_NAME}_artifacts | ||
- cp -R build/SRPMS/ build/RPMS/ ${BUILD_NAME}_artifacts | ||
cache: | ||
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" | ||
paths: | ||
|
@@ -1157,26 +1159,6 @@ eos_apmon_el-9: | |
extends: .build-apmon-template | ||
|
||
|
||
|
||
eos_microhttpd_cc7: | ||
stage: build:manual | ||
image: gitlab-registry.cern.ch/linuxsupport/cc7-base | ||
script: | ||
- yum install --nogpg -y gcc-c++ make rpm-build which git sssd-client sudo createrepo | ||
- cd microhttpd | ||
- ./makesrpm.sh | ||
- yum-builddep --nogpgcheck -y *.src.rpm | ||
- mkdir RPMS | ||
- rpmbuild --rebuild --define "_rpmdir RPMS/" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" *.src.rpm | ||
- STORAGE_PATH=/eos/project/s/storage-ci/www/eos/${CODENAME}-depend/el-7/x86_64 | ||
- sudo -u stci -H mkdir -p $STORAGE_PATH | ||
- sudo -u stci -H cp -f RPMS/*.rpm $STORAGE_PATH | ||
- sudo -u stci -H createrepo --update -q $STORAGE_PATH | ||
tags: | ||
- docker_node | ||
when: manual | ||
|
||
|
||
eos_docs: | ||
stage: build:manual | ||
image: gitlab-registry.cern.ch/linuxsupport/alma8-base | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.