aboutsummaryrefslogtreecommitdiffstats
path: root/screwdriver/publish-unpublished-rpms-to-archive.sh
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahooinc.com>2023-11-08 11:01:06 +0100
committerArnstein Ressem <aressem@yahooinc.com>2023-11-08 11:01:06 +0100
commit7cae1199b2fbaf5f42184611756ba45a36c48dc0 (patch)
tree654a10340976020b92b6a9b59422e39f0dbc4db4 /screwdriver/publish-unpublished-rpms-to-archive.sh
parent6296ebad00191a453e7afb5ec9726e6203f8eaff (diff)
Renamed repo vespa/vespa -> vespa/open-source-rpms
Diffstat (limited to 'screwdriver/publish-unpublished-rpms-to-archive.sh')
-rwxr-xr-xscrewdriver/publish-unpublished-rpms-to-archive.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/screwdriver/publish-unpublished-rpms-to-archive.sh b/screwdriver/publish-unpublished-rpms-to-archive.sh
index 1e4b74b6f78..9804fc5eeec 100755
--- a/screwdriver/publish-unpublished-rpms-to-archive.sh
+++ b/screwdriver/publish-unpublished-rpms-to-archive.sh
@@ -24,10 +24,10 @@ dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/vespa/ve
sed -i "s,\$basearch,$RPMARCH,g" /etc/yum.repos.d/group_vespa-vespa-epel-8.repo
# Cloudsmith repo
-rpm --import 'https://dl.cloudsmith.io/public/vespa/vespa/gpg.0F3DA3C70D35DA7B.key'
-curl -1sLf 'https://dl.cloudsmith.io/public/vespa/vespa/config.rpm.txt?distro=el&codename=8' > /tmp/vespa-vespa.repo
-dnf config-manager --add-repo '/tmp/vespa-vespa.repo'
-rm -f /tmp/vespa-vespa.repo
+rpm --import 'https://dl.cloudsmith.io/public/vespa/open-source-rpms/gpg.0F3DA3C70D35DA7B.key'
+curl -1sLf 'https://dl.cloudsmith.io/public/vespa/open-source-rpms/config.rpm.txt?distro=el&codename=8' > /tmp/vespa-open-source-rpms.repo
+dnf config-manager --add-repo '/tmp/vespa-open-source-rpms.repo'
+rm -f /tmp/vespa-open-source-rpms.repo
readonly COPR_PACKAGES=$(mktemp)
trap "rm -f $COPR_PACKAGES" EXIT
@@ -45,7 +45,7 @@ cat $COPR_PACKAGES
echo
for pv in $(cat $COPR_PACKAGES); do
- if ! $DNF list --disablerepo='*' --enablerepo=vespa-* $pv &> /dev/null; then
+ if ! $DNF list --disablerepo='*' --enablerepo=vespa-open-source-rpms $pv &> /dev/null; then
echo "$pv not found on in archive. Downloading..."
$DNF download --disablerepo='*' --enablerepo=copr:copr.fedorainfracloud.org:group_vespa:vespa $pv
echo "$pv downloaded."