mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Publish generated packages in legacy repository of CentOS 7
This commit is contained in:
parent
3dd5471ea9
commit
4ad97a784f
2 changed files with 6 additions and 3 deletions
|
|
@ -61,5 +61,8 @@ job-centos7-rpm-deploy:
|
|||
- job-centos7-rpm
|
||||
|
||||
script:
|
||||
- cd rpmbuild/x86_64 && rsync -e "ssh -o StrictHostKeyChecking=no" -pr . $DEPLOY_SERVER:$CENTOS7_DEPLOY_DIRECTORY
|
||||
- ssh $DEPLOY_SERVER "chmod a+r $CENTOS7_DEPLOY_DIRECTORY/*.rpm && createrepo_c --update $CENTOS7_DEPLOY_DIRECTORY/."
|
||||
- cd rpmbuild/x86_64
|
||||
- for deploydir in $CENTOS7_DEPLOY_DIRECTORY $CENTOS7_LEGACY_DEPLOY_DIRECTORY; do
|
||||
rsync -e "ssh -o StrictHostKeyChecking=no" -pr . $DEPLOY_SERVER:$deploydir;
|
||||
ssh $DEPLOY_SERVER "chmod a+r $deploydir/*.rpm && createrepo_c --update $deploydir/.";
|
||||
done
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#%define _datadir %{_datarootdir}
|
||||
#%define _docdir %{_datadir}/doc
|
||||
|
||||
%define build_number 20
|
||||
%define build_number 21
|
||||
%define var_dir /var/opt/belledonne-communications
|
||||
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
||||
%define env_file "$RPM_BUILD_ROOT/etc/flexisip-account-manager/flexiapi.env"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue