Skip to content
Snippets Groups Projects
Commit 626a0205 authored by Alexander Pace's avatar Alexander Pace
Browse files

use https for yum repos

parent 24baad1e
No related branches found
No related tags found
1 merge request!647use https for yum repos
Pipeline #718050 failed
...@@ -13,6 +13,7 @@ USER root ...@@ -13,6 +13,7 @@ USER root
COPY rpms /rpms COPY rpms /rpms
# Install Optimized RPMs, delete old RPMs # Install Optimized RPMs, delete old RPMs
RUN sed -i "s|http://|https://|" /etc/yum.repos.d/*.repo
RUN yum makecache && \ RUN yum makecache && \
yum -y localinstall /rpms/*.rpm yum -y localinstall /rpms/*.rpm
......
...@@ -26,6 +26,7 @@ variables: ...@@ -26,6 +26,7 @@ variables:
GSTLAL_FIR_WHITEN: 0 GSTLAL_FIR_WHITEN: 0
before_script: before_script:
- sed -i 's|http://|https://|' /etc/yum.repos.d/*.repo
- if [ -d ${CI_PROJECT_DIR}/rpmbuild/RPMS ]; then yum -y install ${CI_PROJECT_DIR}/rpmbuild/RPMS/*/*.rpm; fi - if [ -d ${CI_PROJECT_DIR}/rpmbuild/RPMS ]; then yum -y install ${CI_PROJECT_DIR}/rpmbuild/RPMS/*/*.rpm; fi
cache: cache:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment