From 0ceae52d4202ba23e290526758f2ad979c45d2f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Fri, 24 Mar 2023 16:02:10 +0100 Subject: [PATCH] Fix phpredis package deployment --- .gitlab-ci-files/package.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci-files/package.yml b/.gitlab-ci-files/package.yml index 616966a..2ba68e2 100644 --- a/.gitlab-ci-files/package.yml +++ b/.gitlab-ci-files/package.yml @@ -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/ \ No newline at end of file