summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2016-12-20 15:32:52 +0000
committerSam Yaple <sam@yaple.net>2016-12-20 16:41:36 +0000
commitaf7a1da8076f7a253795c2a431b3eeec4cd348d7 (patch)
tree142e6d2891c559540d367c28e7e6d484a40b5d72
parent82ab3258c19d458782a051aa42290ad2ca36e55c (diff)
downloadkolla-af7a1da8076f7a253795c2a431b3eeec4cd348d7.tar.gz
kolla-af7a1da8076f7a253795c2a431b3eeec4cd348d7.zip
Removed percona from ubuntu repos
16.04 provides the percona-xtrabackup scripts in the main repos, so the specific percona repo can be removed. Unfortunately, mariadb10.0 does not build with galera built-in. So until ubuntu packages mariadb10.1, we will be dependant on the external repos for mariadb with galera built in. Labels keys so they are easily identified in the future. In Jinja2 the comments cannot go inline while generating the list. Change-Id: I5e6c2f884c8d59bbc574b71ac731d1b4db18b68c
-rw-r--r--docker/base/Dockerfile.j218
-rw-r--r--docker/base/sources.list.ubuntu3
-rwxr-xr-xtools/setup_gate.sh1
3 files changed, 11 insertions, 11 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2
index d21e9c0ea..fd3c14c94 100644
--- a/docker/base/Dockerfile.j2
+++ b/docker/base/Dockerfile.j2
@@ -61,9 +61,9 @@ COPY {{ repo_file }} /etc/yum.repos.d/{{ repo_file }}
RUN true {% for key in base_yum_repo_keys | customizable('yum_repo_keys') %}&& rpm --import {{ key }} {% endfor %}
{% if install_metatype in ['rdo', 'mixed'] %}
-{% for cmd in rpm_setup %}
+{% for cmd in rpm_setup %}
{{ cmd }}
-{% endfor %}
+{% endfor %}
{% endif %}
{# endif for repo setup for all RHEL except RHEL OSP #}
@@ -218,15 +218,19 @@ COPY apt_preferences.{{ base_distro }} /etc/apt/preferences
%}
{% if base_distro == 'ubuntu' %}
+ {# 05CE15085FC09D18E99EFB22684A14CF2582E0C5 -- InfluxDB Packaging Service <support@influxdb.com> #}
+ {# 177F4010FE56CA3336300305F1656F24C74CD1D8 -- MariaDB Signing Key <signing-key@mariadb.org> #}
+ {# 391A9AA2147192839E9DB0315EDB1B62EC4926EA -- Canonical Cloud Archive Signing Key <ftpmaster@canonical.com> #}
+ {# 418A7F2FB0E1E6E7EABF6FE8C2E73424D59097AB -- packagecloud ops (production key) <ops@packagecloud.io> #}
+ {# 46095ACC8548582C1A2699A9D27D666CD88E42B4 -- Elasticsearch (Elasticsearch Signing Key) <dev_ops@elasticsearch.org> #}
+ {# 58118E89F3A912897C070ADBF76221572C52609D -- Docker Release Tool (releasedocker) <docker@docker.com> #}
{% set base_apt_keys = [
- '0xF1656F24C74CD1D8',
- '0x9334a25f8507efa5',
+ '05CE15085FC09D18E99EFB22684A14CF2582E0C5',
+ '177F4010FE56CA3336300305F1656F24C74CD1D8',
'391A9AA2147192839E9DB0315EDB1B62EC4926EA',
- '430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A',
+ '418A7F2FB0E1E6E7EABF6FE8C2E73424D59097AB',
'46095ACC8548582C1A2699A9D27D666CD88E42B4',
'58118E89F3A912897C070ADBF76221572C52609D',
- '05CE15085FC09D18E99EFB22684A14CF2582E0C5',
- '418A7F2FB0E1E6E7EABF6FE8C2E73424D59097AB',
] %}
{% elif base_distro == 'debian' %}
{% set base_apt_keys = [
diff --git a/docker/base/sources.list.ubuntu b/docker/base/sources.list.ubuntu
index 162ba9941..d5242d833 100644
--- a/docker/base/sources.list.ubuntu
+++ b/docker/base/sources.list.ubuntu
@@ -13,9 +13,6 @@ deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main
# MariaDB 10.0 repo
deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial main
-# Percona repo (for xtrabackup)
-deb http://repo.percona.com/apt xenial main
-
# Elastic repo
deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh
index 595a24956..91472b7ea 100755
--- a/tools/setup_gate.sh
+++ b/tools/setup_gate.sh
@@ -55,7 +55,6 @@ EOF
# Append non-infra provided repos to list
cat << EOF | sudo tee -a /etc/kolla/sources.list
deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial main
-deb http://repo.percona.com/apt xenial main
deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
deb http://packages.elastic.co/kibana/4.6/debian stable main
EOF