mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fix #87 Remove the remi repository from the pipeline
This commit is contained in:
parent
e4e0c2dd76
commit
8279d6744a
3 changed files with 18 additions and 4 deletions
|
|
@ -12,6 +12,12 @@ debian11-package:
|
|||
|
||||
remi-phpredis-package:
|
||||
extends: .remi-package
|
||||
before_script:
|
||||
- yum -y localinstall build/*.rpm
|
||||
needs:
|
||||
- remi-igbinary-package
|
||||
- remi-msgpack-package
|
||||
- remi-xmlrpc-package
|
||||
variables:
|
||||
PACKAGE: $PHP_REDIS_REMI_VERSION
|
||||
|
||||
|
|
@ -25,16 +31,22 @@ remi-msgpack-package:
|
|||
variables:
|
||||
PACKAGE: $PHP_MSGPACK_REMI_VERSION
|
||||
|
||||
remi-xmlrpc-package:
|
||||
extends: .remi-package
|
||||
variables:
|
||||
PACKAGE: $PHP_XMLRPC_REMI_VERSION
|
||||
|
||||
.remi-package:
|
||||
extends: .package
|
||||
image: gitlab.linphone.org:4567/bc/public/docker/rocky8-php:$ROCKY_8_IMAGE_VERSION
|
||||
script:
|
||||
- mkdir -p $CI_PROJECT_DIR/build
|
||||
- yum -y install wget php-devel gcc liblzf php-pear php-pecl-igbinary-devel php-pecl-msgpack-devel lz4-devel liblzf-devel libzstd-devel php-pecl-apcu-devel
|
||||
- dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
|
||||
- yum -y install wget php-devel gcc liblzf php-pear lz4-devel liblzf-devel libzstd-devel php-pecl-apcu-devel
|
||||
- wget https://rpms.remirepo.net/SRPMS/$PACKAGE.remi.src.rpm
|
||||
- rpmbuild --rebuild $PACKAGE.remi.src.rpm
|
||||
- rm -f /root/rpmbuild/RPMS/*/*debug*.rpm
|
||||
- rm -f /root/rpmbuild/RPMS/*/*devel*.rpm
|
||||
- mv /root/rpmbuild/RPMS/*/*devel*.rpm $CI_PROJECT_DIR/build/$PACKAGE-devel.el8.x86_64.rpm || true # Rename to fit our naming format
|
||||
- mv /root/rpmbuild/RPMS/*/*.rpm $CI_PROJECT_DIR/build/$PACKAGE.el8.x86_64.rpm # Rename to fit our naming format
|
||||
- rm -r /root/rpmbuild # Cleanup
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ rocky8-test:
|
|||
image: gitlab.linphone.org:4567/bc/public/docker/rocky8-php:$ROCKY_8_IMAGE_VERSION
|
||||
needs:
|
||||
- rocky8-package
|
||||
- remi-xmlrpc-package
|
||||
script:
|
||||
- yum -y localinstall build/*.rpm
|
||||
- cd /opt/belledonne-communications/share/flexisip-account-manager/flexiapi
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
variables:
|
||||
ROCKY_8_IMAGE_VERSION: 20230323_113930_add_git
|
||||
ROCKY_8_IMAGE_VERSION: 20230330_163028_remove_remi
|
||||
DEBIAN_11_IMAGE_VERSION: 20230322_172926_missing_tools
|
||||
PHP_REDIS_REMI_VERSION: php-pecl-redis5-5.3.6-1
|
||||
PHP_IGBINARY_REMI_VERSION: php-pecl-igbinary-3.2.14-1
|
||||
PHP_MSGPACK_REMI_VERSION: php-pecl-msgpack-2.1.2-1
|
||||
PHP_XMLRPC_REMI_VERSION: php-pecl-xmlrpc-1.0.0~rc3-2
|
||||
|
||||
include:
|
||||
- '.gitlab-ci-files/package.yml'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue