some unfinished and untested work over helm mirror
This commit is contained in:
@@ -12,24 +12,34 @@ source /opt/proxy_settings.sh
|
||||
# rpm --import /tmp/gpg_keys/$gpg_key
|
||||
# done
|
||||
|
||||
for cent_release in 6 7 8 9
|
||||
for elastic_release in 5 6 7 8
|
||||
do
|
||||
for mongo_release in 4.2 4.4 5.0 6.0
|
||||
do
|
||||
reposync --delete \
|
||||
--remote-time \
|
||||
--download-metadata \
|
||||
-p /data/ \
|
||||
--repoid mongodb-org-$mongo_release-c$cent_release
|
||||
done
|
||||
reposync --delete \
|
||||
--arch=x86_64 \
|
||||
--remote-time \
|
||||
--download-metadata \
|
||||
-p /data/ \
|
||||
--repoid elasticsearch-$elastic_release.x
|
||||
done
|
||||
|
||||
# for cent_release in 6 7 8 9
|
||||
# do
|
||||
# for mongo_release in 4.2 4.4 5.0 6.0
|
||||
# do
|
||||
# reposync --delete \
|
||||
# --remote-time \
|
||||
# --download-metadata \
|
||||
# -p /data/ \
|
||||
# --repoid mongodb-org-$mongo_release-c$cent_release
|
||||
# done
|
||||
# done
|
||||
|
||||
|
||||
# rpm --import https://rpm.grafana.com/gpg.key
|
||||
reposync --delete \
|
||||
--arch=x86_64 \
|
||||
--remote-time \
|
||||
--download-metadata \
|
||||
-p /data/ \
|
||||
--repoid grafana
|
||||
# reposync --delete \
|
||||
# --arch=x86_64 \
|
||||
# --remote-time \
|
||||
# --download-metadata \
|
||||
# -p /data/ \
|
||||
# --repoid grafana
|
||||
|
||||
|
||||
47
config/rpm/repo_files/elastic.repo
Normal file
47
config/rpm/repo_files/elastic.repo
Normal file
@@ -0,0 +1,47 @@
|
||||
[elasticsearch-5.x]
|
||||
name=Elasticsearch repository for 5.x packages
|
||||
baseurl=https://artifacts.elastic.co/packages/5.x/yum
|
||||
gpgcheck=1
|
||||
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
enabled=1
|
||||
autorefresh=1
|
||||
type=rpm-md
|
||||
#proxy=gw-eu.itsumma.com:1082
|
||||
#proxy_username=itsumma
|
||||
#proxy_password=76Rq5v7yiY3QwvII
|
||||
|
||||
[elasticsearch-6.x]
|
||||
name=Elasticsearch repository for 6.x packages
|
||||
baseurl=https://artifacts.elastic.co/packages/6.x/yum
|
||||
gpgcheck=1
|
||||
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
enabled=1
|
||||
autorefresh=1
|
||||
type=rpm-md
|
||||
#proxy=gw-eu.itsumma.com:1082
|
||||
#proxy_username=itsumma
|
||||
#proxy_password=76Rq5v7yiY3QwvII
|
||||
|
||||
[elasticsearch-7.x]
|
||||
name=Elasticsearch repository for 7.x packages
|
||||
baseurl=https://artifacts.elastic.co/packages/7.x/yum
|
||||
gpgcheck=1
|
||||
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
enabled=0
|
||||
autorefresh=1
|
||||
type=rpm-md
|
||||
#proxy=gw-eu.itsumma.com:1082
|
||||
#proxy_username=itsumma
|
||||
#proxy_password=76Rq5v7yiY3QwvII
|
||||
|
||||
[elasticsearch-8.x]
|
||||
name=Elasticsearch repository for 8.x packages
|
||||
baseurl=https://artifacts.elastic.co/packages/8.x/yum
|
||||
gpgcheck=1
|
||||
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
enabled=0
|
||||
autorefresh=1
|
||||
type=rpm-md
|
||||
#proxy=gw-eu.itsumma.com:1082
|
||||
#proxy_username=itsumma
|
||||
#proxy_password=76Rq5v7yiY3QwvII
|
||||
Reference in New Issue
Block a user