From 4089ff6ab6732fa43d9d0e9bd57ec50e44b4103a Mon Sep 17 00:00:00 2001 From: Michal Simon Date: Fri, 22 Feb 2019 10:59:51 +0100 Subject: [PATCH] [CI] update release script. --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab43864b0b2..8feaba4cf80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -291,6 +291,7 @@ build:macosx: release:cc7-x86_64: stage: build:rpm + image: gitlab-registry.cern.ch/linuxsupport/cc7-base script: - yum install --nogpg -y gcc-c++ rpm-build which git - mkdir cc-7-x86_64 @@ -319,6 +320,7 @@ release:cc7-x86_64: release:slc6-x86_64: stage: build:rpm + image: gitlab-registry.cern.ch/linuxsupport/slc6-base script: - yum install --nogpg -y gcc-c++ rpm-build which git tar - mkdir slc-6-x86_64 @@ -345,6 +347,7 @@ release:slc6-x86_64: release:slc6-i386: stage: build:rpm + image: gitlab-registry.cern.ch/linuxsupport/slc6-base script: - yum install --nogpg -y gcc-c++ rpm-build which git tar - mkdir slc-6-i386 @@ -353,7 +356,7 @@ release:slc6-i386: - ./makesrpm.sh --define "_with_python3 1" --define "_with_tests 1" --define "_without_xrootd_user 1" -D "dist .el6" - yum-builddep --nogpgcheck -y *.src.rpm - mkdir RPMS - - rpmbuild --rebuild --define "_rpmdir RPMS/" --define "_with_python3 1" --define "_with_tests 1" --define "_without_xrootd_user 1" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" -D "dist .el6" *.src.rpm + - rpmbuild --target=i386 --rebuild --define "_rpmdir RPMS/" --define "_with_python3 1" --define "_with_tests 1" --define "_without_xrootd_user 1" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" -D "dist .el6" *.src.rpm - cd .. - cp packaging/RPMS/*.rpm slc-6-i386 - cp packaging/*src.rpm slc-6-i386