tools/centos-mirror-tools/yum.repos.d/StarlingX-Centos-7.4.repo
Scott Little ae68691bf0 Enable starlingx mirror
StarlingX needs to download a variety of rpms and tarballs
from various upstream sources.  Unfortunately the upstream sources
are not always dependable. Either servers go down, are unreachable,
or drop older content that we still depend on.

Our proposed solution is to run our own mirror to capture an
independent copy of the content needed by StarlingX.
For this purpose, a server has been set up at
http://mirror.starlingx.cengn.ca/mirror/centos

The mirror will use deterministic paths derived from the upstream
urls.  Scripts will be used to convert an upstream url to
the mirror's equivalent url (see function url_to_stx_mirror_url in
url_utils.sh)

The mirror will be refreshed daily.  New .lst entries will be
processed at that time.  Processing of changes under yum.repos.d
is not automated by this update.  Expect a follow-up update to
address this issue soon.  These scripts are found under the
'stx_mirror_scripts' subdirectory.

Changes are made to the download_mirror.sh script, and it's
supporting scripts.  New arguments have been added to each
script to select the download source.
   -s  StarlingX mirror only
   -S  StarlingX mirror, with upstream source as backup
   -u  Upstream source only
   -U  Upstream source, with StarlingX mirror as backup

You do not need to provide any of these flags.  Continue to
us download_mirror.sh as you always have.  The default
behavior is currently set to '-S', i.e. first try the
StarlingX mirror, with upstream source as backup.
If this proves to place to heavy a load on the existing
server, we might switch the default to '-U', i.e. first
try the upstream source, with StarlingX mirror as backup.
If poor download performance is seen, you might want to try
explicitly adding -U as an argument.

The remaining two options are not recommended for regular use.
Upstream only, i.e. '-u', restores original behaviour, but
you may once again encounter rpms that have aged out, and
been removed from their original repos.  StarlingX only,
i.e. '-s', is vulnerable if a .lst file has been updated,
but the mirror has not yet processed it.

Change-Id: I7e0f3d9fb99253662f9f4bf12457d39250408c0b
Story: 2003906
Task: 26785
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-11-02 13:33:00 -04:00

138 lines
4.0 KiB
Plaintext

####
# Centos 7.4.1708
#
[Starlingx-C7.4.1708-cloud-newton]
name=Starlingx-CentOS-7.4.1708 - Cloud-newton
baseurl=http://vault.centos.org/7.4.1708/cloud/x86_64/openstack-newton/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[Starlingx-C7.4.1708-cloud-newton-source]
name=Starlingx-CentOS-7.4.1708 - Cloud-newton-source
baseurl=http://vault.centos.org/7.4.1708/cloud/Source/openstack-newton/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-cloud-pike]
name=Starlingx-CentOS-7.4.1708 - Cloud-pike
baseurl=http://vault.centos.org/7.4.1708/cloud/x86_64/openstack-pike/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[Starlingx-C7.4.1708-cloud-pike-source]
name=Starlingx-CentOS-7.4.1708 - Cloud-pike-source
baseurl=http://vault.centos.org/7.4.1708/cloud/Source/openstack-pike/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-cloud-queens-source]
name=Starlingx-CentOS-7.4.1708 - Cloud-queens-source
baseurl=http://vault.centos.org/7.4.1708/cloud/Source/openstack-queens/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-extras]
name=Starlingx-CentOS-7.4.1708 - extras
baseurl=http://vault.centos.org/7.4.1708/extras/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[Starlingx-C7.4.1708-extras-source]
name=Starlingx-CentOS-7.4.1708 - extras-source
baseurl=http://vault.centos.org/7.4.1708/extras/Source/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-os]
name=Starlingx-CentOS-7.4.1708 - os
baseurl=http://vault.centos.org/7.4.1708/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[Starlingx-C7.4.1708-os-source]
name=Starlingx-CentOS-7.4.1708 - os-source
baseurl=http://vault.centos.org/7.4.1708/os/Source/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-rt]
name=Starlingx-CentOS-7.4.1708 - rt
baseurl=http://vault.centos.org/7.4.1708/rt/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[Starlingx-C7.4.1708-rt-source]
name=Starlingx-CentOS-7.4.1708 - rt-source
baseurl=http://vault.centos.org/7.4.1708/rt/Source/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-updates]
name=Starlingx-CentOS-7.4.1708 - updates
baseurl=http://vault.centos.org/7.4.1708/updates/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[Starlingx-C7.4.1708-updates-source]
name=Starlingx-CentOS-7.4.1708 - updates-source
baseurl=http://vault.centos.org/7.4.1708/updates/Source/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-virt-kvm]
name=Starlingx-CentOS-7.4.1708 - virt-kvm
baseurl=http://vault.centos.org/7.4.1708/virt/x86_64/kvm-common
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[Starlingx-C7.4.1708-virt-kvm-source]
name=Starlingx-CentOS-7.4.1708 - virt-kvm-source
baseurl=http://vault.centos.org/7.4.1708/virt/Source/kvm-common
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-virt-libvirt]
name=Starlingx-CentOS-7.4.1708 - virt-libvirt
baseurl=http://vault.centos.org/7.4.1708/virt/x86_64/libvirt-latest
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[Starlingx-C7.4.1708-virt-libvirt-source]
name=Starlingx-CentOS-7.4.1708 - virt-libvirt-source
baseurl=http://vault.centos.org/7.4.1708/virt/Source/libvirt-latest
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-cr]
name=Starlingx-CentOS-7.4.1708 - cr
baseurl=http://vault.centos.org/centos/7.4.1708/cr/x86_64
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[Starlingx-C7.4.1708-cr-source]
name=Starlingx-CentOS-7.4.1708 - cr-source
baseurl=http://vault.centos.org/centos/7.4.1708/cr/Source
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1