mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fix phpredis package deployment
This commit is contained in:
parent
b7ee465d1c
commit
0ceae52d42
1 changed files with 4 additions and 3 deletions
|
|
@ -18,8 +18,9 @@ phpredis-remi-package:
|
|||
- yum -y install wget php-devel gcc liblzf php-pear php-pecl-igbinary-devel php-pecl-msgpack-devel lz4-devel liblzf-devel libzstd-devel
|
||||
- wget https://rpms.remirepo.net/SRPMS/$PHP_REDIS_REMI_VERSION.remi.src.rpm
|
||||
- rpmbuild --rebuild $PHP_REDIS_REMI_VERSION.remi.src.rpm
|
||||
- mv /root/rpmbuild/RPMS/*/*.rpm $CI_PROJECT_DIR/build
|
||||
- rm -r /root/rpmbuild
|
||||
- rm /root/rpmbuild/RPMS/*/*debug*.rpm # Remove the debug packages
|
||||
- mv /root/rpmbuild/RPMS/*/*.rpm $CI_PROJECT_DIR/build/$PHP_REDIS_REMI_VERSION.el8.x86_64.rpm # Rename to fit our naming format
|
||||
- rm -r /root/rpmbuild # Cleanup
|
||||
|
||||
.package:
|
||||
tags: ["docker"]
|
||||
|
|
@ -33,4 +34,4 @@ phpredis-remi-package:
|
|||
cache:
|
||||
key: ${CI_COMMIT_REF_SLUG}
|
||||
paths:
|
||||
- flexiapi/vendor/
|
||||
- flexiapi/vendor/
|
||||
Loading…
Add table
Reference in a new issue