Skip to content

Commit

Permalink
Fix upload repo script for all distros (#70)
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein authored Sep 6, 2024
1 parent dc71276 commit 48b687d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion policy/centos7/scripts/upload-repo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ pushd $(dirname $0)/..
popd

yum install -y epel-release
yum install -y git python2-pip python-deltarpm
yum install -y git python2-pip python-deltarpm ca-certificates
export REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt

pip install --cache-dir=/var/cache/pip --upgrade 'boto3==1.17.112' 'pip<21.0' 'setuptools<45.0'
pip install --cache-dir=/var/cache/pip/ \
git+https://github.com/Voronenko/rpm-s3.git@5695c6ad9a08548141d3713328e1bd3f533d137e
Expand Down
4 changes: 3 additions & 1 deletion policy/centos8/scripts/upload-repo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ pushd $(dirname $0)/..
popd

yum install -y epel-release
yum install -y git python2-pip python-deltarpm
yum install -y git python2-pip python-deltarpm ca-certificates
export REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt

pip install --cache-dir=/var/cache/pip --upgrade 'boto3==1.17.112' 'pip<21.0' 'setuptools<45.0'
pip install --cache-dir=/var/cache/pip/ \
git+https://github.com/Voronenko/rpm-s3.git@5695c6ad9a08548141d3713328e1bd3f533d137e
Expand Down
4 changes: 3 additions & 1 deletion policy/centos9/scripts/upload-repo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ pushd $(dirname $0)/..
popd

yum install -y epel-release
yum install -y git python2-pip python-deltarpm
yum install -y git python2-pip python-deltarpm ca-certificates
export REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt

pip install --cache-dir=/var/cache/pip --upgrade 'boto3==1.17.112' 'pip<21.0' 'setuptools<45.0'
pip install --cache-dir=/var/cache/pip/ \
git+https://github.com/Voronenko/rpm-s3.git@5695c6ad9a08548141d3713328e1bd3f533d137e
Expand Down
4 changes: 3 additions & 1 deletion policy/coreos/scripts/upload-repo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ pushd $(dirname $0)/..
popd

yum install -y epel-release
yum install -y git python2-pip python-deltarpm
yum install -y git python2-pip python-deltarpm ca-certificates
export REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt

pip install --cache-dir=/var/cache/pip --upgrade 'boto3==1.17.112' 'pip<21.0' 'setuptools<45.0'
pip install --cache-dir=/var/cache/pip/ \
git+https://github.com/Voronenko/rpm-s3.git@5695c6ad9a08548141d3713328e1bd3f533d137e
Expand Down
4 changes: 3 additions & 1 deletion policy/microos/scripts/upload-repo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ pushd $(dirname $0)/..
popd

yum install -y epel-release
yum install -y git python2-pip python-deltarpm
yum install -y git python2-pip python-deltarpm ca-certificates
export REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt

pip install --cache-dir=/var/cache/pip --upgrade 'boto3==1.17.112' 'pip<21.0' 'setuptools<45.0'
pip install --cache-dir=/var/cache/pip/ \
git+https://github.com/Voronenko/rpm-s3.git@5695c6ad9a08548141d3713328e1bd3f533d137e
Expand Down
4 changes: 3 additions & 1 deletion policy/slemicro/scripts/upload-repo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ pushd $(dirname $0)/..
popd

yum install -y epel-release
yum install -y git python2-pip python-deltarpm
yum install -y git python2-pip python-deltarpm ca-certificates
export REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt

pip install --cache-dir=/var/cache/pip --upgrade 'boto3==1.17.112' 'pip<21.0' 'setuptools<45.0'
pip install --cache-dir=/var/cache/pip/ \
git+https://github.com/Voronenko/rpm-s3.git@5695c6ad9a08548141d3713328e1bd3f533d137e
Expand Down

0 comments on commit 48b687d

Please sign in to comment.